Home
last modified time | relevance | path

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

12345678910>>...47

/linux/include/linux/
A Ddcache.h234 extern void __d_drop(struct dentry *dentry);
235 extern void d_drop(struct dentry *dentry);
281 extern struct dentry *d_ancestor(struct dentry *, struct dentry *);
317 static inline struct dentry *dget_dlock(struct dentry *dentry) in dget_dlock() argument
324 static inline struct dentry *dget(struct dentry *dentry) in dget() argument
331 extern struct dentry *dget_parent(struct dentry *dentry);
347 return d_unhashed(dentry) && !IS_ROOT(dentry); in d_unlinked()
440 return d_is_reg(dentry) || d_is_special(dentry); in d_is_file()
502 extern void d_set_fallthru(struct dentry *dentry);
583 static inline struct dentry *d_real(struct dentry *dentry, in d_real() argument
[all …]
A Ddebugfs.h67 struct dentry *debugfs_lookup(const char *name, struct dentry *parent);
81 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
91 void debugfs_remove(struct dentry *dentry);
96 int debugfs_file_get(struct dentry *dentry);
97 void debugfs_file_put(struct dentry *dentry);
104 struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry,
222 static inline void debugfs_remove(struct dentry *dentry)
225 static inline void debugfs_remove_recursive(struct dentry *dentry)
230 static inline int debugfs_file_get(struct dentry *dentry)
235 static inline void debugfs_file_put(struct dentry *dentry)
[all …]
A Devm.h19 extern enum integrity_status evm_verifyxattr(struct dentry *dentry,
24 extern int evm_inode_setattr(struct dentry *dentry, struct iattr *attr);
25 extern void evm_inode_post_setattr(struct dentry *dentry, int ia_valid);
27 struct dentry *dentry, const char *name,
29 extern void evm_inode_post_setxattr(struct dentry *dentry,
34 struct dentry *dentry, const char *xattr_name);
35 extern void evm_inode_post_removexattr(struct dentry *dentry,
82 struct dentry *dentry, const char *name, in evm_inode_setxattr() argument
88 static inline void evm_inode_post_setxattr(struct dentry *dentry, in evm_inode_post_setxattr() argument
97 struct dentry *dentry, in evm_inode_removexattr() argument
[all …]
/linux/fs/
A Ddcache.c600 static struct dentry *__lock_parent(struct dentry *dentry) in __lock_parent() argument
686 static struct dentry *dentry_kill(struct dentry *dentry) in dentry_kill() argument
931 struct dentry *dget_parent(struct dentry *dentry) in dget_parent() argument
1079 struct dentry *dentry; in d_prune_aliases() local
1668 struct dentry *dentry; in shrink_dcache_for_umount() local
1740 struct dentry *dentry; in __d_alloc() local
2276 struct dentry *dentry; in __d_lookup_rcu() local
2365 struct dentry *dentry; in d_lookup() local
2399 struct dentry *dentry; in __d_lookup() local
2576 struct dentry *dentry; in d_alloc_parallel() local
[all …]
A Dnamei.c871 struct dentry *dentry = nd->path.dentry; in complete_walk() local
1290 struct dentry *dentry = path->dentry; in follow_automount() local
1428 struct dentry *dentry = path->dentry; in __follow_mount_rcu() local
1481 path->dentry = dentry; in handle_mounts()
1492 path->dentry = dentry; in handle_mounts()
1570 struct dentry *dentry, *parent = nd->path.dentry; in lookup_fast() local
1953 struct dentry *dentry; in walk_component() local
2675 struct dentry *dentry; in lookup_one_len() local
2705 struct dentry *dentry; in lookup_one() local
3018 struct dentry *dentry = path->dentry; in may_open() local
[all …]
/linux/fs/overlayfs/
A Doverlayfs.h281 struct dentry *ovl_workdir(struct dentry *dentry);
297 struct dentry *ovl_dentry_upper(struct dentry *dentry);
298 struct dentry *ovl_dentry_lower(struct dentry *dentry);
299 struct dentry *ovl_dentry_lowerdata(struct dentry *dentry);
301 struct dentry *ovl_dentry_real(struct dentry *dentry);
339 int ovl_set_impure(struct dentry *dentry, struct dentry *upperdentry);
369 struct dentry *dentry) in ovl_is_impuredir() argument
443 struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry,
469 struct dentry *dentry, int level);
563 struct dentry *dentry);
[all …]
A Dutil.c19 int ovl_want_write(struct dentry *dentry) in ovl_want_write() argument
25 void ovl_drop_write(struct dentry *dentry) in ovl_drop_write() argument
31 struct dentry *ovl_workdir(struct dentry *dentry) in ovl_workdir() argument
103 void ovl_dentry_update_reval(struct dentry *dentry, struct dentry *upperdentry, in ovl_dentry_update_reval() argument
158 path->dentry = ovl_dentry_upper(dentry); in ovl_path_upper()
167 path->dentry = oe->lowerstack[0].dentry; in ovl_path_lower()
197 struct dentry *ovl_dentry_upper(struct dentry *dentry) in ovl_dentry_upper() argument
202 struct dentry *ovl_dentry_lower(struct dentry *dentry) in ovl_dentry_lower() argument
222 struct dentry *ovl_dentry_lowerdata(struct dentry *dentry) in ovl_dentry_lowerdata() argument
229 struct dentry *ovl_dentry_real(struct dentry *dentry) in ovl_dentry_real() argument
[all …]
A Dexport.c19 static int ovl_encode_maybe_copy_up(struct dentry *dentry) in ovl_encode_maybe_copy_up() argument
82 if (dentry == dentry->d_sb->s_root) in ovl_connectable_layer()
105 static int ovl_connect_layer(struct dentry *dentry) in ovl_connect_layer() argument
111 if (WARN_ON(dentry == dentry->d_sb->s_root) || in ovl_connect_layer()
254 struct dentry *dentry; in ovl_encode_fh() local
287 struct dentry *dentry; in ovl_obtain_alias() local
343 static struct dentry *ovl_dentry_real_at(struct dentry *dentry, int idx) in ovl_dentry_real_at() argument
679 struct dentry *dentry; in ovl_upper_fh_to_d() local
701 struct dentry *dentry = NULL; in ovl_lower_fh_to_d() local
801 struct dentry *dentry = NULL; in ovl_fh_to_dentry() local
[all …]
A Ddir.c45 struct dentry *ovl_lookup_temp(struct dentry *workdir) in ovl_lookup_temp()
110 struct dentry *dentry) in ovl_cleanup_and_whiteout() argument
143 struct dentry *d, *dentry = *newdentry; in ovl_mkdir_real() local
232 static int ovl_set_opaque_xerr(struct dentry *dentry, struct dentry *upper, in ovl_set_opaque_xerr() argument
245 static int ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) in ovl_set_opaque() argument
361 static struct dentry *ovl_clear_empty(struct dentry *dentry, in ovl_clear_empty() argument
364 struct dentry *workdir = ovl_workdir(dentry); in ovl_clear_empty()
463 struct dentry *workdir = ovl_workdir(dentry); in ovl_create_over_whiteout()
574 struct dentry *parent = dentry->d_parent; in ovl_create_or_link()
664 struct dentry *dentry, umode_t mode) in ovl_mkdir() argument
[all …]
A Dcopy_up.c437 static int ovl_create_index(struct dentry *dentry, struct dentry *origin, in ovl_create_index() argument
441 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_create_index()
494 struct dentry *dentry; member
571 err = ovl_copy_xattr(c->dentry->d_sb, c->lowerpath.dentry, temp); in ovl_copy_up_inode()
682 err = ovl_create_index(c->dentry, c->lowerpath.dentry, temp); in ovl_copy_up_workdir()
932 static int ovl_copy_up_one(struct dentry *parent, struct dentry *dentry, in ovl_copy_up_one() argument
940 .dentry = dentry, in ovl_copy_up_one()
996 static int ovl_copy_up_flags(struct dentry *dentry, int flags) in ovl_copy_up_flags() argument
1055 int ovl_maybe_copy_up(struct dentry *dentry, int flags) in ovl_maybe_copy_up() argument
1070 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
302 struct dentry *dentry; in debugfs_lookup() local
319 struct dentry *dentry; in start_creating() local
372 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating() argument
380 static struct dentry *end_creating(struct dentry *dentry) in end_creating() argument
391 struct dentry *dentry; in __debugfs_create_file() local
661 struct dentry *dentry; in debugfs_create_symlink() local
726 void debugfs_remove(struct dentry *dentry) in debugfs_remove() argument
760 struct dentry *dentry = NULL, *trap; in debugfs_rename() local
780 if (IS_ERR(dentry) || dentry == trap || d_really_is_positive(dentry)) in debugfs_rename()
[all …]
/linux/fs/autofs/
A Droot.c78 struct dentry *dentry = file->f_path.dentry; in autofs_dir_open() local
128 static struct dentry *autofs_lookup_active(struct dentry *dentry) in autofs_lookup_active() argument
131 struct dentry *parent = dentry->d_parent; in autofs_lookup_active()
182 static struct dentry *autofs_lookup_expiring(struct dentry *dentry, in autofs_lookup_expiring() argument
186 struct dentry *parent = dentry->d_parent; in autofs_lookup_expiring()
264 struct dentry *dentry = path->dentry; in do_expire_wait() local
288 struct dentry *dentry = path->dentry; in autofs_mountpoint_changed() local
296 struct dentry *parent = dentry->d_parent; in autofs_mountpoint_changed()
313 struct dentry *dentry = path->dentry; in autofs_d_automount() local
401 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()
321 static struct dentry *should_expire(struct dentry *dentry, in should_expire() argument
427 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
156 struct dentry *dentry; in ocfs2_find_local_alias() local
168 return dentry; in ocfs2_find_local_alias()
210 int ocfs2_dentry_attach_lock(struct dentry *dentry, in ocfs2_dentry_attach_lock() argument
230 if (d_really_is_negative(dentry) && dentry->d_fsdata) { in ocfs2_dentry_attach_lock()
239 dentry, in ocfs2_dentry_attach_lock()
265 dentry, in ocfs2_dentry_attach_lock()
406 ino, dentry->d_flags, dentry); in ocfs2_dentry_iput()
[all …]
/linux/fs/tracefs/
A Dinode.c55 static char *get_dname(struct dentry *dentry) in get_dname() argument
71 struct inode *inode, struct dentry *dentry, in tracefs_syscall_mkdir() argument
192 struct dentry *dentry = list_entry(tmp, struct dentry, d_child); in set_gid() local
388 struct dentry *dentry; in start_creating() local
411 if (!IS_ERR(dentry) && dentry->d_inode) { in start_creating()
424 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating() argument
432 static struct dentry *end_creating(struct dentry *dentry) in end_creating() argument
468 struct dentry *dentry; in tracefs_create_file() local
520 fsnotify_mkdir(dentry->d_parent->d_inode, dentry); in __create_dir()
568 struct dentry *dentry; in tracefs_create_instance_dir() local
[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.c25 static int lock_parent(struct dentry *dentry, in lock_parent() argument
116 struct dentry *dentry, struct super_block *sb) in ecryptfs_interpose() argument
317 static struct dentry *ecryptfs_lookup_interpose(struct dentry *dentry, in ecryptfs_lookup_interpose() argument
458 struct inode *dir, struct dentry *dentry, in ecryptfs_symlink() argument
497 struct dentry *dentry, umode_t mode) in ecryptfs_mkdir() argument
886 struct dentry *dentry, struct iattr *ia) in ecryptfs_setattr() argument
977 struct dentry *dentry = path->dentry; in ecryptfs_getattr_link() local
1003 struct dentry *dentry = path->dentry; in ecryptfs_getattr() local
1112 struct dentry *dentry, struct fileattr *fa) in ecryptfs_fileattr_set() argument
1158 struct dentry *dentry, struct inode *inode, in ecryptfs_xattr_get() argument
[all …]
/linux/fs/ceph/
A Ddir.c47 di->dentry = dentry; in ceph_d_init()
132 struct dentry *dentry; in __dcache_find_get_entry() local
258 dentry, dentry, d_inode(dentry)); in __dcache_readdir()
331 struct dentry *dentry = file->f_path.dentry; in ceph_readdir() local
671 struct dentry *dentry) in ceph_handle_snapdir() argument
710 dentry, d_inode(dentry)); in ceph_finish_lookup()
749 dir, dentry, dentry); in ceph_lookup()
969 dentry, dentry); in ceph_mkdir()
1025 struct dentry *dentry) in ceph_link() argument
1387 dentry = di->dentry; in __dentry_leases_walk()
[all …]
/linux/fs/reiserfs/
A Dxattr.c198 struct dentry *dentry; in fill_with_dentries() local
219 dput(dentry); in fill_with_dentries()
275 struct dentry *dentry = buf.dentries[i]; in reiserfs_for_each_xattr() local
487 struct dentry *dentry, *xadir; in lookup_and_delete_xattr() local
524 struct dentry *dentry; in reiserfs_xattr_set_handle() local
660 struct dentry *dentry; in reiserfs_xattr_get() local
804 struct dentry *dentry; member
851 .dentry = dentry, in reiserfs_listxattr()
882 static int create_privroot(struct dentry *dentry) in create_privroot() argument
975 struct dentry *dentry; in reiserfs_lookup_privroot() local
[all …]
/linux/fs/9p/
A Dfid.c22 static inline void __add_fid(struct dentry *dentry, struct p9_fid *fid) in __add_fid() argument
34 void v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid) in v9fs_fid_add() argument
96 dentry, dentry, from_kuid(&init_user_ns, uid), in v9fs_fid_find()
100 if (d_inode(dentry)) in v9fs_fid_find()
127 struct dentry *dentry, const unsigned char ***names) in build_path_from_dentry() argument
131 struct dentry *ds; in build_path_from_dentry()
149 static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry, in v9fs_fid_lookup_with_uid() argument
152 struct dentry *ds; in v9fs_fid_lookup_with_uid()
201 if (dentry->d_sb->s_root == dentry) { in v9fs_fid_lookup_with_uid()
270 struct p9_fid *v9fs_fid_lookup(struct dentry *dentry) in v9fs_fid_lookup() argument
[all …]
/linux/fs/cachefiles/
A Dxattr.c27 struct dentry *dentry = object->dentry; in cachefiles_check_object_type() local
31 ASSERT(dentry); in cachefiles_check_object_type()
51 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type()
64 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type()
91 dentry, d_backing_inode(dentry)->i_ino, in cachefiles_check_object_type()
103 struct dentry *dentry = object->dentry; in cachefiles_set_object_xattr() local
131 struct dentry *dentry = object->dentry; in cachefiles_update_object_xattr() local
134 if (!dentry) in cachefiles_update_object_xattr()
161 struct dentry *dentry = object->dentry; in cachefiles_check_auxdata() local
200 struct dentry *dentry = object->dentry; in cachefiles_check_object_xattr() local
[all …]
/linux/fs/nfsd/
A Dnfsfh.c120 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root() argument
144 if (unlikely(dentry != exp->ex_path.dentry)) in check_pseudo_root()
159 struct dentry *dentry; in nfsd_set_fh_dentry() local
247 dentry = dget(exp->ex_path.dentry); in nfsd_set_fh_dentry()
254 dentry ? PTR_ERR(dentry) : -ESTALE); in nfsd_set_fh_dentry()
331 struct dentry *dentry; in fh_verify() local
384 && exp->ex_path.dentry == dentry) in fh_verify()
416 struct dentry *dentry) in _fh_update() argument
418 if (dentry != exp->ex_path.dentry) { in _fh_update()
590 struct dentry *dentry; in fh_update() local
[all …]
/linux/fs/configfs/
A Ddir.c279 struct dentry *p = dentry->d_parent; in configfs_create_dir()
354 struct dentry *dentry, char *body) in configfs_create_link() argument
421 struct dentry *dentry, in configfs_lookup() argument
602 struct dentry *dentry,
803 struct dentry *dentry, in configfs_attach_item() argument
838 struct dentry *dentry, in configfs_attach_group() argument
1554 struct dentry * dentry = file->f_path.dentry; in configfs_dir_open() local
1578 struct dentry * dentry = file->f_path.dentry; in configfs_dir_close() local
1600 struct dentry *dentry = file->f_path.dentry; in configfs_readdir() local
1661 struct dentry * dentry = file->f_path.dentry; in configfs_dir_lseek() local
[all …]
/linux/fs/nfs/
A Dunlink.c66 struct dentry *dentry = data->dentry; in nfs_async_unlink_release() local
72 dput(dentry); in nfs_async_unlink_release()
167 nfs_async_unlink(struct dentry *dentry, const struct qstr *name) in nfs_async_unlink() argument
220 nfs_complete_unlink(struct dentry *dentry, struct inode *inode) in nfs_complete_unlink() argument
236 nfs_cancel_async_unlink(struct dentry *dentry) in nfs_cancel_async_unlink() argument
334 struct dentry *old_dentry, struct dentry *new_dentry, in nfs_async_rename()
393 struct dentry *dentry = data->old_dentry; in nfs_complete_sillyrename() local
431 nfs_sillyrename(struct inode *dir, struct dentry *dentry) in nfs_sillyrename() argument
442 dentry, d_count(dentry)); in nfs_sillyrename()
464 dentry, silly); in nfs_sillyrename()
[all …]

Completed in 110 milliseconds

12345678910>>...47