/Linux-v6.1/include/linux/ |
D | dcache.h | 82 struct dentry { struct 85 seqcount_spinlock_t d_seq; /* per dentry seqlock */ argument 87 struct dentry *d_parent; /* parent directory */ argument 94 struct lockref d_lockref; /* per-dentry lock and refcount */ argument 95 const struct dentry_operations *d_op; argument 96 struct super_block *d_sb; /* The root of the dentry tree */ argument 117 * dentry->d_lock spinlock nesting subclasses: argument 283 static inline unsigned d_count(const struct dentry *dentry) in d_count() 310 static inline struct dentry *dget_dlock(struct dentry *dentry) in dget_dlock() 317 static inline struct dentry *dget(struct dentry *dentry) in dget() [all …]
|
D | evm.h | 62 static inline enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr() 73 struct dentry *dentry, struct iattr *attr) in evm_inode_setattr() 78 static inline void evm_inode_post_setattr(struct dentry *dentry, int ia_valid) in evm_inode_post_setattr() 84 struct dentry *dentry, const char *name, in evm_inode_setxattr() 90 static inline void evm_inode_post_setxattr(struct dentry *dentry, in evm_inode_post_setxattr() 99 struct dentry *dentry, in evm_inode_removexattr() 105 static inline void evm_inode_post_removexattr(struct dentry *dentry, in evm_inode_post_removexattr() 128 static inline int evm_read_protected_xattrs(struct dentry *dentry, u8 *buffer, in evm_read_protected_xattrs()
|
D | fsnotify.h | 39 static inline void fsnotify_dirent(struct inode *dir, struct dentry *dentry, in fsnotify_dirent() 57 static inline int fsnotify_parent(struct dentry *dentry, __u32 mask, in fsnotify_parent() 87 static inline void fsnotify_dentry(struct dentry *dentry, __u32 mask) in fsnotify_dentry() 203 static inline void fsnotify_create(struct inode *dir, struct dentry *dentry) in fsnotify_create() 236 struct dentry *dentry) in fsnotify_delete() 254 static inline void d_delete_notify(struct inode *dir, struct dentry *dentry) in d_delete_notify() 269 static inline void fsnotify_unlink(struct inode *dir, struct dentry *dentry) in fsnotify_unlink() 284 static inline void fsnotify_mkdir(struct inode *dir, struct dentry *dentry) in fsnotify_mkdir() 296 static inline void fsnotify_rmdir(struct inode *dir, struct dentry *dentry) in fsnotify_rmdir() 347 static inline void fsnotify_xattr(struct dentry *dentry) in fsnotify_xattr() [all …]
|
/Linux-v6.1/fs/ |
D | dcache.c | 258 static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount) in dentry_cmp() 289 static inline struct external_name *external_name(struct dentry *dentry) in external_name() 296 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local 303 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free_external() local 308 static inline int dname_external(const struct dentry *dentry) in dname_external() 313 void take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry) in take_dentry_name_snapshot() 339 static inline void __d_set_inode_and_type(struct dentry *dentry, in __d_set_inode_and_type() 352 static inline void __d_clear_type_and_inode(struct dentry *dentry) in __d_clear_type_and_inode() 363 static void dentry_free(struct dentry *dentry) in dentry_free() 384 static void dentry_unlink_inode(struct dentry * dentry) in dentry_unlink_inode() [all …]
|
D | bad_inode.c | 31 struct inode *dir, struct dentry *dentry, in bad_inode_create() 38 struct dentry *dentry, unsigned int flags) in bad_inode_lookup() 44 struct dentry *dentry) in bad_inode_link() 49 static int bad_inode_unlink(struct inode *dir, struct dentry *dentry) in bad_inode_unlink() 55 struct inode *dir, struct dentry *dentry, in bad_inode_symlink() 62 struct dentry *dentry, umode_t mode) in bad_inode_mkdir() 67 static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry) in bad_inode_rmdir() 73 struct dentry *dentry, umode_t mode, dev_t rdev) in bad_inode_mknod() 86 static int bad_inode_readlink(struct dentry *dentry, char __user *buffer, in bad_inode_readlink() 111 static ssize_t bad_inode_listxattr(struct dentry *dentry, char *buffer, in bad_inode_listxattr() [all …]
|
/Linux-v6.1/fs/overlayfs/ |
D | util.c | 19 int ovl_want_write(struct dentry *dentry) in ovl_want_write() 25 void ovl_drop_write(struct dentry *dentry) in ovl_drop_write() 31 struct dentry *ovl_workdir(struct dentry *dentry) in ovl_workdir() 97 bool ovl_dentry_remote(struct dentry *dentry) in ovl_dentry_remote() 103 void ovl_dentry_update_reval(struct dentry *dentry, struct dentry *upperdentry, in ovl_dentry_update_reval() 120 bool ovl_dentry_weird(struct dentry *dentry) in ovl_dentry_weird() 128 enum ovl_path_type ovl_path_type(struct dentry *dentry) in ovl_path_type() 153 void ovl_path_upper(struct dentry *dentry, struct path *path) in ovl_path_upper() 161 void ovl_path_lower(struct dentry *dentry, struct path *path) in ovl_path_lower() 173 void ovl_path_lowerdata(struct dentry *dentry, struct path *path) in ovl_path_lowerdata() [all …]
|
D | dir.c | 110 struct dentry *dentry) in ovl_cleanup_and_whiteout() 144 struct dentry *d, *dentry = *newdentry; in ovl_mkdir_real() local 234 static int ovl_set_opaque_xerr(struct dentry *dentry, struct dentry *upper, in ovl_set_opaque_xerr() 247 static int ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) in ovl_set_opaque() 262 static int ovl_instantiate(struct dentry *dentry, struct inode *inode, in ovl_instantiate() 312 static bool ovl_type_merge(struct dentry *dentry) in ovl_type_merge() 317 static bool ovl_type_origin(struct dentry *dentry) in ovl_type_origin() 322 static int ovl_create_upper(struct dentry *dentry, struct inode *inode, in ovl_create_upper() 362 static struct dentry *ovl_clear_empty(struct dentry *dentry, in ovl_clear_empty() 462 static int ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode, in ovl_create_over_whiteout() [all …]
|
D | export.c | 19 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 ovl_fs *ofs, struct dentry *dentry, in ovl_dentry_to_fid() 254 struct dentry *dentry; in ovl_encode_fh() local 287 struct dentry *dentry; in ovl_obtain_alias() local 343 static struct dentry *ovl_dentry_real_at(struct dentry *dentry, int idx) in ovl_dentry_real_at() 684 struct dentry *dentry; in ovl_upper_fh_to_d() local 706 struct dentry *dentry = NULL; in ovl_lower_fh_to_d() local [all …]
|
/Linux-v6.1/fs/ceph/ |
D | dir.c | 38 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 680 struct dentry *dentry) in ceph_handle_snapdir() 712 struct dentry *dentry, int err) in ceph_finish_lookup() 737 static bool is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry() 747 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup() 825 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create() 849 struct dentry *dentry, umode_t mode, dev_t rdev) in ceph_mknod() [all …]
|
/Linux-v6.1/fs/autofs/ |
D | root.c | 67 static void autofs_del_active(struct dentry *dentry) in autofs_del_active() 80 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() 185 static struct dentry *autofs_lookup_expiring(struct dentry *dentry, 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 333 struct dentry *dentry = path->dentry; in autofs_d_automount() local 421 struct dentry *dentry = path->dentry; in autofs_d_manage() local 494 struct dentry *dentry, unsigned int flags) in autofs_lookup() 567 struct inode *dir, struct dentry *dentry, in autofs_dir_symlink() [all …]
|
/Linux-v6.1/security/integrity/evm/ |
D | evm_main.c | 131 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs() 167 static enum integrity_status evm_verify_hmac(struct dentry *dentry, in evm_verify_hmac() 333 int evm_read_protected_xattrs(struct dentry *dentry, u8 *buffer, in evm_read_protected_xattrs() 403 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr() 428 static enum integrity_status evm_verify_current_integrity(struct dentry *dentry) in evm_verify_current_integrity() 450 struct dentry *dentry, const char *xattr_name, in evm_xattr_acl_change() 510 struct dentry *dentry, const char *xattr_name, in evm_xattr_change() 547 struct dentry *dentry, const char *xattr_name, in evm_protect_xattr() 629 int evm_inode_setxattr(struct user_namespace *mnt_userns, struct dentry *dentry, in evm_inode_setxattr() 662 struct dentry *dentry, const char *xattr_name) in evm_inode_removexattr() [all …]
|
/Linux-v6.1/fs/ecryptfs/ |
D | inode.c | 25 static int 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() 283 static int ecryptfs_i_size_read(struct dentry *dentry, struct inode *inode) in ecryptfs_i_size_read() 317 static struct dentry *ecryptfs_lookup_interpose(struct dentry *dentry, in ecryptfs_lookup_interpose() 452 static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry) in ecryptfs_unlink() 458 struct inode *dir, struct dentry *dentry, in ecryptfs_symlink() 497 struct dentry *dentry, umode_t mode) in ecryptfs_mkdir() 522 static int ecryptfs_rmdir(struct inode *dir, struct dentry *dentry) in ecryptfs_rmdir() 550 struct dentry *dentry, umode_t mode, dev_t dev) in ecryptfs_mknod() [all …]
|
/Linux-v6.1/fs/sysv/ |
D | namei.c | 19 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() 45 struct dentry *dentry, umode_t mode, dev_t rdev) in sysv_mknod() 65 struct dentry *dentry, umode_t mode, bool excl) in sysv_create() 71 struct dentry *dentry, const char *symname) in sysv_symlink() 102 struct dentry * dentry) in sysv_link() 114 struct dentry *dentry, umode_t mode) in sysv_mkdir() 151 static int sysv_unlink(struct inode * dir, struct dentry * dentry) in sysv_unlink() 172 static int sysv_rmdir(struct inode * dir, struct dentry * dentry) in sysv_rmdir()
|
/Linux-v6.1/fs/reiserfs/ |
D | xattr.c | 66 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() 480 struct dentry *dentry, *xadir; in lookup_and_delete_xattr() local [all …]
|
/Linux-v6.1/fs/ufs/ |
D | namei.c | 38 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() 73 struct inode * dir, struct dentry * dentry, umode_t mode, in ufs_create() 90 struct dentry *dentry, umode_t mode, dev_t rdev) in ufs_mknod() 110 struct dentry * dentry, const char * symname) in ufs_symlink() 151 struct dentry *dentry) in ufs_link() 170 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()
|
/Linux-v6.1/fs/ocfs2/ |
D | dcache.c | 26 void ocfs2_dentry_attach_gen(struct dentry *dentry) in ocfs2_dentry_attach_gen() 35 static int ocfs2_dentry_revalidate(struct dentry *dentry, unsigned int flags) in ocfs2_dentry_revalidate() 112 static int ocfs2_match_dentry(struct dentry *dentry, in ocfs2_match_dentry() 156 struct dentry *dentry; in ocfs2_find_local_alias() local 210 int ocfs2_dentry_attach_lock(struct dentry *dentry, in ocfs2_dentry_attach_lock() 390 static void ocfs2_dentry_iput(struct dentry *dentry, struct inode *inode) in ocfs2_dentry_iput() 440 void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, in ocfs2_dentry_move()
|
/Linux-v6.1/fs/affs/ |
D | namei.c | 46 __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() 246 struct dentry *dentry, umode_t mode, bool excl) in affs_create() [all …]
|
/Linux-v6.1/fs/minix/ |
D | namei.c | 10 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() 37 struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod() 69 struct dentry *dentry, umode_t mode, bool excl) in minix_create() 75 struct dentry *dentry, const char *symname) in minix_symlink() 104 struct dentry *dentry) in minix_link() 115 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()
|
/Linux-v6.1/fs/9p/ |
D | fid.c | 22 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 **pfid) in v9fs_fid_add() 99 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find() 134 struct dentry *dentry, const unsigned char ***names) in build_path_from_dentry() 156 static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry, in v9fs_fid_lookup_with_uid() 274 struct p9_fid *v9fs_fid_lookup(struct dentry *dentry) in v9fs_fid_lookup() 303 struct p9_fid *v9fs_writeback_fid(struct dentry *dentry) in v9fs_writeback_fid()
|
/Linux-v6.1/fs/ext2/ |
D | namei.c | 40 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 struct inode * dir, struct dentry * dentry, in ext2_create() 137 struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod() 158 struct dentry * dentry, const char * symname) in ext2_symlink() 205 struct dentry *dentry) in ext2_link() 229 struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir() 272 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()
|
/Linux-v6.1/fs/debugfs/ |
D | inode.c | 46 struct dentry *dentry, struct iattr *ia) in debugfs_setattr() 238 static void debugfs_release_dentry(struct dentry *dentry) in debugfs_release_dentry() 325 struct dentry *dentry; in debugfs_lookup() local 342 struct dentry *dentry; in start_creating() local 395 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating() 403 static struct dentry *end_creating(struct dentry *dentry) in end_creating() 414 struct dentry *dentry; in __debugfs_create_file() local 590 struct dentry *dentry = start_creating(name, parent); in debugfs_create_dir() local 637 struct dentry *dentry = start_creating(name, parent); in debugfs_create_automount() local 694 struct dentry *dentry; in debugfs_create_symlink() local [all …]
|
/Linux-v6.1/fs/configfs/ |
D | dir.c | 45 static void configfs_d_iput(struct dentry * dentry, in configfs_d_iput() 243 struct dentry * dentry, void * element, in configfs_make_dirent() 260 static void configfs_remove_dirent(struct dentry *dentry) in configfs_remove_dirent() 282 static int configfs_create_dir(struct config_item *item, struct dentry *dentry, in configfs_create_dir() 362 struct dentry *dentry, char *body) in configfs_create_link() 416 struct dentry * dentry = dget(item->ci_dentry); in configfs_remove_dir() local 429 struct dentry *dentry, in configfs_lookup() 490 static int configfs_detach_prep(struct dentry *dentry, struct dentry **wait) in configfs_detach_prep() 537 static void configfs_detach_rollback(struct dentry *dentry) in configfs_detach_rollback() 551 struct dentry * dentry = dget(item->ci_dentry); in detach_attrs() local [all …]
|
/Linux-v6.1/fs/nfsd/ |
D | nfsfh.c | 28 static int nfsd_acceptable(void *expv, struct dentry *dentry) in nfsd_acceptable() 65 nfsd_mode_check(struct svc_rqst *rqstp, struct dentry *dentry, in nfsd_mode_check() 120 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root() 159 struct dentry *dentry; in nfsd_set_fh_dentry() local 331 struct dentry *dentry; in fh_verify() local 411 struct dentry *dentry) in _fh_update() 517 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose() 585 struct dentry *dentry; in fh_update() local 694 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
|
/Linux-v6.1/fs/xfs/ |
D | xfs_iops.c | 91 struct dentry *dentry) in xfs_dentry_to_name() 101 struct dentry *dentry, in xfs_dentry_mode_to_name() 118 struct dentry *dentry) in xfs_cleanup_inode() 167 struct dentry *dentry, in xfs_generic_create() 260 struct dentry *dentry, in xfs_vn_mknod() 271 struct dentry *dentry, in xfs_vn_create() 282 struct dentry *dentry, in xfs_vn_mkdir() 292 struct dentry *dentry, in xfs_vn_lookup() 317 struct dentry *dentry, in xfs_vn_ci_lookup() 358 struct dentry *dentry) in xfs_vn_link() [all …]
|
/Linux-v6.1/net/sunrpc/ |
D | rpc_pipe.c | 89 struct dentry *dentry; in rpc_timeout_upcall_queue() local 138 struct dentry *dentry; in rpc_queue_upcall() local 488 static int __rpc_create_common(struct inode *dir, struct dentry *dentry, in __rpc_create_common() 513 static int __rpc_create(struct inode *dir, struct dentry *dentry, in __rpc_create() 527 static int __rpc_mkdir(struct inode *dir, struct dentry *dentry, in __rpc_mkdir() 578 static int __rpc_mkpipe_dentry(struct inode *dir, struct dentry *dentry, in __rpc_mkpipe_dentry() 597 static int __rpc_rmdir(struct inode *dir, struct dentry *dentry) in __rpc_rmdir() 610 static int __rpc_unlink(struct inode *dir, struct dentry *dentry) in __rpc_unlink() 623 static int __rpc_rmpipe(struct inode *dir, struct dentry *dentry) in __rpc_rmpipe() 635 struct dentry *dentry = d_hash_and_lookup(parent, &q); in __rpc_lookup_create_exclusive() local [all …]
|