Home
last modified time | relevance | path

Searched refs:dentry (Results 1 – 25 of 1472) sorted by relevance

12345678910>>...59

/linux/include/linux/
A Ddcache.h230 extern void __d_drop(struct dentry *dentry);
231 extern void d_drop(struct dentry *dentry);
242 extern bool d_same_name(const struct dentry *dentry, const struct dentry *parent,
276 extern struct dentry *d_ancestor(struct dentry *, struct dentry *);
286 ino_t d_parent_ino(struct dentry *dentry);
312 static inline struct dentry *dget_dlock(struct dentry *dentry) in dget_dlock() argument
337 static inline struct dentry *dget(struct dentry *dentry) in dget() argument
344 extern struct dentry *dget_parent(struct dentry *dentry);
569 static inline struct dentry *d_real(struct dentry *dentry, enum d_real_type type) in d_real() argument
597 static inline struct dentry *d_first_child(const struct dentry *dentry) in d_first_child() argument
[all …]
A Ddebugfs.h72 struct dentry *debugfs_lookup(const char *name, struct dentry *parent);
86 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
96 void debugfs_remove(struct dentry *dentry);
103 int debugfs_file_get(struct dentry *dentry);
104 void debugfs_file_put(struct dentry *dentry);
113 struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry,
250 static inline void debugfs_remove(struct dentry *dentry)
253 static inline void debugfs_remove_recursive(struct dentry *dentry)
262 static inline int debugfs_file_get(struct dentry *dentry)
267 static inline void debugfs_file_put(struct dentry *dentry)
[all …]
A Dnamei.h56 struct dentry *base,
71 extern struct dentry *try_lookup_one_len(const char *, struct dentry *, int);
72 extern struct dentry *lookup_one_len(const char *, struct dentry *, int);
73 extern struct dentry *lookup_one_len_unlocked(const char *, struct dentry *, int);
74 extern struct dentry *lookup_positive_unlocked(const char *, struct dentry *, int);
75 struct dentry *lookup_one(struct mnt_idmap *, const char *, struct dentry *, int);
77 const char *name, struct dentry *base,
81 struct dentry *base, int len);
87 extern struct dentry *lock_rename(struct dentry *, struct dentry *);
88 extern struct dentry *lock_rename_child(struct dentry *, struct dentry *);
[all …]
A Dfsnotify.h58 static inline void fsnotify_dirent(struct inode *dir, struct dentry *dentry, in fsnotify_dirent() argument
61 fsnotify_name(mask, dentry, FSNOTIFY_EVENT_DENTRY, dir, &dentry->d_name, 0); in fsnotify_dirent()
76 static inline int fsnotify_parent(struct dentry *dentry, __u32 mask, in fsnotify_parent() argument
93 if (IS_ROOT(dentry)) in fsnotify_parent()
106 static inline void fsnotify_dentry(struct dentry *dentry, __u32 mask) in fsnotify_dentry() argument
108 fsnotify_parent(dentry, mask, dentry, FSNOTIFY_EVENT_DENTRY); in fsnotify_dentry()
307 struct dentry *dentry) in fsnotify_delete() argument
330 d_delete(dentry); in d_delete_notify()
345 fsnotify_delete(dir, d_inode(dentry), dentry); in fsnotify_unlink()
372 fsnotify_delete(dir, d_inode(dentry), dentry); in fsnotify_rmdir()
[all …]
/linux/fs/
A Ddcache.c893 struct dentry *dget_parent(struct dentry *dentry) in dget_parent() argument
1042 struct dentry *dentry; in d_prune_aliases() local
1071 struct dentry *dentry; in shrink_dentry_list() local
1561 struct dentry *dentry; in shrink_dcache_for_umount() local
1632 struct dentry *dentry; in __d_alloc() local
2128 struct dentry *dentry; in __d_lookup_rcu_op_compare() local
2192 struct dentry *dentry; in __d_lookup_rcu() local
2265 struct dentry *dentry; in d_lookup() local
2299 struct dentry *dentry; in __d_lookup() local
3092 struct dentry *dentry = file->f_path.dentry; in d_mark_tmpfile() local
[all …]
A Dnamei.c885 struct dentry *dentry = nd->path.dentry; in complete_walk() local
1373 struct dentry *dentry = path->dentry; in follow_automount() local
1510 struct dentry *dentry = path->dentry; in __follow_mount_rcu() local
1559 path->dentry = dentry; in handle_mounts()
1566 path->dentry = dentry; in handle_mounts()
1658 struct dentry *dentry, *parent = nd->path.dentry; in lookup_fast() local
2038 struct dentry *dentry; in walk_component() local
2840 struct dentry *dentry; in lookup_one_len() local
2870 struct dentry *dentry; in lookup_one() local
3331 struct dentry *dentry = path->dentry; in may_open() local
[all …]
A Dlibfs.c147 struct dentry *dentry = file->f_path.dentry; in dcache_dir_lseek() local
191 struct dentry *dentry = file->f_path.dentry; in dcache_readdir() local
525 struct dentry *dentry; in offset_iterate_dir() local
614 struct dentry *this = dget(dentry); in simple_recursive_removal()
751 int simple_empty(struct dentry *dentry) in simple_empty() argument
1010 struct dentry *dentry; in simple_fill_super() local
2129 struct dentry *dentry; in get_stashed_dentry() local
2144 struct dentry *dentry; in prepare_anon_dentry() local
2184 struct dentry *dentry) in stash_dentry() argument
2225 struct dentry *dentry; in path_from_stashed() local
[all …]
/linux/fs/overlayfs/
A Doverlayfs.h216 struct dentry *dentry) in ovl_do_unlink() argument
430 struct dentry *ovl_workdir(struct dentry *dentry);
450 void ovl_dentry_init_reval(struct dentry *dentry, struct dentry *upperdentry,
462 struct dentry *ovl_dentry_upper(struct dentry *dentry);
463 struct dentry *ovl_dentry_lower(struct dentry *dentry);
464 struct dentry *ovl_dentry_lowerdata(struct dentry *dentry);
468 struct dentry *ovl_dentry_real(struct dentry *dentry);
535 int ovl_set_impure(struct dentry *dentry, struct dentry *upperdentry);
699 struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry,
838 struct dentry *dentry);
[all …]
A Dutil.c28 void ovl_start_write(struct dentry *dentry) in ovl_start_write() argument
34 int ovl_want_write(struct dentry *dentry) in ovl_want_write() argument
46 void ovl_end_write(struct dentry *dentry) in ovl_end_write() argument
58 struct dentry *ovl_workdir(struct dentry *dentry) in ovl_workdir() argument
246 path->dentry = lowerpath->dentry; in ovl_path_lower()
298 struct dentry *ovl_dentry_upper(struct dentry *dentry) in ovl_dentry_upper() argument
303 struct dentry *ovl_dentry_lower(struct dentry *dentry) in ovl_dentry_lower() argument
323 struct dentry *ovl_dentry_lowerdata(struct dentry *dentry) in ovl_dentry_lowerdata() argument
351 struct dentry *ovl_dentry_real(struct dentry *dentry) in ovl_dentry_real() argument
367 path->dentry = lowerpath->dentry; in ovl_i_path_real()
[all …]
A Ddir.c111 struct dentry *dentry) in ovl_cleanup_and_whiteout() argument
145 struct dentry *d, *dentry = *newdentry; in ovl_mkdir_real() local
235 static int ovl_set_opaque_xerr(struct dentry *dentry, struct dentry *upper, in ovl_set_opaque_xerr() argument
248 static int ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) in ovl_set_opaque() argument
362 static struct dentry *ovl_clear_empty(struct dentry *dentry, in ovl_clear_empty() argument
366 struct dentry *workdir = ovl_workdir(dentry); in ovl_clear_empty()
450 struct dentry *workdir = ovl_workdir(dentry); in ovl_create_over_whiteout()
585 struct dentry *parent = dentry->d_parent; in ovl_create_or_link()
677 struct dentry *dentry, umode_t mode) in ovl_mkdir() argument
749 static bool ovl_matches_upper(struct dentry *dentry, struct dentry *upper) in ovl_matches_upper() argument
[all …]
A Dexport.c19 static int ovl_encode_maybe_copy_up(struct dentry *dentry) in ovl_encode_maybe_copy_up() argument
77 if (dentry == dentry->d_sb->s_root) in ovl_connectable_layer()
100 static int ovl_connect_layer(struct dentry *dentry) in ovl_connect_layer() argument
107 if (WARN_ON(dentry == dentry->d_sb->s_root) || in ovl_connect_layer()
200 if (dentry == dentry->d_sb->s_root) in ovl_check_encode_origin()
263 struct dentry *dentry; in ovl_encode_fh() local
330 static struct dentry *ovl_dentry_real_at(struct dentry *dentry, int idx) in ovl_dentry_real_at() argument
672 struct dentry *dentry; in ovl_upper_fh_to_d() local
694 struct dentry *dentry = NULL; in ovl_lower_fh_to_d() local
794 struct dentry *dentry = NULL; in ovl_fh_to_dentry() local
[all …]
A Dcopy_up.c48 struct dentry *dentry, const char *acl_name) in ovl_copy_acl() argument
78 struct dentry *old = oldpath->dentry; in ovl_copy_xattr()
528 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_create_index()
581 struct dentry *dentry; member
942 struct dentry *origin = c->lowerpath.dentry; in ovl_do_copy_up()
1137 static int ovl_copy_up_one(struct dentry *parent, struct dentry *dentry, in ovl_copy_up_one() argument
1145 .dentry = dentry, in ovl_copy_up_one()
1215 static int ovl_copy_up_flags(struct dentry *dentry, int flags) in ovl_copy_up_flags() argument
1283 int ovl_maybe_copy_up(struct dentry *dentry, int flags) in ovl_maybe_copy_up() argument
1291 int ovl_copy_up_with_data(struct dentry *dentry) in ovl_copy_up_with_data() argument
[all …]
/linux/drivers/net/wireless/ti/wl1251/
A Dwl1251.h146 struct dentry *rootdir;
153 struct dentry *rx_hw_stuck;
154 struct dentry *rx_dropped;
155 struct dentry *rx_fcs_err;
166 struct dentry *isr_fiqs;
169 struct dentry *isr_rx_rdys;
170 struct dentry *isr_irqs;
180 struct dentry *isr_pci_pm;
181 struct dentry *isr_wakeups;
189 struct dentry *wep_packets;
[all …]
/linux/fs/debugfs/
A Dinode.c46 struct dentry *dentry, struct iattr *ia) in debugfs_setattr() argument
328 struct dentry *dentry; in debugfs_lookup() local
345 struct dentry *dentry; in start_creating() local
398 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating() argument
406 static struct dentry *end_creating(struct dentry *dentry) in end_creating() argument
417 struct dentry *dentry; in __debugfs_create_file() local
708 struct dentry *dentry; in debugfs_create_symlink() local
839 struct dentry *dentry; in debugfs_lookup_and_remove() local
873 struct dentry *dentry = NULL, *trap; in debugfs_rename() local
893 if (IS_ERR(dentry) || dentry == trap || d_really_is_positive(dentry)) in debugfs_rename()
[all …]
/linux/fs/autofs/
A Droot.c80 struct dentry *dentry = file->f_path.dentry; in autofs_dir_open() local
131 static struct dentry *autofs_lookup_active(struct dentry *dentry) in autofs_lookup_active() argument
134 struct dentry *parent = dentry->d_parent; in autofs_lookup_active()
185 static struct dentry *autofs_lookup_expiring(struct dentry *dentry, in autofs_lookup_expiring() argument
189 struct dentry *parent = dentry->d_parent; in autofs_lookup_expiring()
267 struct dentry *dentry = path->dentry; in do_expire_wait() local
291 struct dentry *dentry = path->dentry; in autofs_mountpoint_changed() local
316 struct dentry *parent = dentry->d_parent; in autofs_mountpoint_changed()
333 struct dentry *dentry = path->dentry; in autofs_d_automount() local
421 struct dentry *dentry = path->dentry; in autofs_d_manage() local
[all …]
A Dexpire.c11 static inline int autofs_can_expire(struct dentry *dentry, in autofs_can_expire() argument
30 struct dentry *dentry, unsigned int how) in autofs_mount_busy() argument
32 struct dentry *top = dentry; in autofs_mount_busy()
33 struct path path = {.mnt = mnt, .dentry = dentry}; in autofs_mount_busy()
36 pr_debug("dentry %p %pd\n", dentry, dentry); in autofs_mount_busy()
74 static struct dentry *positive_after(struct dentry *p, struct dentry *child) in positive_after()
318 static struct dentry *should_expire(struct dentry *dentry, in should_expire() argument
424 struct dentry *dentry; in autofs_expire_indirect() local
491 struct dentry *dentry = path->dentry; in autofs_expire_wait() local
543 struct dentry *dentry; in autofs_expire_run() local
[all …]
/linux/fs/ocfs2/
A Ddcache.c26 void ocfs2_dentry_attach_gen(struct dentry *dentry) in ocfs2_dentry_attach_gen() argument
47 trace_ocfs2_dentry_revalidate(dentry, dentry->d_name.len, in ocfs2_dentry_revalidate()
112 static int ocfs2_match_dentry(struct dentry *dentry, in ocfs2_match_dentry() argument
149 struct dentry *dentry; in ocfs2_find_local_alias() local
161 return dentry; in ocfs2_find_local_alias()
203 int ocfs2_dentry_attach_lock(struct dentry *dentry, in ocfs2_dentry_attach_lock() argument
223 if (d_really_is_negative(dentry) && dentry->d_fsdata) { in ocfs2_dentry_attach_lock()
232 dentry, in ocfs2_dentry_attach_lock()
258 dentry, in ocfs2_dentry_attach_lock()
399 ino, dentry->d_flags, dentry); in ocfs2_dentry_iput()
[all …]
/linux/fs/exportfs/
A Dexpfs.c44 int (*acceptable)(void *context, struct dentry *dentry), in find_acceptable_alias() argument
47 struct dentry *dentry, *toput = NULL; in find_acceptable_alias() local
60 if (dentry != result && acceptable(context, dentry)) { in find_acceptable_alias()
74 static bool dentry_connected(struct dentry *dentry) in dentry_connected() argument
76 dget(dentry); in dentry_connected()
78 struct dentry *parent = dget_parent(dentry); in dentry_connected()
87 dput(dentry); in dentry_connected()
91 static void clear_disconnected(struct dentry *dentry) in clear_disconnected() argument
95 struct dentry *parent = dget_parent(dentry); in clear_disconnected()
122 struct dentry *dentry, char *nbuf) in reconnect_one() argument
[all …]
/linux/fs/ecryptfs/
A Dinode.c27 static int lock_parent(struct dentry *dentry, in lock_parent() argument
126 struct dentry *dentry, struct super_block *sb) in ecryptfs_interpose() argument
327 static struct dentry *ecryptfs_lookup_interpose(struct dentry *dentry, in ecryptfs_lookup_interpose() argument
468 struct inode *dir, struct dentry *dentry, in ecryptfs_symlink() argument
507 struct dentry *dentry, umode_t mode) in ecryptfs_mkdir() argument
898 struct dentry *dentry, struct iattr *ia) in ecryptfs_setattr() argument
989 struct dentry *dentry = path->dentry; in ecryptfs_getattr_link() local
1023 struct dentry *dentry = path->dentry; in ecryptfs_getattr() local
1133 struct dentry *dentry, struct fileattr *fa) in ecryptfs_fileattr_set() argument
1145 struct dentry *dentry, int type) in ecryptfs_get_acl() argument
[all …]
/linux/fs/reiserfs/
A Dxattr.c199 struct dentry *dentry; in fill_with_dentries() local
276 struct dentry *dentry = buf.dentries[i]; in reiserfs_for_each_xattr() local
482 struct dentry *dentry, *xadir; in lookup_and_delete_xattr() local
519 struct dentry *dentry; in reiserfs_xattr_set_handle() local
655 struct dentry *dentry; in reiserfs_xattr_get() local
776 struct dentry *dentry) in reiserfs_posix_acl_list() argument
810 struct dentry *dentry; member
853 .dentry = dentry, in reiserfs_listxattr()
884 static int create_privroot(struct dentry *dentry) in create_privroot() argument
972 struct dentry *dentry; in reiserfs_lookup_privroot() local
[all …]
/linux/fs/ceph/
A Ddir.c48 di->dentry = dentry; in ceph_d_init()
136 struct dentry *dentry; in __dcache_find_get_entry() local
268 dentry, dentry, d_inode(dentry)); in __dcache_readdir()
345 struct dentry *dentry = file->f_path.dentry; in ceph_readdir() local
723 struct dentry *dentry) in ceph_handle_snapdir() argument
807 dentry, dentry); in ceph_lookup()
1180 struct dentry *dentry) in ceph_link() argument
1248 dentry, dentry); in ceph_async_unlink_cb()
1644 dentry = di->dentry; in __dentry_leases_walk()
1691 dentry = di->dentry; in __dentry_leases_walk()
[all …]
/linux/security/integrity/evm/
A Devm_main.c131 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs() argument
154 static int is_unsupported_hmac_fs(struct dentry *dentry) in is_unsupported_hmac_fs() argument
358 rc = __vfs_getxattr(dentry, d_backing_inode(dentry), in evm_read_protected_xattrs()
462 struct dentry *dentry, const char *xattr_name, in evm_xattr_change() argument
498 struct dentry *dentry, const char *xattr_name, in evm_protect_xattr() argument
540 dentry->d_inode, dentry->d_name.name, in evm_protect_xattr()
633 struct dentry *dentry, const char *name, in evm_inode_set_acl_change() argument
652 struct dentry *dentry, in evm_inode_set_acl_change() argument
879 struct dentry *dentry, in evm_inode_post_remove_acl() argument
886 struct dentry *dentry, struct iattr *attr) in evm_attr_change() argument
[all …]
/linux/fs/tracefs/
A Dinode.c97 static char *get_dname(struct dentry *dentry) in get_dname() argument
113 struct inode *inode, struct dentry *dentry, in tracefs_syscall_mkdir() argument
454 static void tracefs_d_release(struct dentry *dentry) in tracefs_d_release() argument
535 struct dentry *dentry; in tracefs_start_creating() local
558 if (!IS_ERR(dentry) && d_inode(dentry)) { in tracefs_start_creating()
571 struct dentry *tracefs_failed_creating(struct dentry *dentry) in tracefs_failed_creating() argument
579 struct dentry *tracefs_end_creating(struct dentry *dentry) in tracefs_end_creating() argument
636 struct dentry *dentry; in tracefs_create_file() local
696 fsnotify_mkdir(d_inode(dentry->d_parent), dentry); in __create_dir()
747 struct dentry *dentry; in tracefs_create_instance_dir() local
[all …]
/linux/fs/9p/
A Dfid.c21 static inline void __add_fid(struct dentry *dentry, struct p9_fid *fid) in __add_fid() argument
33 void v9fs_fid_add(struct dentry *dentry, struct p9_fid **pfid) in v9fs_fid_add() argument
38 __add_fid(dentry, fid); in v9fs_fid_add()
118 dentry, dentry, from_kuid(&init_user_ns, uid), in v9fs_fid_find()
147 struct dentry *dentry, const unsigned char ***names) in build_path_from_dentry() argument
151 struct dentry *ds; in build_path_from_dentry()
169 static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry, in v9fs_fid_lookup_with_uid() argument
172 struct dentry *ds; in v9fs_fid_lookup_with_uid()
189 ds = dentry->d_parent; in v9fs_fid_lookup_with_uid()
222 if (dentry->d_sb->s_root == dentry) in v9fs_fid_lookup_with_uid()
[all …]
/linux/arch/s390/hypfs/
A Dinode.c61 static void hypfs_add_dentry(struct dentry *dentry) in hypfs_add_dentry() argument
67 static void hypfs_remove(struct dentry *dentry) in hypfs_remove() argument
340 struct dentry *dentry; in hypfs_create_file() local
377 struct dentry *dentry; in hypfs_mkdir() local
388 struct dentry *dentry; in hypfs_create_update_file() local
400 struct dentry *hypfs_create_u64(struct dentry *dir, in hypfs_create_u64()
405 struct dentry *dentry; in hypfs_create_u64() local
411 dentry = in hypfs_create_u64()
421 struct dentry *hypfs_create_str(struct dentry *dir, in hypfs_create_str()
425 struct dentry *dentry; in hypfs_create_str() local
[all …]

Completed in 731 milliseconds

12345678910>>...59