Home
last modified time | relevance | path

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

12345678910>>...14

/linux-4.19.296/include/linux/
Ddcache.h88 struct dentry { struct
91 seqcount_t d_seq; /* per dentry seqlock */ argument
93 struct dentry *d_parent; /* parent directory */ argument
100 struct lockref d_lockref; /* per-dentry lock and refcount */ argument
101 const struct dentry_operations *d_op; argument
102 struct super_block *d_sb; /* The root of the dentry tree */ argument
123 * dentry->d_lock spinlock nesting subclasses: argument
284 static inline unsigned d_count(const struct dentry *dentry) in d_count()
312 static inline struct dentry *dget_dlock(struct dentry *dentry) in dget_dlock()
319 static inline struct dentry *dget(struct dentry *dentry) in dget()
[all …]
Devm.h54 static inline enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr()
64 static inline int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) in evm_inode_setattr()
69 static inline void evm_inode_post_setattr(struct dentry *dentry, int ia_valid) in evm_inode_post_setattr()
74 static inline int evm_inode_setxattr(struct dentry *dentry, const char *name, in evm_inode_setxattr()
80 static inline void evm_inode_post_setxattr(struct dentry *dentry, in evm_inode_post_setxattr()
88 static inline int evm_inode_removexattr(struct dentry *dentry, in evm_inode_removexattr()
94 static inline void evm_inode_post_removexattr(struct dentry *dentry, in evm_inode_post_removexattr()
/linux-4.19.296/fs/overlayfs/
Dutil.c21 int ovl_want_write(struct dentry *dentry) in ovl_want_write()
27 void ovl_drop_write(struct dentry *dentry) in ovl_drop_write()
33 struct dentry *ovl_workdir(struct dentry *dentry) in ovl_workdir()
109 bool ovl_dentry_remote(struct dentry *dentry) in ovl_dentry_remote()
116 bool ovl_dentry_weird(struct dentry *dentry) in ovl_dentry_weird()
124 enum ovl_path_type ovl_path_type(struct dentry *dentry) in ovl_path_type()
149 void ovl_path_upper(struct dentry *dentry, struct path *path) in ovl_path_upper()
157 void ovl_path_lower(struct dentry *dentry, struct path *path) in ovl_path_lower()
169 void ovl_path_lowerdata(struct dentry *dentry, struct path *path) in ovl_path_lowerdata()
181 enum ovl_path_type ovl_path_real(struct dentry *dentry, struct path *path) in ovl_path_real()
[all …]
Ddir.c89 struct dentry *dentry) in ovl_cleanup_and_whiteout()
122 struct dentry *d, *dentry = *newdentry; in ovl_mkdir_real() local
211 static int ovl_set_opaque_xerr(struct dentry *dentry, struct dentry *upper, in ovl_set_opaque_xerr()
223 static int ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) in ovl_set_opaque()
238 static int ovl_instantiate(struct dentry *dentry, struct inode *inode, in ovl_instantiate()
283 static bool ovl_type_merge(struct dentry *dentry) in ovl_type_merge()
288 static bool ovl_type_origin(struct dentry *dentry) in ovl_type_origin()
293 static int ovl_create_upper(struct dentry *dentry, struct inode *inode, in ovl_create_upper()
332 static struct dentry *ovl_clear_empty(struct dentry *dentry, in ovl_clear_empty()
432 static int ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode, in ovl_create_over_whiteout()
[all …]
Dexport.c22 static int ovl_encode_maybe_copy_up(struct dentry *dentry) in ovl_encode_maybe_copy_up()
80 static int ovl_connectable_layer(struct dentry *dentry) in ovl_connectable_layer()
108 static int ovl_connect_layer(struct dentry *dentry) in ovl_connect_layer()
186 static int ovl_check_encode_origin(struct dentry *dentry) in ovl_check_encode_origin()
217 static int ovl_d_to_fh(struct dentry *dentry, char *buf, int buflen) in ovl_d_to_fh()
254 static int ovl_dentry_to_fh(struct dentry *dentry, u32 *fid, int *max_len) in ovl_dentry_to_fh()
272 struct dentry *dentry; in ovl_encode_fh() local
299 struct dentry *dentry; in ovl_obtain_alias() local
349 static struct dentry *ovl_dentry_real_at(struct dentry *dentry, int idx) in ovl_dentry_real_at()
687 struct dentry *dentry; in ovl_upper_fh_to_d() local
[all …]
/linux-4.19.296/fs/
Ddcache.c217 static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount) in dentry_cmp()
248 static inline struct external_name *external_name(struct dentry *dentry) in external_name()
255 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local
274 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free_external() local
281 static inline int dname_external(const struct dentry *dentry) in dname_external()
286 void take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry) in take_dentry_name_snapshot()
314 static inline void __d_set_inode_and_type(struct dentry *dentry, in __d_set_inode_and_type()
327 static inline void __d_clear_type_and_inode(struct dentry *dentry) in __d_clear_type_and_inode()
336 static void dentry_free(struct dentry *dentry) in dentry_free()
357 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 …]
/linux-4.19.296/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()
59 static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t mode, dev_t rdev) in sysv_mknod()
78 static int sysv_create(struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in sysv_create()
83 static int sysv_symlink(struct inode * dir, struct dentry * dentry, in sysv_symlink()
115 struct dentry * dentry) in sysv_link()
126 static int sysv_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in sysv_mkdir()
163 static int sysv_unlink(struct inode * dir, struct dentry * dentry) in sysv_unlink()
184 static int sysv_rmdir(struct inode * dir, struct dentry * dentry) in sysv_rmdir()
/linux-4.19.296/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()
36 static int minix_mknod(struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod()
54 static int minix_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in minix_tmpfile()
66 static int minix_create(struct inode *dir, struct dentry *dentry, umode_t mode, in minix_create()
72 static int minix_symlink(struct inode * dir, struct dentry *dentry, in minix_symlink()
102 struct dentry *dentry) in minix_link()
112 static int minix_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in minix_mkdir()
148 static int minix_unlink(struct inode * dir, struct dentry *dentry) in minix_unlink()
169 static int minix_rmdir(struct inode * dir, struct dentry *dentry) in minix_rmdir()
/linux-4.19.296/fs/autofs/
Droot.c66 static void autofs_add_active(struct dentry *dentry) in autofs_add_active()
83 static void autofs_del_active(struct dentry *dentry) in autofs_del_active()
102 struct dentry *dentry = file->f_path.dentry; in autofs_dir_open() local
152 static struct dentry *autofs_lookup_active(struct dentry *dentry) in autofs_lookup_active()
206 static struct dentry *autofs_lookup_expiring(struct dentry *dentry, in autofs_lookup_expiring()
285 struct dentry *dentry = path->dentry; in do_expire_wait() local
309 struct dentry *dentry = path->dentry; in autofs_mountpoint_changed() local
334 struct dentry *dentry = path->dentry; in autofs_d_automount() local
422 struct dentry *dentry = path->dentry; in autofs_d_manage() local
498 struct dentry *dentry, unsigned int flags) in autofs_lookup()
[all …]
/linux-4.19.296/fs/ufs/
Dnamei.c38 static inline int ufs_add_nondir(struct dentry *dentry, struct inode *inode) in ufs_add_nondir()
50 static struct dentry *ufs_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ufs_lookup()
72 static int ufs_create (struct inode * dir, struct dentry * dentry, umode_t mode, in ufs_create()
88 static int ufs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ufs_mknod()
107 static int ufs_symlink (struct inode * dir, struct dentry * dentry, in ufs_symlink()
149 struct dentry *dentry) in ufs_link()
167 static int ufs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ufs_mkdir()
205 static int ufs_unlink(struct inode *dir, struct dentry *dentry) in ufs_unlink()
227 static int ufs_rmdir (struct inode * dir, struct dentry *dentry) in ufs_rmdir()
/linux-4.19.296/fs/ext2/
Dnamei.c40 static inline int ext2_add_nondir(struct dentry *dentry, struct inode *inode) in ext2_add_nondir()
56 static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ext2_lookup()
95 static int ext2_create (struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in ext2_create()
113 static int ext2_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in ext2_tmpfile()
126 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod()
148 static int ext2_symlink (struct inode * dir, struct dentry * dentry, in ext2_symlink()
199 struct dentry *dentry) in ext2_link()
222 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir()
268 static int ext2_unlink(struct inode * dir, struct dentry *dentry) in ext2_unlink()
296 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
/linux-4.19.296/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()
/linux-4.19.296/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()
/linux-4.19.296/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()
/linux-4.19.296/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
135 struct dentry *dentry = object->dentry; in cachefiles_update_object_xattr() local
166 struct dentry *dentry = object->dentry; in cachefiles_check_auxdata() local
205 struct dentry *dentry = object->dentry; in cachefiles_check_object_xattr() local
312 struct dentry *dentry) in cachefiles_remove_object_xattr()
/linux-4.19.296/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()
118 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root()
157 struct dentry *dentry; in nfsd_set_fh_dentry() local
324 struct dentry *dentry; in fh_verify() local
409 struct dentry *dentry) in _fh_update()
428 static inline void _fh_update_old(struct dentry *dentry, in _fh_update_old()
529 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose()
611 struct dentry *dentry; in fh_update() local
645 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
/linux-4.19.296/fs/ecryptfs/
Dinode.c38 static struct dentry *lock_parent(struct dentry *dentry) in lock_parent()
130 struct dentry *dentry, struct super_block *sb) in ecryptfs_interpose()
141 static int ecryptfs_do_unlink(struct inode *dir, struct dentry *dentry, in ecryptfs_do_unlink()
291 static int ecryptfs_i_size_read(struct dentry *dentry, struct inode *inode) in ecryptfs_i_size_read()
325 static struct dentry *ecryptfs_lookup_interpose(struct dentry *dentry, in ecryptfs_lookup_interpose()
464 static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry) in ecryptfs_unlink()
469 static int ecryptfs_symlink(struct inode *dir, struct dentry *dentry, in ecryptfs_symlink()
508 static int ecryptfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ecryptfs_mkdir()
532 static int ecryptfs_rmdir(struct inode *dir, struct dentry *dentry) in ecryptfs_rmdir()
556 ecryptfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in ecryptfs_mknod()
[all …]
/linux-4.19.296/fs/xfs/
Dxfs_iops.c90 struct dentry *dentry) in xfs_dentry_to_name()
100 struct dentry *dentry, in xfs_dentry_mode_to_name()
117 struct dentry *dentry) in xfs_cleanup_inode()
134 struct dentry *dentry, in xfs_generic_create()
228 struct dentry *dentry, in xfs_vn_mknod()
238 struct dentry *dentry, in xfs_vn_create()
248 struct dentry *dentry, in xfs_vn_mkdir()
257 struct dentry *dentry, in xfs_vn_lookup()
282 struct dentry *dentry, in xfs_vn_ci_lookup()
323 struct dentry *dentry) in xfs_vn_link()
[all …]
/linux-4.19.296/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 …]
/linux-4.19.296/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()
236 affs_unlink(struct inode *dir, struct dentry *dentry) in affs_unlink()
245 affs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in affs_create()
[all …]
/linux-4.19.296/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()
167 static void change_gid(struct dentry *dentry, kgid_t gid) in change_gid()
195 struct dentry *dentry = list_entry(tmp, struct dentry, d_child); in set_gid() local
405 struct dentry *dentry; in start_creating() local
438 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating()
446 static struct dentry *end_creating(struct dentry *dentry) in end_creating()
482 struct dentry *dentry; in tracefs_create_file() local
510 struct dentry *dentry = start_creating(name, parent); in __create_dir() local
[all …]
/linux-4.19.296/fs/debugfs/
Dinode.c186 static void debugfs_release_dentry(struct dentry *dentry) in debugfs_release_dentry()
270 struct dentry *dentry; in debugfs_lookup() local
287 struct dentry *dentry; in start_creating() local
323 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating()
331 static struct dentry *end_creating(struct dentry *dentry) in end_creating()
342 struct dentry *dentry; in __debugfs_create_file() local
506 struct dentry *dentry = start_creating(name, parent); in debugfs_create_dir() local
545 struct dentry *dentry = start_creating(name, parent); in debugfs_create_automount() local
594 struct dentry *dentry; in debugfs_create_symlink() local
619 static void __debugfs_remove_file(struct dentry *dentry, struct dentry *parent) in __debugfs_remove_file()
[all …]
/linux-4.19.296/fs/ceph/
Ddir.c35 static int ceph_d_init(struct dentry *dentry) in ceph_d_init()
125 struct dentry *dentry; in __dcache_find_get_entry() local
180 struct dentry *dentry, *last = NULL; in __dcache_readdir() local
662 struct dentry *dentry, int err) in ceph_handle_snapdir()
694 struct dentry *dentry, int err) in ceph_finish_lookup()
719 static bool is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry()
729 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup()
795 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create()
818 static int ceph_mknod(struct inode *dir, struct dentry *dentry, in ceph_mknod()
871 static int ceph_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ceph_create()
[all …]
/linux-4.19.296/fs/afs/
Ddynroot.c28 static int afs_probe_cell_name(struct dentry *dentry) in afs_probe_cell_name()
59 struct inode *afs_try_auto_mntpt(struct dentry *dentry, struct inode *dir) in afs_try_auto_mntpt()
93 static struct dentry *afs_lookup_atcell(struct dentry *dentry) in afs_lookup_atcell()
141 static struct dentry *afs_dynroot_lookup(struct inode *dir, struct dentry *dentry, in afs_dynroot_lookup()
170 static int afs_dynroot_d_revalidate(struct dentry *dentry, unsigned int flags) in afs_dynroot_d_revalidate()
181 static int afs_dynroot_d_delete(const struct dentry *dentry) in afs_dynroot_d_delete()

12345678910>>...14