Home
last modified time | relevance | path

Searched defs:dentry (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/fs/
Ddcache.c225 static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount) in dentry_cmp()
256 static inline struct external_name *external_name(struct dentry *dentry) in external_name()
263 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local
270 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free_external() local
275 static inline int dname_external(const struct dentry *dentry) in dname_external()
280 void take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry) in take_dentry_name_snapshot()
307 static inline void __d_set_inode_and_type(struct dentry *dentry, in __d_set_inode_and_type()
320 static inline void __d_clear_type_and_inode(struct dentry *dentry) in __d_clear_type_and_inode()
329 static void dentry_free(struct dentry *dentry) in dentry_free()
350 static void dentry_unlink_inode(struct dentry * dentry) in dentry_unlink_inode()
[all …]
Dbad_inode.c28 static int bad_inode_create (struct inode *dir, struct dentry *dentry, in bad_inode_create()
35 struct dentry *dentry, unsigned int flags) in bad_inode_lookup()
41 struct dentry *dentry) in bad_inode_link()
46 static int bad_inode_unlink(struct inode *dir, struct dentry *dentry) in bad_inode_unlink()
51 static int bad_inode_symlink (struct inode *dir, struct dentry *dentry, in bad_inode_symlink()
57 static int bad_inode_mkdir(struct inode *dir, struct dentry *dentry, in bad_inode_mkdir()
63 static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry) in bad_inode_rmdir()
68 static int bad_inode_mknod (struct inode *dir, struct dentry *dentry, in bad_inode_mknod()
81 static int bad_inode_readlink(struct dentry *dentry, char __user *buffer, in bad_inode_readlink()
92 static int bad_inode_getattr(struct vfsmount *mnt, struct dentry *dentry, in bad_inode_getattr()
[all …]
/fs/overlayfs/
Dsuper.c73 enum ovl_path_type ovl_path_type(struct dentry *dentry) in ovl_path_type()
101 void ovl_path_upper(struct dentry *dentry, struct path *path) in ovl_path_upper()
110 enum ovl_path_type ovl_path_real(struct dentry *dentry, struct path *path) in ovl_path_real()
122 struct dentry *ovl_dentry_upper(struct dentry *dentry) in ovl_dentry_upper()
129 struct dentry *ovl_dentry_lower(struct dentry *dentry) in ovl_dentry_lower()
136 struct dentry *ovl_dentry_real(struct dentry *dentry) in ovl_dentry_real()
167 struct ovl_dir_cache *ovl_dir_cache(struct dentry *dentry) in ovl_dir_cache()
174 void ovl_set_dir_cache(struct dentry *dentry, struct ovl_dir_cache *cache) in ovl_set_dir_cache()
181 void ovl_path_lower(struct dentry *dentry, struct path *path) in ovl_path_lower()
188 int ovl_want_write(struct dentry *dentry) in ovl_want_write()
[all …]
Ddir.c37 struct dentry *ovl_lookup_temp(struct dentry *workdir, struct dentry *dentry) in ovl_lookup_temp()
58 struct dentry *dentry) in ovl_whiteout()
140 static int ovl_dir_getattr(struct vfsmount *mnt, struct dentry *dentry, in ovl_dir_getattr()
170 static void ovl_instantiate(struct dentry *dentry, struct inode *inode, in ovl_instantiate()
188 static int ovl_create_upper(struct dentry *dentry, struct inode *inode, in ovl_create_upper()
239 static struct dentry *ovl_clear_empty(struct dentry *dentry, in ovl_clear_empty()
317 static struct dentry *ovl_check_empty_and_clear(struct dentry *dentry) in ovl_check_empty_and_clear()
375 static int ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode, in ovl_create_over_whiteout()
480 static int ovl_create_or_link(struct dentry *dentry, struct inode *inode, in ovl_create_or_link()
529 static int ovl_create_object(struct dentry *dentry, int mode, dev_t rdev, in ovl_create_object()
[all …]
Doverlayfs.h32 static inline int ovl_do_rmdir(struct inode *dir, struct dentry *dentry) in ovl_do_rmdir()
39 static inline int ovl_do_unlink(struct inode *dir, struct dentry *dentry) in ovl_do_unlink()
57 static inline int ovl_do_create(struct inode *dir, struct dentry *dentry, in ovl_do_create()
66 static inline int ovl_do_mkdir(struct inode *dir, struct dentry *dentry, in ovl_do_mkdir()
75 static inline int ovl_do_mknod(struct inode *dir, struct dentry *dentry, in ovl_do_mknod()
86 static inline int ovl_do_symlink(struct inode *dir, struct dentry *dentry, in ovl_do_symlink()
95 static inline int ovl_do_setxattr(struct dentry *dentry, const char *name, in ovl_do_setxattr()
104 static inline int ovl_do_removexattr(struct dentry *dentry, const char *name) in ovl_do_removexattr()
129 static inline int ovl_do_whiteout(struct inode *dir, struct dentry *dentry) in ovl_do_whiteout()
/fs/autofs4/
Droot.c72 static void autofs4_add_active(struct dentry *dentry) in autofs4_add_active()
89 static void autofs4_del_active(struct dentry *dentry) in autofs4_del_active()
108 struct dentry *dentry = file->f_path.dentry; in autofs4_dir_open() local
158 static struct dentry *autofs4_lookup_active(struct dentry *dentry) in autofs4_lookup_active()
212 static struct dentry *autofs4_lookup_expiring(struct dentry *dentry, in autofs4_lookup_expiring()
272 static int autofs4_mount_wait(struct dentry *dentry, bool rcu_walk) in autofs4_mount_wait()
289 static int do_expire_wait(struct dentry *dentry, bool rcu_walk) in do_expire_wait()
313 struct dentry *dentry = path->dentry; in autofs4_mountpoint_changed() local
338 struct dentry *dentry = path->dentry; in autofs4_d_automount() local
424 static int autofs4_d_manage(struct dentry *dentry, bool rcu_walk) in autofs4_d_manage()
[all …]
/fs/affs/
Dnamei.c64 __affs_hash_dentry(const struct dentry *dentry, struct qstr *qstr, toupper_t toupper, bool notrunca… in __affs_hash_dentry()
85 affs_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in affs_hash_dentry()
93 affs_intl_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in affs_intl_hash_dentry()
134 affs_compare_dentry(const struct dentry *dentry, in affs_compare_dentry()
143 affs_intl_compare_dentry(const struct dentry *dentry, in affs_intl_compare_dentry()
156 affs_match(struct dentry *dentry, const u8 *name2, toupper_t toupper) in affs_match()
188 affs_find_entry(struct inode *dir, struct dentry *dentry) in affs_find_entry()
217 affs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in affs_lookup()
251 affs_unlink(struct inode *dir, struct dentry *dentry) in affs_unlink()
260 affs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in affs_create()
[all …]
/fs/minix/
Dnamei.c9 static int add_nondir(struct dentry *dentry, struct inode *inode) in add_nondir()
21 static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in minix_lookup()
39 static int minix_mknod(struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod()
57 static int minix_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in minix_tmpfile()
69 static int minix_create(struct inode *dir, struct dentry *dentry, umode_t mode, in minix_create()
75 static int minix_symlink(struct inode * dir, struct dentry *dentry, in minix_symlink()
105 struct dentry *dentry) in minix_link()
115 static int minix_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in minix_mkdir()
151 static int minix_unlink(struct inode * dir, struct dentry *dentry) in minix_unlink()
172 static int minix_rmdir(struct inode * dir, struct dentry *dentry) in minix_rmdir()
/fs/sysv/
Dnamei.c18 static int add_nondir(struct dentry *dentry, struct inode *inode) in add_nondir()
30 static int sysv_hash(const struct dentry *dentry, struct qstr *qstr) in sysv_hash()
45 static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) in sysv_lookup()
63 static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t mode, dev_t rdev) in sysv_mknod()
82 static int sysv_create(struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in sysv_create()
87 static int sysv_symlink(struct inode * dir, struct dentry * dentry, in sysv_symlink()
119 struct dentry * dentry) in sysv_link()
130 static int sysv_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in sysv_mkdir()
167 static int sysv_unlink(struct inode * dir, struct dentry * dentry) in sysv_unlink()
188 static int sysv_rmdir(struct inode * dir, struct dentry * dentry) in sysv_rmdir()
/fs/xfs/
Dxfs_iops.c101 struct dentry *dentry) in xfs_dentry_to_name()
111 struct dentry *dentry, in xfs_dentry_mode_to_name()
128 struct dentry *dentry) in xfs_cleanup_inode()
145 struct dentry *dentry, in xfs_generic_create()
231 struct dentry *dentry, in xfs_vn_mknod()
241 struct dentry *dentry, in xfs_vn_create()
251 struct dentry *dentry, in xfs_vn_mkdir()
260 struct dentry *dentry, in xfs_vn_lookup()
285 struct dentry *dentry, in xfs_vn_ci_lookup()
326 struct dentry *dentry) in xfs_vn_link()
[all …]
/fs/ext2/
Dnamei.c39 static inline int ext2_add_nondir(struct dentry *dentry, struct inode *inode) in ext2_add_nondir()
57 static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ext2_lookup()
96 static int ext2_create (struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in ext2_create()
121 static int ext2_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in ext2_tmpfile()
141 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod()
163 static int ext2_symlink (struct inode * dir, struct dentry * dentry, in ext2_symlink()
215 struct dentry *dentry) in ext2_link()
238 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir()
286 static int ext2_unlink(struct inode * dir, struct dentry *dentry) in ext2_unlink()
314 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
/fs/ufs/
Dnamei.c37 static inline int ufs_add_nondir(struct dentry *dentry, struct inode *inode) in ufs_add_nondir()
51 static struct dentry *ufs_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ufs_lookup()
73 static int ufs_create (struct inode * dir, struct dentry * dentry, umode_t mode, in ufs_create()
89 static int ufs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ufs_mknod()
108 static int ufs_symlink (struct inode * dir, struct dentry * dentry, in ufs_symlink()
151 struct dentry *dentry) in ufs_link()
169 static int ufs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ufs_mkdir()
209 static int ufs_unlink(struct inode *dir, struct dentry *dentry) in ufs_unlink()
231 static int ufs_rmdir (struct inode * dir, struct dentry *dentry) in ufs_rmdir()
/fs/ecryptfs/
Dinode.c38 static struct dentry *lock_parent(struct dentry *dentry) in lock_parent()
131 struct dentry *dentry, struct super_block *sb) in ecryptfs_interpose()
142 static int ecryptfs_do_unlink(struct inode *dir, struct dentry *dentry, in ecryptfs_do_unlink()
293 static int ecryptfs_i_size_read(struct dentry *dentry, struct inode *inode) in ecryptfs_i_size_read()
327 static struct dentry *ecryptfs_lookup_interpose(struct dentry *dentry, in ecryptfs_lookup_interpose()
463 static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry) in ecryptfs_unlink()
468 static int ecryptfs_symlink(struct inode *dir, struct dentry *dentry, in ecryptfs_symlink()
507 static int ecryptfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ecryptfs_mkdir()
531 static int ecryptfs_rmdir(struct inode *dir, struct dentry *dentry) in ecryptfs_rmdir()
555 ecryptfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in ecryptfs_mknod()
[all …]
/fs/exofs/
Dnamei.c36 static inline int exofs_add_nondir(struct dentry *dentry, struct inode *inode) in exofs_add_nondir()
48 static struct dentry *exofs_lookup(struct inode *dir, struct dentry *dentry, in exofs_lookup()
62 static int exofs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in exofs_create()
77 static int exofs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, in exofs_mknod()
93 static int exofs_symlink(struct inode *dir, struct dentry *dentry, in exofs_symlink()
141 struct dentry *dentry) in exofs_link()
152 static int exofs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in exofs_mkdir()
191 static int exofs_unlink(struct inode *dir, struct dentry *dentry) in exofs_unlink()
213 static int exofs_rmdir(struct inode *dir, struct dentry *dentry) in exofs_rmdir()
/fs/9p/
Dfid.c44 static inline void __add_fid(struct dentry *dentry, struct p9_fid *fid) in __add_fid()
49 void v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid) in v9fs_fid_add()
64 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find()
94 struct dentry *dentry, char ***names) in build_path_from_dentry()
116 static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry, in v9fs_fid_lookup_with_uid()
231 struct p9_fid *v9fs_fid_lookup(struct dentry *dentry) in v9fs_fid_lookup()
260 struct p9_fid *v9fs_writeback_fid(struct dentry *dentry) in v9fs_writeback_fid()
/fs/ocfs2/
Ddcache.c42 void ocfs2_dentry_attach_gen(struct dentry *dentry) in ocfs2_dentry_attach_gen()
51 static int ocfs2_dentry_revalidate(struct dentry *dentry, unsigned int flags) in ocfs2_dentry_revalidate()
128 static int ocfs2_match_dentry(struct dentry *dentry, in ocfs2_match_dentry()
172 struct dentry *dentry; in ocfs2_find_local_alias() local
226 int ocfs2_dentry_attach_lock(struct dentry *dentry, in ocfs2_dentry_attach_lock()
394 static void ocfs2_dentry_iput(struct dentry *dentry, struct inode *inode) in ocfs2_dentry_iput()
444 void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, in ocfs2_dentry_move()
/fs/nfsd/
Dnfsfh.c26 static int nfsd_acceptable(void *expv, struct dentry *dentry) in nfsd_acceptable()
62 nfsd_mode_check(struct svc_rqst *rqstp, struct dentry *dentry, in nfsd_mode_check()
107 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root()
146 struct dentry *dentry; in nfsd_set_fh_dentry() local
313 struct dentry *dentry; in fh_verify() local
398 struct dentry *dentry) in _fh_update()
417 static inline void _fh_update_old(struct dentry *dentry, in _fh_update_old()
518 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose()
600 struct dentry *dentry; in fh_update() local
634 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
/fs/cachefiles/
Dxattr.c31 struct dentry *dentry = object->dentry; in cachefiles_check_object_type() local
106 struct dentry *dentry = object->dentry; in cachefiles_set_object_xattr() local
134 struct dentry *dentry = object->dentry; in cachefiles_update_object_xattr() local
163 struct dentry *dentry = object->dentry; in cachefiles_check_auxdata() local
201 struct dentry *dentry = object->dentry; in cachefiles_check_object_xattr() local
307 struct dentry *dentry) in cachefiles_remove_object_xattr()
/fs/reiserfs/
Dxattr.c65 static int xattr_create(struct inode *dir, struct dentry *dentry, int mode) in xattr_create()
72 static int xattr_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in xattr_mkdir()
84 static int xattr_unlink(struct inode *dir, struct dentry *dentry) in xattr_unlink()
99 static int xattr_rmdir(struct inode *dir, struct dentry *dentry) in xattr_rmdir()
196 struct dentry *dentry; in fill_with_dentries() local
235 int (*action)(struct dentry *, void *), in reiserfs_for_each_xattr()
267 struct dentry *dentry = buf.dentries[i]; in reiserfs_for_each_xattr() local
320 static int delete_one_xattr(struct dentry *dentry, void *data) in delete_one_xattr()
331 static int chown_one_xattr(struct dentry *dentry, void *data) in chown_one_xattr()
466 struct dentry *dentry, *xadir; in lookup_and_delete_xattr() local
[all …]
/fs/ceph/
Ddir.c35 int ceph_init_dentry(struct dentry *dentry) in ceph_init_dentry()
146 struct dentry *dentry; in __dcache_find_get_entry() local
201 struct dentry *dentry, *last = NULL; in __dcache_readdir() local
667 struct dentry *dentry, int err) in ceph_handle_snapdir()
699 struct dentry *dentry, int err) in ceph_finish_lookup()
724 static bool is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry()
734 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup()
803 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create()
826 static int ceph_mknod(struct inode *dir, struct dentry *dentry, in ceph_mknod()
873 static int ceph_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ceph_create()
[all …]
/fs/sdcardfs/
Dderived_perm.c54 void get_derived_permission_new(struct dentry *parent, struct dentry *dentry, in get_derived_permission_new()
144 void get_derived_permission(struct dentry *parent, struct dentry *dentry) in get_derived_permission()
162 void fixup_lower_ownership(struct dentry *dentry, const char *name) in fixup_lower_ownership()
284 static void __fixup_perms_recursive(struct dentry *dentry, struct limit_search *limit, int depth) in __fixup_perms_recursive()
323 void fixup_perms_recursive(struct dentry *dentry, struct limit_search *limit) in fixup_perms_recursive()
329 inline void update_derived_permission_lock(struct dentry *dentry) in update_derived_permission_lock()
351 int need_graft_path(struct dentry *dentry) in need_graft_path()
415 int is_base_obbpath(struct dentry *dentry) in is_base_obbpath()
442 int setup_obb_dentry(struct dentry *dentry, struct path *lower_path) in setup_obb_dentry()
/fs/ncpfs/
Ddir.c128 ncp_hash_dentry(const struct dentry *dentry, struct qstr *this) in ncp_hash_dentry()
156 ncp_compare_dentry(const struct dentry *dentry, in ncp_compare_dentry()
180 ncp_delete_dentry(const struct dentry * dentry) in ncp_delete_dentry()
216 ncp_force_unlink(struct inode *dir, struct dentry* dentry) in ncp_force_unlink()
310 ncp_lookup_validate(struct dentry *dentry, unsigned int flags) in ncp_lookup_validate()
388 static time_t ncp_obtain_mtime(struct dentry *dentry) in ncp_obtain_mtime()
407 struct dentry *dentry; in ncp_invalidate_dircache_entries() local
419 struct dentry *dentry = file->f_path.dentry; in ncp_readdir() local
569 static void ncp_d_prune(struct dentry *dentry) in ncp_d_prune()
581 struct dentry *newdent, *dentry = file->f_path.dentry; in ncp_fill_cache() local
[all …]
/fs/tracefs/
Dinode.c58 static char *get_dname(struct dentry *dentry) in get_dname()
73 static int tracefs_syscall_mkdir(struct inode *inode, struct dentry *dentry, umode_t mode) in tracefs_syscall_mkdir()
96 static int tracefs_syscall_rmdir(struct inode *inode, struct dentry *dentry) in tracefs_syscall_rmdir()
319 struct dentry *dentry; in start_creating() local
352 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating()
360 static struct dentry *end_creating(struct dentry *dentry) in end_creating()
396 struct dentry *dentry; in tracefs_create_file() local
422 struct dentry *dentry = start_creating(name, parent); in __create_dir() local
487 struct dentry *dentry; in tracefs_create_instance_dir() local
503 static int __tracefs_remove(struct dentry *dentry, struct dentry *parent) in __tracefs_remove()
[all …]
/fs/configfs/
Ddir.c53 static void configfs_d_iput(struct dentry * dentry, in configfs_d_iput()
226 struct dentry * dentry, void * element, in configfs_make_dirent()
278 static int configfs_create_dir(struct config_item *item, struct dentry *dentry) in configfs_create_dir()
352 struct dentry *dentry) in configfs_create_link()
405 struct dentry * dentry = dget(item->ci_dentry); in configfs_remove_dir() local
421 static int configfs_attach_attr(struct configfs_dirent * sd, struct dentry * dentry) in configfs_attach_attr()
441 struct dentry *dentry, in configfs_lookup()
497 static int configfs_detach_prep(struct dentry *dentry, struct dentry **wait) in configfs_detach_prep()
544 static void configfs_detach_rollback(struct dentry *dentry) in configfs_detach_rollback()
558 struct dentry * dentry = dget(item->ci_dentry); in detach_attrs() local
[all …]
/fs/nilfs2/
Dnamei.c44 static inline int nilfs_add_nondir(struct dentry *dentry, struct inode *inode) in nilfs_add_nondir()
64 nilfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in nilfs_lookup()
85 static int nilfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in nilfs_create()
113 nilfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in nilfs_mknod()
137 static int nilfs_symlink(struct inode *dir, struct dentry *dentry, in nilfs_symlink()
187 struct dentry *dentry) in nilfs_link()
214 static int nilfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in nilfs_mkdir()
268 static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry) in nilfs_do_unlink()
302 static int nilfs_unlink(struct inode *dir, struct dentry *dentry) in nilfs_unlink()
323 static int nilfs_rmdir(struct inode *dir, struct dentry *dentry) in nilfs_rmdir()

12345678910>>...13