Home
last modified time | relevance | path

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

12345678910>>...23

/fs/
A Ddcache.c947 struct dentry *dget_parent(struct dentry *dentry) in dget_parent() argument
1096 struct dentry *dentry; in d_prune_aliases() local
1125 struct dentry *dentry; in shrink_dentry_list() local
1615 struct dentry *dentry; in shrink_dcache_for_umount() local
1686 struct dentry *dentry; in __d_alloc() local
2197 struct dentry *dentry; in __d_lookup_rcu_op_compare() local
2261 struct dentry *dentry; in __d_lookup_rcu() local
2334 struct dentry *dentry; in d_lookup() local
2368 struct dentry *dentry; in __d_lookup() local
3129 struct dentry *dentry = file->f_path.dentry; in d_mark_tmpfile() local
[all …]
A Dlibfs.c148 struct dentry *dentry = file->f_path.dentry; in dcache_dir_lseek() local
192 struct dentry *dentry = file->f_path.dentry; in dcache_readdir() local
459 struct dentry *dentry, in find_positive_dentry() argument
466 dentry = d_next_sibling(dentry); in find_positive_dentry()
514 struct dentry *dentry; in offset_iterate_dir() local
1021 struct dentry *dentry; in simple_fill_super() local
2140 struct dentry *dentry; in stashed_dentry_get() local
2157 struct dentry *dentry; in prepare_anon_dentry() local
2195 struct dentry *stash_dentry(struct dentry **stashed, struct dentry *dentry) in stash_dentry() argument
2236 struct dentry *dentry, *res; in path_from_stashed() local
[all …]
A Dnamei.c946 struct dentry *dentry = nd->path.dentry; in complete_walk() local
1434 struct dentry *dentry = path->dentry; in follow_automount() local
1571 struct dentry *dentry = path->dentry; in __follow_mount_rcu() local
1620 path->dentry = dentry; in handle_mounts()
1627 path->dentry = dentry; in handle_mounts()
1680 struct dentry *dentry; in lookup_one_qstr_excl() local
1733 struct dentry *dentry, *parent = nd->path.dentry; in lookup_fast() local
2114 struct dentry *dentry; in walk_component() local
2944 struct dentry *dentry; in lookup_noperm() local
2971 struct dentry *dentry; in lookup_one() local
[all …]
/fs/overlayfs/
A Doverlayfs.h216 struct dentry *dentry) in ovl_do_unlink() argument
246 struct dentry *dentry, in ovl_do_mkdir() argument
439 struct dentry *ovl_workdir(struct dentry *dentry);
478 struct dentry *ovl_dentry_upper(struct dentry *dentry);
479 struct dentry *ovl_dentry_lower(struct dentry *dentry);
480 struct dentry *ovl_dentry_lowerdata(struct dentry *dentry);
484 struct dentry *ovl_dentry_real(struct dentry *dentry);
551 int ovl_set_impure(struct dentry *dentry, struct dentry *upperdentry);
714 struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry,
853 struct dentry *dentry);
[all …]
A Dutil.c29 void ovl_start_write(struct dentry *dentry) in ovl_start_write() argument
35 int ovl_want_write(struct dentry *dentry) in ovl_want_write() argument
47 void ovl_end_write(struct dentry *dentry) in ovl_end_write() argument
59 struct dentry *ovl_workdir(struct dentry *dentry) in ovl_workdir() argument
262 path->dentry = lowerpath->dentry; in ovl_path_lower()
314 struct dentry *ovl_dentry_upper(struct dentry *dentry) in ovl_dentry_upper() argument
321 struct dentry *ovl_dentry_lower(struct dentry *dentry) in ovl_dentry_lower() argument
341 struct dentry *ovl_dentry_lowerdata(struct dentry *dentry) in ovl_dentry_lowerdata() argument
369 struct dentry *ovl_dentry_real(struct dentry *dentry) in ovl_dentry_real() argument
385 path->dentry = lowerpath->dentry; in ovl_i_path_real()
[all …]
A Ddir.c132 struct dentry *dentry) in ovl_cleanup_and_whiteout() argument
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
361 static struct dentry *ovl_clear_empty(struct dentry *dentry, in ovl_clear_empty() argument
365 struct dentry *workdir = ovl_workdir(dentry); in ovl_clear_empty()
445 struct dentry *workdir = ovl_workdir(dentry); in ovl_create_over_whiteout()
589 struct dentry *parent = dentry->d_parent; in ovl_create_or_link()
686 struct dentry *dentry, umode_t mode) in ovl_mkdir() argument
758 static bool ovl_matches_upper(struct dentry *dentry, struct dentry *upper) in ovl_matches_upper() argument
767 struct dentry *workdir = ovl_workdir(dentry); in ovl_remove_and_whiteout()
[all …]
A Dexport.c19 static int ovl_encode_maybe_copy_up(struct dentry *dentry) in ovl_encode_maybe_copy_up() argument
72 static int ovl_connectable_layer(struct dentry *dentry) in ovl_connectable_layer() 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()
183 struct dentry *dentry; in ovl_check_encode_origin() local
335 static struct dentry *ovl_dentry_real_at(struct dentry *dentry, int idx) in ovl_dentry_real_at() argument
675 struct dentry *dentry; in ovl_upper_fh_to_d() local
697 struct dentry *dentry = NULL; in ovl_lower_fh_to_d() local
797 struct dentry *dentry = NULL; in ovl_fh_to_dentry() local
[all …]
A Dcopy_up.c47 struct dentry *dentry, const char *acl_name) in ovl_copy_acl() argument
77 struct dentry *old = oldpath->dentry; in ovl_copy_xattr()
525 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_create_index()
581 struct dentry *dentry; member
941 struct dentry *origin = c->lowerpath.dentry; in ovl_do_copy_up()
1136 static int ovl_copy_up_one(struct dentry *parent, struct dentry *dentry, in ovl_copy_up_one() argument
1144 .dentry = dentry, in ovl_copy_up_one()
1214 static int ovl_copy_up_flags(struct dentry *dentry, int flags) in ovl_copy_up_flags() argument
1282 int ovl_maybe_copy_up(struct dentry *dentry, int flags) in ovl_maybe_copy_up() argument
1290 int ovl_copy_up_with_data(struct dentry *dentry) in ovl_copy_up_with_data() argument
[all …]
A Dnamei.c19 struct dentry *dentry; member
72 static int ovl_acceptable(void *ctx, struct dentry *dentry) in ovl_acceptable() argument
354 struct dentry *dentry = NULL; in ovl_lookup_layer() local
374 dput(dentry); in ovl_lookup_layer()
437 lowerdata->dentry = datapath.dentry; in ovl_lookup_data_layers()
912 path->dentry = lowerstack[idx - 1].dentry; in ovl_path_next()
921 struct dentry *lower, struct dentry *upper) in ovl_fix_origin()
1043 int ovl_verify_lowerdata(struct dentry *dentry) in ovl_verify_lowerdata() argument
1079 struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry, in ovl_lookup() argument
1102 .dentry = dentry, in ovl_lookup()
[all …]
A Dinode.c21 int ovl_setattr(struct mnt_idmap *idmap, struct dentry *dentry, in ovl_setattr() argument
159 struct dentry *dentry = path->dentry; in ovl_getattr() local
233 realpath.dentry == ovl_dentry_lowerdata(dentry)) { in ovl_getattr()
325 static const char *ovl_get_link(struct dentry *dentry, in ovl_get_link() argument
332 if (!dentry) in ovl_get_link()
486 struct dentry *upperdentry = ovl_dentry_upper(dentry); in ovl_set_or_remove_acl()
540 struct dentry *workdir = ovl_workdir(dentry); in ovl_set_acl()
652 struct dentry *dentry, struct file_kattr *fa) in ovl_fileattr_set() argument
971 static int ovl_set_nlink_common(struct dentry *dentry, in ovl_set_nlink_common() argument
989 int ovl_set_nlink_upper(struct dentry *dentry) in ovl_set_nlink_upper() argument
[all …]
/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 …]
/fs/debugfs/
A Dinode.c46 struct dentry *dentry, struct iattr *ia) in debugfs_setattr() argument
341 struct dentry *dentry; in debugfs_lookup() local
358 struct dentry *dentry; in start_creating() local
396 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating() argument
404 static struct dentry *end_creating(struct dentry *dentry) in end_creating() argument
416 struct dentry *dentry; in __debugfs_create_file() local
450 fsnotify_create(d_inode(dentry->d_parent), dentry); in __debugfs_create_file()
597 fsnotify_mkdir(d_inode(dentry->d_parent), dentry); in debugfs_create_dir()
675 struct dentry *dentry; in debugfs_create_symlink() local
784 void debugfs_remove(struct dentry *dentry) in debugfs_remove() argument
[all …]
/fs/ocfs2/
A Ddcache.c26 void ocfs2_dentry_attach_gen(struct dentry *dentry) in ocfs2_dentry_attach_gen() argument
36 struct dentry *dentry, unsigned int flags) in ocfs2_dentry_revalidate() argument
108 static int ocfs2_match_dentry(struct dentry *dentry, in ocfs2_match_dentry() argument
145 struct dentry *dentry; in ocfs2_find_local_alias() local
157 return dentry; in ocfs2_find_local_alias()
199 int ocfs2_dentry_attach_lock(struct dentry *dentry, in ocfs2_dentry_attach_lock() argument
219 if (d_really_is_negative(dentry) && dentry->d_fsdata) { in ocfs2_dentry_attach_lock()
228 dentry, in ocfs2_dentry_attach_lock()
254 dentry, in ocfs2_dentry_attach_lock()
395 ino, dentry->d_flags, dentry); in ocfs2_dentry_iput()
[all …]
/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
470 struct inode *dir, struct dentry *dentry, in ecryptfs_symlink() argument
509 struct dentry *dentry, umode_t mode) in ecryptfs_mkdir() argument
906 struct dentry *dentry, struct iattr *ia) in ecryptfs_setattr() argument
997 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 file_kattr *fa) in ecryptfs_fileattr_set() argument
1145 struct dentry *dentry, int type) in ecryptfs_get_acl() argument
[all …]
/fs/ceph/
A Ddir.c48 di->dentry = dentry; in ceph_d_init()
136 struct dentry *dentry; in __dcache_find_get_entry() local
269 dentry, dentry, d_inode(dentry)); in __dcache_readdir()
346 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()
1188 struct dentry *dentry) in ceph_link() argument
1256 dentry, dentry); in ceph_async_unlink_cb()
1652 dentry = di->dentry; in __dentry_leases_walk()
1699 dentry = di->dentry; in __dentry_leases_walk()
[all …]
/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 …]
/fs/configfs/
A Ddir.c297 struct dentry *p = dentry->d_parent; in configfs_create_dir()
369 struct dentry *dentry, char *body) in configfs_create_link() argument
437 struct dentry *dentry, in configfs_lookup() argument
640 struct dentry *dentry,
841 struct dentry *dentry, in configfs_attach_item() argument
876 struct dentry *dentry, in configfs_attach_group() argument
1592 struct dentry * dentry = file->f_path.dentry; in configfs_dir_open() local
1616 struct dentry * dentry = file->f_path.dentry; in configfs_dir_close() local
1632 struct dentry *dentry = file->f_path.dentry; in configfs_readdir() local
1694 struct dentry * dentry = file->f_path.dentry; in configfs_dir_lseek() local
[all …]
/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
461 struct dentry *dentry, unsigned int flags) in tracefs_d_revalidate() argument
547 struct dentry *dentry; in tracefs_start_creating() local
572 struct dentry *tracefs_failed_creating(struct dentry *dentry) in tracefs_failed_creating() argument
580 struct dentry *tracefs_end_creating(struct dentry *dentry) in tracefs_end_creating() argument
637 struct dentry *dentry; in tracefs_create_file() local
697 fsnotify_mkdir(d_inode(dentry->d_parent), dentry); in __create_dir()
748 struct dentry *dentry; in tracefs_create_instance_dir() local
[all …]
/fs/nfs/
A Ddir.c731 struct dentry *dentry; in nfs_prime_dcache() local
1225 struct dentry *dentry = file_dentry(file); in nfs_readdir() local
1679 struct dentry *dentry, in nfs_lookup_revalidate_dentry() argument
1877 dentry, dentry->d_flags); in nfs_dentry_delete()
2043 struct dentry *dentry, in nfs_finish_open() argument
2118 dentry = d_alloc_parallel(dentry->d_parent, in nfs_atomic_open()
2301 struct dentry *parent = dget_parent(dentry); in nfs_add_or_obtain()
2426 struct dentry *dentry, umode_t mode) in nfs_mkdir() argument
2451 struct dentry *dentry, int error) in nfs_dentry_remove_handle_error() argument
2646 nfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) in nfs_link() argument
[all …]
A Dunlink.c66 struct dentry *dentry = data->dentry; in nfs_async_unlink_release() local
72 dput(dentry); in nfs_async_unlink_release()
172 nfs_async_unlink(struct dentry *dentry, const struct qstr *name) in nfs_async_unlink() argument
225 nfs_complete_unlink(struct dentry *dentry, struct inode *inode) in nfs_complete_unlink() argument
243 nfs_cancel_async_unlink(struct dentry *dentry) in nfs_cancel_async_unlink() argument
341 struct dentry *old_dentry, struct dentry *new_dentry, in nfs_async_rename()
405 struct dentry *dentry = data->old_dentry; in nfs_complete_sillyrename() local
443 nfs_sillyrename(struct inode *dir, struct dentry *dentry) in nfs_sillyrename() argument
454 dentry, d_count(dentry)); in nfs_sillyrename()
475 dentry, silly); in nfs_sillyrename()
[all …]
/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()
113 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find() argument
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()
222 if (dentry->d_sb->s_root == dentry) in v9fs_fid_lookup_with_uid()
[all …]
A Dvfs_dentry.c31 static int v9fs_cached_dentry_delete(const struct dentry *dentry) in v9fs_cached_dentry_delete() argument
34 dentry, dentry); in v9fs_cached_dentry_delete()
48 static void v9fs_dentry_release(struct dentry *dentry) in v9fs_dentry_release() argument
54 dentry, dentry); in v9fs_dentry_release()
56 spin_lock(&dentry->d_lock); in v9fs_dentry_release()
58 spin_unlock(&dentry->d_lock); in v9fs_dentry_release()
64 static int __v9fs_lookup_revalidate(struct dentry *dentry, unsigned int flags) in __v9fs_lookup_revalidate() argument
73 inode = d_inode(dentry); in __v9fs_lookup_revalidate()
103 struct dentry *dentry, unsigned int flags) in v9fs_lookup_revalidate() argument
108 static bool v9fs_dentry_unalias_trylock(const struct dentry *dentry) in v9fs_dentry_unalias_trylock() argument
[all …]
/fs/affs/
A Dnamei.c116 affs_compare_dentry(const struct dentry *dentry, in affs_compare_dentry() argument
125 affs_intl_compare_dentry(const struct dentry *dentry, in affs_intl_compare_dentry() argument
236 affs_unlink(struct inode *dir, struct dentry *dentry) in affs_unlink() argument
239 d_inode(dentry)->i_ino, dentry); in affs_unlink()
246 struct dentry *dentry, umode_t mode, bool excl) in affs_create() argument
278 struct dentry *dentry, umode_t mode) in affs_mkdir() argument
307 affs_rmdir(struct inode *dir, struct dentry *dentry) in affs_rmdir() argument
310 d_inode(dentry)->i_ino, dentry); in affs_rmdir()
317 struct dentry *dentry, const char *symname) in affs_symlink() argument
394 affs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) in affs_link() argument
[all …]
/fs/nfsd/
A Dnfsfh.c135 if (unlikely(dentry != exp->ex_path.dentry)) in check_pseudo_root()
154 struct dentry *dentry; in nfsd_set_fh_dentry() local
241 dentry = dget(exp->ex_path.dentry); in nfsd_set_fh_dentry()
248 dentry ? PTR_ERR(dentry) : -ESTALE); in nfsd_set_fh_dentry()
325 struct dentry *dentry; in __fh_verify() local
379 && exp->ex_path.dentry == dentry) in __fh_verify()
464 struct dentry *dentry) in _fh_update() argument
466 if (dentry != exp->ex_path.dentry) { in _fh_update()
587 dentry, in fh_compose()
641 struct dentry *dentry; in fh_update() local
[all …]

Completed in 136 milliseconds

12345678910>>...23