Home
last modified time | relevance | path

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

12345678910>>...20

/kernel/linux/linux-5.10/include/linux/
Ddcache.h89 struct dentry { struct
92 seqcount_spinlock_t d_seq; /* per dentry seqlock */ argument
94 struct dentry *d_parent; /* parent directory */ argument
101 struct lockref d_lockref; /* per-dentry lock and refcount */ argument
102 const struct dentry_operations *d_op; argument
103 struct super_block *d_sb; /* The root of the dentry tree */ argument
124 * dentry->d_lock spinlock nesting subclasses: argument
286 static inline unsigned d_count(const struct dentry *dentry) in d_count()
313 static inline struct dentry *dget_dlock(struct dentry *dentry) in dget_dlock()
320 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()
Dfsnotify.h36 static inline void fsnotify_dirent(struct inode *dir, struct dentry *dentry, in fsnotify_dirent()
51 static inline int fsnotify_parent(struct dentry *dentry, __u32 mask, in fsnotify_parent()
78 static inline void fsnotify_dentry(struct dentry *dentry, __u32 mask) in fsnotify_dentry()
185 static inline void fsnotify_create(struct inode *inode, struct dentry *dentry) in fsnotify_create()
215 struct dentry *dentry) in fsnotify_delete()
232 static inline void d_delete_notify(struct inode *dir, struct dentry *dentry) in d_delete_notify()
247 static inline void fsnotify_unlink(struct inode *dir, struct dentry *dentry) in fsnotify_unlink()
258 static inline void fsnotify_mkdir(struct inode *inode, struct dentry *dentry) in fsnotify_mkdir()
270 static inline void fsnotify_rmdir(struct inode *dir, struct dentry *dentry) in fsnotify_rmdir()
321 static inline void fsnotify_xattr(struct dentry *dentry) in fsnotify_xattr()
[all …]
/kernel/linux/linux-5.10/fs/overlayfs/
Dutil.c18 int ovl_want_write(struct dentry *dentry) in ovl_want_write()
24 void ovl_drop_write(struct dentry *dentry) in ovl_drop_write()
30 struct dentry *ovl_workdir(struct dentry *dentry) in ovl_workdir()
95 bool ovl_dentry_remote(struct dentry *dentry) in ovl_dentry_remote()
100 void ovl_dentry_update_reval(struct dentry *dentry, struct dentry *realdentry) in ovl_dentry_update_reval()
110 void ovl_dentry_init_reval(struct dentry *dentry, struct dentry *upperdentry) in ovl_dentry_init_reval()
115 void ovl_dentry_init_flags(struct dentry *dentry, struct dentry *upperdentry, in ovl_dentry_init_flags()
132 bool ovl_dentry_weird(struct dentry *dentry) in ovl_dentry_weird()
140 enum ovl_path_type ovl_path_type(struct dentry *dentry) in ovl_path_type()
165 void ovl_path_upper(struct dentry *dentry, struct path *path) in ovl_path_upper()
[all …]
Ddir.c110 struct dentry *dentry) in ovl_cleanup_and_whiteout()
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()
244 static int ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) in ovl_set_opaque()
259 static int ovl_instantiate(struct dentry *dentry, struct inode *inode, in ovl_instantiate()
308 static bool ovl_type_merge(struct dentry *dentry) in ovl_type_merge()
313 static bool ovl_type_origin(struct dentry *dentry) in ovl_type_origin()
318 static int ovl_create_upper(struct dentry *dentry, struct inode *inode, in ovl_create_upper()
357 static struct dentry *ovl_clear_empty(struct dentry *dentry, in ovl_clear_empty()
456 static int ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode, in ovl_create_over_whiteout()
[all …]
Dexport.c19 static int ovl_encode_maybe_copy_up(struct dentry *dentry) in ovl_encode_maybe_copy_up()
77 static int ovl_connectable_layer(struct dentry *dentry) in ovl_connectable_layer()
105 static int ovl_connect_layer(struct dentry *dentry) in ovl_connect_layer()
183 static int ovl_check_encode_origin(struct dentry *dentry) in ovl_check_encode_origin()
214 static int ovl_dentry_to_fid(struct dentry *dentry, u32 *fid, int buflen) in ovl_dentry_to_fid()
252 struct dentry *dentry; in ovl_encode_fh() local
285 struct dentry *dentry; in ovl_obtain_alias() local
340 static struct dentry *ovl_dentry_real_at(struct dentry *dentry, int idx) in ovl_dentry_real_at()
676 struct dentry *dentry; in ovl_upper_fh_to_d() local
698 struct dentry *dentry = NULL; in ovl_lower_fh_to_d() local
[all …]
/kernel/linux/linux-5.10/fs/
Ddcache.c231 static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount) in dentry_cmp()
262 static inline struct external_name *external_name(struct dentry *dentry) in external_name()
269 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local
276 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()
312 static inline void __d_set_inode_and_type(struct dentry *dentry, in __d_set_inode_and_type()
325 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.c30 static int bad_inode_create (struct inode *dir, struct dentry *dentry, in bad_inode_create()
37 struct dentry *dentry, unsigned int flags) in bad_inode_lookup()
43 struct dentry *dentry) in bad_inode_link()
48 static int bad_inode_unlink(struct inode *dir, struct dentry *dentry) in bad_inode_unlink()
53 static int bad_inode_symlink (struct inode *dir, struct dentry *dentry, in bad_inode_symlink()
59 static int bad_inode_mkdir(struct inode *dir, struct dentry *dentry, in bad_inode_mkdir()
65 static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry) in bad_inode_rmdir()
70 static int bad_inode_mknod (struct inode *dir, struct dentry *dentry, in bad_inode_mknod()
83 static int bad_inode_readlink(struct dentry *dentry, char __user *buffer, in bad_inode_readlink()
105 static ssize_t bad_inode_listxattr(struct dentry *dentry, char *buffer, in bad_inode_listxattr()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/hmdfs/
Ddentry.c18 void hmdfs_set_time(struct dentry *dentry, unsigned long time) in hmdfs_set_time()
26 unsigned long hmdfs_get_time(struct dentry *dentry) in hmdfs_get_time()
55 static inline void lock_for_dname_cmp(struct dentry *dentry, in lock_for_dname_cmp()
67 static inline void unlock_for_dname_cmp(struct dentry *dentry, in unlock_for_dname_cmp()
170 static void hmdfs_dev_d_release(struct dentry *dentry) in hmdfs_dev_d_release()
211 static void hmdfs_d_release(struct dentry *dentry) in hmdfs_d_release()
223 static int hmdfs_cmp_ci(const struct dentry *dentry, unsigned int len, in hmdfs_cmp_ci()
241 static int hmdfs_hash_ci(const struct dentry *dentry, struct qstr *qstr) in hmdfs_hash_ci()
270 void clear_comrades(struct dentry *dentry) in clear_comrades()
332 static void d_release_merge(struct dentry *dentry) in d_release_merge()
Dinode_remote.c27 struct hmdfs_dentry *dentry = NULL; in lookup_remote_dentry() local
72 struct dentry *dentry, in get_remote_inode_info()
115 struct dentry *dentry = rw->dentry; in hmdfs_remote_readdir_work() local
137 static void get_remote_dentry_file_in_wq(struct dentry *dentry, in get_remote_dentry_file_in_wq()
164 void get_remote_dentry_file_sync(struct dentry *dentry, struct hmdfs_peer *con) in get_remote_dentry_file_sync()
171 struct dentry *dentry, in hmdfs_lookup_by_con()
515 void delete_in_cache_file(uint64_t dev_id, struct dentry *dentry) in delete_in_cache_file()
528 int hmdfs_mkdir_remote_dentry(struct hmdfs_peer *conn, struct dentry *dentry, in hmdfs_mkdir_remote_dentry()
574 int hmdfs_mkdir_remote(struct inode *dir, struct dentry *dentry, umode_t mode) in hmdfs_mkdir_remote()
596 int hmdfs_create_remote_dentry(struct hmdfs_peer *conn, struct dentry *dentry, in hmdfs_create_remote_dentry()
[all …]
/kernel/linux/linux-5.10/security/integrity/evm/
Devm_main.c93 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs()
129 static enum integrity_status evm_verify_hmac(struct dentry *dentry, in evm_verify_hmac()
273 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr()
298 static enum integrity_status evm_verify_current_integrity(struct dentry *dentry) in evm_verify_current_integrity()
319 static int evm_protect_xattr(struct dentry *dentry, const char *xattr_name, in evm_protect_xattr()
378 int evm_inode_setxattr(struct dentry *dentry, const char *xattr_name, in evm_inode_setxattr()
408 int evm_inode_removexattr(struct dentry *dentry, const char *xattr_name) in evm_inode_removexattr()
441 void evm_inode_post_setxattr(struct dentry *dentry, const char *xattr_name, in evm_inode_post_setxattr()
463 void evm_inode_post_removexattr(struct dentry *dentry, const char *xattr_name) in evm_inode_post_removexattr()
482 int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) in evm_inode_setattr()
[all …]
/kernel/linux/linux-5.10/fs/autofs/
Droot.c63 static void autofs_del_active(struct dentry *dentry) in autofs_del_active()
76 struct dentry *dentry = file->f_path.dentry; in autofs_dir_open() local
126 static struct dentry *autofs_lookup_active(struct dentry *dentry) in autofs_lookup_active()
180 static struct dentry *autofs_lookup_expiring(struct dentry *dentry, in autofs_lookup_expiring()
262 struct dentry *dentry = path->dentry; in do_expire_wait() local
286 struct dentry *dentry = path->dentry; in autofs_mountpoint_changed() local
311 struct dentry *dentry = path->dentry; in autofs_d_automount() local
399 struct dentry *dentry = path->dentry; in autofs_d_manage() local
475 struct dentry *dentry, unsigned int flags) in autofs_lookup()
528 struct dentry *dentry, in autofs_dir_symlink()
[all …]
/kernel/linux/linux-5.10/fs/sysv/
Dnamei.c19 static int add_nondir(struct dentry *dentry, struct inode *inode) in add_nondir()
31 static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) in sysv_lookup()
44 static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t mode, dev_t rdev) in sysv_mknod()
63 static int sysv_create(struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in sysv_create()
68 static int sysv_symlink(struct inode * dir, struct dentry * dentry, in sysv_symlink()
100 struct dentry * dentry) in sysv_link()
111 static int sysv_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in sysv_mkdir()
148 static int sysv_unlink(struct inode * dir, struct dentry * dentry) in sysv_unlink()
169 static int sysv_rmdir(struct inode * dir, struct dentry * dentry) in sysv_rmdir()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/fs/9p/
Dfid.c29 static inline void __add_fid(struct dentry *dentry, struct p9_fid *fid) in __add_fid()
34 void v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid) in v9fs_fid_add()
49 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find()
79 struct dentry *dentry, const unsigned char ***names) in build_path_from_dentry()
101 static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry, in v9fs_fid_lookup_with_uid()
216 struct p9_fid *v9fs_fid_lookup(struct dentry *dentry) in v9fs_fid_lookup()
245 struct p9_fid *v9fs_writeback_fid(struct dentry *dentry) in v9fs_writeback_fid()
/kernel/linux/linux-5.10/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()
103 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()
134 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod()
154 static int ext2_symlink (struct inode * dir, struct dentry * dentry, in ext2_symlink()
205 struct dentry *dentry) in ext2_link()
228 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir()
274 static int ext2_unlink(struct inode * dir, struct dentry *dentry) in ext2_unlink()
302 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
/kernel/linux/linux-5.10/fs/ceph/
Ddir.c38 static int ceph_d_init(struct dentry *dentry) in ceph_d_init()
132 struct dentry *dentry; in __dcache_find_get_entry() local
187 struct dentry *dentry, *last = NULL; in __dcache_readdir() local
331 struct dentry *dentry = file->f_path.dentry; in ceph_readdir() local
678 struct dentry *dentry, int err) in ceph_handle_snapdir()
710 struct dentry *dentry, int err) in ceph_finish_lookup()
735 static bool is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry()
745 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup()
812 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create()
835 static int ceph_mknod(struct inode *dir, struct dentry *dentry, in ceph_mknod()
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/
Ddcache.c28 void ocfs2_dentry_attach_gen(struct dentry *dentry) in ocfs2_dentry_attach_gen()
37 static int ocfs2_dentry_revalidate(struct dentry *dentry, unsigned int flags) in ocfs2_dentry_revalidate()
114 static int ocfs2_match_dentry(struct dentry *dentry, in ocfs2_match_dentry()
158 struct dentry *dentry; in ocfs2_find_local_alias() local
212 int ocfs2_dentry_attach_lock(struct dentry *dentry, in ocfs2_dentry_attach_lock()
392 static void ocfs2_dentry_iput(struct dentry *dentry, struct inode *inode) in ocfs2_dentry_iput()
442 void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, in ocfs2_dentry_move()
/kernel/linux/linux-5.10/fs/cachefiles/
Dxattr.c27 struct dentry *dentry = object->dentry; in cachefiles_check_object_type() local
102 struct dentry *dentry = object->dentry; in cachefiles_set_object_xattr() local
131 struct dentry *dentry = object->dentry; in cachefiles_update_object_xattr() local
162 struct dentry *dentry = object->dentry; in cachefiles_check_auxdata() local
201 struct dentry *dentry = object->dentry; in cachefiles_check_object_xattr() local
308 struct dentry *dentry) in cachefiles_remove_object_xattr()
/kernel/linux/linux-5.10/fs/nfsd/
Dnfsfh.c28 static int nfsd_acceptable(void *expv, struct dentry *dentry) in nfsd_acceptable()
64 nfsd_mode_check(struct svc_rqst *rqstp, struct dentry *dentry, in nfsd_mode_check()
119 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root()
158 struct dentry *dentry; in nfsd_set_fh_dentry() local
331 struct dentry *dentry; in fh_verify() local
416 struct dentry *dentry) in _fh_update()
435 static inline void _fh_update_old(struct dentry *dentry, in _fh_update_old()
536 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose()
618 struct dentry *dentry; in fh_update() local
652 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
/kernel/linux/linux-5.10/fs/ecryptfs/
Dinode.c24 static struct dentry *lock_parent(struct dentry *dentry) in lock_parent()
116 struct dentry *dentry, struct super_block *sb) in ecryptfs_interpose()
127 static int ecryptfs_do_unlink(struct inode *dir, struct dentry *dentry, in ecryptfs_do_unlink()
285 static int ecryptfs_i_size_read(struct dentry *dentry, struct inode *inode) in ecryptfs_i_size_read()
319 static struct dentry *ecryptfs_lookup_interpose(struct dentry *dentry, in ecryptfs_lookup_interpose()
458 static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry) in ecryptfs_unlink()
463 static int ecryptfs_symlink(struct inode *dir, struct dentry *dentry, in ecryptfs_symlink()
502 static int ecryptfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ecryptfs_mkdir()
526 static int ecryptfs_rmdir(struct inode *dir, struct dentry *dentry) in ecryptfs_rmdir()
558 ecryptfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in ecryptfs_mknod()
[all …]
/kernel/linux/linux-5.10/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()
487 struct dentry *dentry, *xadir; in lookup_and_delete_xattr() local
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_iops.c88 struct dentry *dentry) in xfs_dentry_to_name()
98 struct dentry *dentry, in xfs_dentry_mode_to_name()
115 struct dentry *dentry) in xfs_cleanup_inode()
132 struct dentry *dentry, in xfs_generic_create()
226 struct dentry *dentry, in xfs_vn_mknod()
236 struct dentry *dentry, in xfs_vn_create()
246 struct dentry *dentry, in xfs_vn_mkdir()
255 struct dentry *dentry, in xfs_vn_lookup()
280 struct dentry *dentry, in xfs_vn_ci_lookup()
321 struct dentry *dentry) in xfs_vn_link()
[all …]
/kernel/linux/linux-5.10/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 …]

12345678910>>...20