Home
last modified time | relevance | path

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

12345678910>>...13

/fs/overlayfs/
Dutil.c22 int ovl_want_write(struct dentry *dentry) in ovl_want_write()
28 void ovl_drop_write(struct dentry *dentry) in ovl_drop_write()
34 struct dentry *ovl_workdir(struct dentry *dentry) in ovl_workdir()
55 ssize_t ovl_vfs_getxattr(struct dentry *dentry, const char *name, void *buf, in ovl_vfs_getxattr()
92 bool ovl_dentry_remote(struct dentry *dentry) in ovl_dentry_remote()
99 bool ovl_dentry_weird(struct dentry *dentry) in ovl_dentry_weird()
107 enum ovl_path_type ovl_path_type(struct dentry *dentry) in ovl_path_type()
130 void ovl_path_upper(struct dentry *dentry, struct path *path) in ovl_path_upper()
138 void ovl_path_lower(struct dentry *dentry, struct path *path) in ovl_path_lower()
145 enum ovl_path_type ovl_path_real(struct dentry *dentry, struct path *path) in ovl_path_real()
[all …]
Ddir.c67 struct dentry *dentry) in ovl_whiteout()
132 static int ovl_set_opaque_xerr(struct dentry *dentry, struct dentry *upper, in ovl_set_opaque_xerr()
144 static int ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) in ovl_set_opaque()
155 static void ovl_instantiate(struct dentry *dentry, struct inode *inode, in ovl_instantiate()
174 static bool ovl_type_merge(struct dentry *dentry) in ovl_type_merge()
179 static bool ovl_type_origin(struct dentry *dentry) in ovl_type_origin()
184 static int ovl_create_upper(struct dentry *dentry, struct inode *inode, in ovl_create_upper()
219 static struct dentry *ovl_clear_empty(struct dentry *dentry, in ovl_clear_empty()
299 static struct dentry *ovl_check_empty_and_clear(struct dentry *dentry) in ovl_check_empty_and_clear()
357 static int ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode, in ovl_create_over_whiteout()
[all …]
Doverlayfs.h72 static inline int ovl_do_rmdir(struct inode *dir, struct dentry *dentry) in ovl_do_rmdir()
79 static inline int ovl_do_unlink(struct inode *dir, struct dentry *dentry) in ovl_do_unlink()
97 static inline int ovl_do_create(struct inode *dir, struct dentry *dentry, in ovl_do_create()
106 static inline int ovl_do_mkdir(struct inode *dir, struct dentry *dentry, in ovl_do_mkdir()
115 static inline int ovl_do_mknod(struct inode *dir, struct dentry *dentry, in ovl_do_mknod()
126 static inline int ovl_do_symlink(struct inode *dir, struct dentry *dentry, in ovl_do_symlink()
135 static inline int ovl_do_setxattr(struct dentry *dentry, const char *name, in ovl_do_setxattr()
144 static inline int ovl_do_removexattr(struct dentry *dentry, const char *name) in ovl_do_removexattr()
169 static inline int ovl_do_whiteout(struct inode *dir, struct dentry *dentry) in ovl_do_whiteout()
176 static inline struct dentry *ovl_do_tmpfile(struct dentry *dentry, umode_t mode) in ovl_do_tmpfile()
[all …]
Dinode.c19 int ovl_setattr(struct dentry *dentry, struct iattr *attr) in ovl_setattr()
65 struct dentry *dentry = path->dentry; in ovl_getattr() local
184 static const char *ovl_get_link(struct dentry *dentry, in ovl_get_link()
206 int ovl_xattr_set(struct dentry *dentry, struct inode *inode, const char *name, in ovl_xattr_set()
247 int __ovl_xattr_get(struct dentry *dentry, struct inode *inode, in __ovl_xattr_get()
262 int ovl_xattr_get(struct dentry *dentry, struct inode *inode, const char *name, in ovl_xattr_get()
287 ssize_t ovl_listxattr(struct dentry *dentry, char *list, size_t size) in ovl_listxattr()
337 static bool ovl_open_need_copy_up(struct dentry *dentry, int flags) in ovl_open_need_copy_up()
352 int ovl_open_maybe_copy_up(struct dentry *dentry, unsigned int file_flags) in ovl_open_maybe_copy_up()
507 static int ovl_set_nlink_common(struct dentry *dentry, in ovl_set_nlink_common()
[all …]
Dnamei.c29 static int ovl_check_redirect(struct dentry *dentry, struct ovl_lookup_data *d, in ovl_check_redirect()
95 static int ovl_acceptable(void *ctx, struct dentry *dentry) in ovl_acceptable()
100 static struct ovl_fh *ovl_get_origin_fh(struct dentry *dentry) in ovl_get_origin_fh()
153 static struct dentry *ovl_get_origin(struct dentry *dentry, in ovl_get_origin()
196 static bool ovl_is_opaquedir(struct dentry *dentry) in ovl_is_opaquedir()
262 struct dentry *dentry = NULL; in ovl_lookup_layer() local
337 static int ovl_verify_origin_fh(struct dentry *dentry, const struct ovl_fh *fh) in ovl_verify_origin_fh()
363 int ovl_verify_origin(struct dentry *dentry, struct vfsmount *mnt, in ovl_verify_origin()
504 static struct dentry *ovl_lookup_index(struct dentry *dentry, in ovl_lookup_index()
571 int ovl_path_next(int idx, struct dentry *dentry, struct path *path) in ovl_path_next()
[all …]
/fs/
Ddcache.c230 static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount) in dentry_cmp()
261 static inline struct external_name *external_name(struct dentry *dentry) in external_name()
268 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local
287 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free_external() local
294 static inline int dname_external(const struct dentry *dentry) in dname_external()
299 void take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry) in take_dentry_name_snapshot()
327 static inline void __d_set_inode_and_type(struct dentry *dentry, in __d_set_inode_and_type()
340 static inline void __d_clear_type_and_inode(struct dentry *dentry) in __d_clear_type_and_inode()
349 static void dentry_free(struct dentry *dentry) in dentry_free()
370 static void dentry_unlink_inode(struct dentry * dentry) in dentry_unlink_inode()
[all …]
Dbad_inode.c29 static int bad_inode_create (struct inode *dir, struct dentry *dentry, in bad_inode_create()
36 struct dentry *dentry, unsigned int flags) in bad_inode_lookup()
42 struct dentry *dentry) in bad_inode_link()
47 static int bad_inode_unlink(struct inode *dir, struct dentry *dentry) in bad_inode_unlink()
52 static int bad_inode_symlink (struct inode *dir, struct dentry *dentry, in bad_inode_symlink()
58 static int bad_inode_mkdir(struct inode *dir, struct dentry *dentry, in bad_inode_mkdir()
64 static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry) in bad_inode_rmdir()
69 static int bad_inode_mknod (struct inode *dir, struct dentry *dentry, in bad_inode_mknod()
82 static int bad_inode_readlink(struct dentry *dentry, char __user *buffer, in bad_inode_readlink()
104 static ssize_t bad_inode_listxattr(struct dentry *dentry, char *buffer, in bad_inode_listxattr()
[all …]
/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()
291 struct dentry *dentry = path->dentry; in do_expire_wait() local
315 struct dentry *dentry = path->dentry; in autofs4_mountpoint_changed() local
340 struct dentry *dentry = path->dentry; in autofs4_d_automount() local
428 struct dentry *dentry = path->dentry; in autofs4_d_manage() local
504 struct dentry *dentry, unsigned int flags) in autofs4_lookup()
[all …]
/fs/minix/
Dnamei.c10 static int add_nondir(struct dentry *dentry, struct inode *inode) in add_nondir()
22 static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in minix_lookup()
40 static int minix_mknod(struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod()
58 static int minix_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in minix_tmpfile()
70 static int minix_create(struct inode *dir, struct dentry *dentry, umode_t mode, in minix_create()
76 static int minix_symlink(struct inode * dir, struct dentry *dentry, in minix_symlink()
106 struct dentry *dentry) in minix_link()
116 static int minix_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in minix_mkdir()
152 static int minix_unlink(struct inode * dir, struct dentry *dentry) in minix_unlink()
173 static int minix_rmdir(struct inode * dir, struct dentry *dentry) in minix_rmdir()
/fs/sysv/
Dnamei.c19 static int add_nondir(struct dentry *dentry, struct inode *inode) in add_nondir()
31 static int sysv_hash(const struct dentry *dentry, struct qstr *qstr) in sysv_hash()
46 static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) in sysv_lookup()
64 static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t mode, dev_t rdev) in sysv_mknod()
83 static int sysv_create(struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in sysv_create()
88 static int sysv_symlink(struct inode * dir, struct dentry * dentry, in sysv_symlink()
120 struct dentry * dentry) in sysv_link()
131 static int sysv_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in sysv_mkdir()
168 static int sysv_unlink(struct inode * dir, struct dentry * dentry) in sysv_unlink()
189 static int sysv_rmdir(struct inode * dir, struct dentry * dentry) in sysv_rmdir()
/fs/ext2/
Dnamei.c40 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()
285 static int ext2_unlink(struct inode * dir, struct dentry *dentry) in ext2_unlink()
313 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
/fs/ufs/
Dnamei.c38 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()
208 static int ufs_unlink(struct inode *dir, struct dentry *dentry) in ufs_unlink()
230 static int ufs_rmdir (struct inode * dir, struct dentry *dentry) in ufs_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/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, const unsigned 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/nfsd/
Dnfsfh.c27 static int nfsd_acceptable(void *expv, struct dentry *dentry) in nfsd_acceptable()
63 nfsd_mode_check(struct svc_rqst *rqstp, struct dentry *dentry, in nfsd_mode_check()
108 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root()
147 struct dentry *dentry; in nfsd_set_fh_dentry() local
314 struct dentry *dentry; in fh_verify() local
399 struct dentry *dentry) in _fh_update()
418 static inline void _fh_update_old(struct dentry *dentry, in _fh_update_old()
519 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose()
601 struct dentry *dentry; in fh_update() local
635 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
/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()
406 static void ocfs2_dentry_iput(struct dentry *dentry, struct inode *inode) in ocfs2_dentry_iput()
456 void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, in ocfs2_dentry_move()
/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()
292 static int ecryptfs_i_size_read(struct dentry *dentry, struct inode *inode) in ecryptfs_i_size_read()
326 static struct dentry *ecryptfs_lookup_interpose(struct dentry *dentry, in ecryptfs_lookup_interpose()
469 static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry) in ecryptfs_unlink()
474 static int ecryptfs_symlink(struct inode *dir, struct dentry *dentry, in ecryptfs_symlink()
513 static int ecryptfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ecryptfs_mkdir()
537 static int ecryptfs_rmdir(struct inode *dir, struct dentry *dentry) in ecryptfs_rmdir()
561 ecryptfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in ecryptfs_mknod()
[all …]
/fs/affs/
Dnamei.c46 __affs_hash_dentry(const struct dentry *dentry, struct qstr *qstr, toupper_t toupper, bool notrunca… in __affs_hash_dentry()
67 affs_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in affs_hash_dentry()
75 affs_intl_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in affs_intl_hash_dentry()
116 affs_compare_dentry(const struct dentry *dentry, in affs_compare_dentry()
125 affs_intl_compare_dentry(const struct dentry *dentry, in affs_intl_compare_dentry()
138 affs_match(struct dentry *dentry, const u8 *name2, toupper_t toupper) in affs_match()
170 affs_find_entry(struct inode *dir, struct dentry *dentry) in affs_find_entry()
199 affs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in affs_lookup()
237 affs_unlink(struct inode *dir, struct dentry *dentry) in affs_unlink()
246 affs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in affs_create()
[all …]
/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.c66 static int xattr_create(struct inode *dir, struct dentry *dentry, int mode) in xattr_create()
73 static int xattr_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in xattr_mkdir()
85 static int xattr_unlink(struct inode *dir, struct dentry *dentry) in xattr_unlink()
100 static int xattr_rmdir(struct inode *dir, struct dentry *dentry) in xattr_rmdir()
198 struct dentry *dentry; in fill_with_dentries() local
239 int (*action)(struct dentry *, void *), in reiserfs_for_each_xattr()
275 struct dentry *dentry = buf.dentries[i]; in reiserfs_for_each_xattr() local
332 static int delete_one_xattr(struct dentry *dentry, void *data) in delete_one_xattr()
343 static int chown_one_xattr(struct dentry *dentry, void *data) in chown_one_xattr()
478 struct dentry *dentry, *xadir; in lookup_and_delete_xattr() local
[all …]
/fs/ceph/
Ddir.c36 static int ceph_d_init(struct dentry *dentry) in ceph_d_init()
126 struct dentry *dentry; in __dcache_find_get_entry() local
181 struct dentry *dentry, *last = NULL; in __dcache_readdir() local
653 struct dentry *dentry, int err) in ceph_handle_snapdir()
685 struct dentry *dentry, int err) in ceph_finish_lookup()
710 static bool is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry()
720 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup()
786 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create()
809 static int ceph_mknod(struct inode *dir, struct dentry *dentry, in ceph_mknod()
857 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()
148 void get_derived_permission(struct dentry *parent, struct dentry *dentry) in get_derived_permission()
166 void fixup_lower_ownership(struct dentry *dentry, const char *name) in fixup_lower_ownership()
288 static void __fixup_perms_recursive(struct dentry *dentry, struct limit_search *limit, int depth) in __fixup_perms_recursive()
327 void fixup_perms_recursive(struct dentry *dentry, struct limit_search *limit) in fixup_perms_recursive()
333 inline void update_derived_permission_lock(struct dentry *dentry) in update_derived_permission_lock()
355 int need_graft_path(struct dentry *dentry) in need_graft_path()
420 int is_base_obbpath(struct dentry *dentry) in is_base_obbpath()
447 int setup_obb_dentry(struct dentry *dentry, struct path *lower_path) in setup_obb_dentry()
/fs/ncpfs/
Ddir.c129 ncp_hash_dentry(const struct dentry *dentry, struct qstr *this) in ncp_hash_dentry()
157 ncp_compare_dentry(const struct dentry *dentry, in ncp_compare_dentry()
181 ncp_delete_dentry(const struct dentry * dentry) in ncp_delete_dentry()
217 ncp_force_unlink(struct inode *dir, struct dentry* dentry) in ncp_force_unlink()
311 ncp_lookup_validate(struct dentry *dentry, unsigned int flags) in ncp_lookup_validate()
389 static time_t ncp_obtain_mtime(struct dentry *dentry) in ncp_obtain_mtime()
408 struct dentry *dentry; in ncp_invalidate_dircache_entries() local
420 struct dentry *dentry = file->f_path.dentry; in ncp_readdir() local
570 static void ncp_d_prune(struct dentry *dentry) in ncp_d_prune()
582 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()
317 struct dentry *dentry; in start_creating() local
350 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating()
358 static struct dentry *end_creating(struct dentry *dentry) in end_creating()
394 struct dentry *dentry; in tracefs_create_file() local
420 struct dentry *dentry = start_creating(name, parent); in __create_dir() local
485 struct dentry *dentry; in tracefs_create_instance_dir() local
501 static int __tracefs_remove(struct dentry *dentry, struct dentry *parent) in __tracefs_remove()
[all …]

12345678910>>...13