| /linux-6.15/include/linux/ |
| H A D | dcache.h | 91 struct dentry { struct 94 seqcount_spinlock_t d_seq; /* per dentry seqlock */ argument 96 struct dentry *d_parent; /* parent directory */ argument 104 const struct dentry_operations *d_op; argument 105 struct super_block *d_sb; /* The root of the dentry tree */ argument 109 struct lockref d_lockref; /* per-dentry lock and refcount argument 131 * dentry->d_lock spinlock nesting subclasses: argument 342 static inline struct dentry *dget(struct dentry *dentry) in dget() 372 static inline void dont_mount(struct dentry *dentry) in dont_mount() 386 static inline void d_lookup_done(struct dentry *dentry) in d_lookup_done() [all …]
|
| /linux-6.15/fs/ |
| H A D | dcache.c | 590 void d_drop(struct dentry *dentry) in d_drop() 890 void dput(struct dentry *dentry) in dput() 1087 struct dentry *dentry; in d_prune_aliases() local 1116 struct dentry *dentry; in shrink_dentry_list() local 1606 struct dentry *dentry; in shrink_dcache_for_umount() local 1677 struct dentry *dentry; in __d_alloc() local 2172 struct dentry *dentry; in __d_lookup_rcu_op_compare() local 2236 struct dentry *dentry; in __d_lookup_rcu() local 2309 struct dentry *dentry; in d_lookup() local 2343 struct dentry *dentry; in __d_lookup() local [all …]
|
| H A 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() 111 static ssize_t bad_inode_listxattr(struct dentry *dentry, char *buffer, in bad_inode_listxattr() 117 static const char *bad_inode_get_link(struct dentry *dentry, in bad_inode_get_link() [all …]
|
| H A D | libfs.c | 151 struct dentry *dentry = file->f_path.dentry; in dcache_dir_lseek() local 195 struct dentry *dentry = file->f_path.dentry; in dcache_readdir() local 265 static long dentry2offset(struct dentry *dentry) in dentry2offset() 462 struct dentry *dentry, in find_positive_dentry() 517 struct dentry *dentry; in offset_iterate_dir() local 748 int simple_empty(struct dentry *dentry) in simple_empty() 1007 struct dentry *dentry; in simple_fill_super() local 2118 struct dentry *dentry; in stashed_dentry_get() local 2133 struct dentry *dentry; in prepare_anon_dentry() local 2173 struct dentry *dentry) in stash_dentry() [all …]
|
| /linux-6.15/fs/overlayfs/ |
| H A D | util.c | 21 int ovl_get_write_access(struct dentry *dentry) in ovl_get_write_access() 28 void ovl_start_write(struct dentry *dentry) in ovl_start_write() 34 int ovl_want_write(struct dentry *dentry) in ovl_want_write() 40 void ovl_put_write_access(struct dentry *dentry) in ovl_put_write_access() 46 void ovl_end_write(struct dentry *dentry) in ovl_end_write() 52 void ovl_drop_write(struct dentry *dentry) in ovl_drop_write() 165 bool ovl_dentry_remote(struct dentry *dentry) in ovl_dentry_remote() 203 bool ovl_dentry_weird(struct dentry *dentry) in ovl_dentry_weird() 766 struct dentry *dentry = path->dentry; in ovl_path_check_xwhiteout_xattr() local 1033 bool ovl_is_inuse(struct dentry *dentry) in ovl_is_inuse() [all …]
|
| H A D | dir.c | 111 struct dentry *dentry) in ovl_cleanup_and_whiteout() 286 static bool ovl_type_merge(struct dentry *dentry) in ovl_type_merge() 291 static bool ovl_type_origin(struct dentry *dentry) in ovl_type_origin() 657 struct dentry *dentry, umode_t mode, bool excl) in ovl_create() 663 struct dentry *dentry, umode_t mode) in ovl_mkdir() 669 struct dentry *dentry, umode_t mode, dev_t rdev) in ovl_mknod() 679 struct dentry *dentry, const char *link) in ovl_symlink() 846 static bool ovl_pure_upper(struct dentry *dentry) in ovl_pure_upper() 852 static void ovl_drop_nlink(struct dentry *dentry) in ovl_drop_nlink() 941 static bool ovl_can_move(struct dentry *dentry) in ovl_can_move() [all …]
|
| /linux-6.15/security/integrity/evm/ |
| H A D | evm_main.c | 131 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs() 154 static int is_unsupported_hmac_fs(struct dentry *dentry) in is_unsupported_hmac_fs() 421 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr() 462 struct dentry *dentry, const char *xattr_name, in evm_xattr_change() 498 struct dentry *dentry, const char *xattr_name, in evm_protect_xattr() 633 struct dentry *dentry, const char *name, in evm_inode_set_acl_change() 652 struct dentry *dentry, in evm_inode_set_acl_change() 804 static void evm_inode_post_setxattr(struct dentry *dentry, in evm_inode_post_setxattr() 879 struct dentry *dentry, in evm_inode_post_remove_acl() 886 struct dentry *dentry, struct iattr *attr) in evm_attr_change() [all …]
|
| /linux-6.15/fs/ecryptfs/ |
| H A D | inode.c | 27 static int lock_parent(struct dentry *dentry, in lock_parent() 126 struct dentry *dentry, struct super_block *sb) in ecryptfs_interpose() 468 struct inode *dir, struct dentry *dentry, in ecryptfs_symlink() 507 struct dentry *dentry, umode_t mode) in ecryptfs_mkdir() 904 struct dentry *dentry, struct iattr *ia) in ecryptfs_setattr() 995 struct dentry *dentry = path->dentry; in ecryptfs_getattr_link() local 1021 struct dentry *dentry = path->dentry; in ecryptfs_getattr() local 1131 struct dentry *dentry, struct fileattr *fa) in ecryptfs_fileattr_set() 1143 struct dentry *dentry, int type) in ecryptfs_get_acl() 1150 struct dentry *dentry, struct posix_acl *acl, in ecryptfs_set_acl() [all …]
|
| /linux-6.15/fs/autofs/ |
| H A 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() 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() 724 struct inode *dir, struct dentry *dentry, in autofs_dir_mkdir() [all …]
|
| /linux-6.15/fs/9p/ |
| H A D | vfs_dentry.c | 31 static int v9fs_cached_dentry_delete(const struct dentry *dentry) in v9fs_cached_dentry_delete() 48 static void v9fs_dentry_release(struct dentry *dentry) in v9fs_dentry_release() 64 static int __v9fs_lookup_revalidate(struct dentry *dentry, unsigned int flags) in __v9fs_lookup_revalidate() 103 struct dentry *dentry, unsigned int flags) in v9fs_lookup_revalidate() 108 static bool v9fs_dentry_unalias_trylock(const struct dentry *dentry) in v9fs_dentry_unalias_trylock() 114 static void v9fs_dentry_unalias_unlock(const struct dentry *dentry) in v9fs_dentry_unalias_unlock()
|
| /linux-6.15/fs/ceph/ |
| H A D | dir.c | 39 static int ceph_d_init(struct dentry *dentry) in ceph_d_init() 136 struct dentry *dentry; in __dcache_find_get_entry() local 194 struct dentry *dentry, *last = NULL; in __dcache_readdir() local 346 struct dentry *dentry = file->f_path.dentry; in ceph_readdir() local 724 struct dentry *dentry) in ceph_handle_snapdir() 758 struct dentry *dentry, int err) in ceph_finish_lookup() 1023 struct dentry *dentry, const char *dest) in ceph_symlink() 1097 struct dentry *dentry, umode_t mode) in ceph_mkdir() 1189 struct dentry *dentry) in ceph_link() 1247 struct dentry *dentry = req->r_dentry; in ceph_async_unlink_cb() local [all …]
|
| /linux-6.15/fs/minix/ |
| H A 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() 67 struct dentry *dentry, umode_t mode, bool excl) in minix_create() 73 struct dentry *dentry, const char *symname) in minix_symlink() 97 struct dentry *dentry) in minix_link() 108 struct dentry *dentry, umode_t mode) in minix_mkdir() 141 static int minix_unlink(struct inode * dir, struct dentry *dentry) in minix_unlink() 161 static int minix_rmdir(struct inode * dir, struct dentry *dentry) in minix_rmdir()
|
| /linux-6.15/fs/ufs/ |
| H A 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() 228 static int ufs_rmdir (struct inode * dir, struct dentry *dentry) in ufs_rmdir()
|
| /linux-6.15/fs/affs/ |
| H A D | namei.c | 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 fn) in affs_match() 170 affs_find_entry(struct inode *dir, struct dentry *dentry) in affs_find_entry() 236 affs_unlink(struct inode *dir, struct dentry *dentry) in affs_unlink() 246 struct dentry *dentry, umode_t mode, bool excl) in affs_create() 278 struct dentry *dentry, umode_t mode) in affs_mkdir() 307 affs_rmdir(struct inode *dir, struct dentry *dentry) in affs_rmdir() [all …]
|
| /linux-6.15/fs/ocfs2/ |
| H A D | dcache.c | 26 void ocfs2_dentry_attach_gen(struct dentry *dentry) in ocfs2_dentry_attach_gen() 36 struct dentry *dentry, unsigned int flags) in ocfs2_dentry_revalidate() 108 static int ocfs2_match_dentry(struct dentry *dentry, in ocfs2_match_dentry() 145 struct dentry *dentry; in ocfs2_find_local_alias() local 199 int ocfs2_dentry_attach_lock(struct dentry *dentry, in ocfs2_dentry_attach_lock() 379 static void ocfs2_dentry_iput(struct dentry *dentry, struct inode *inode) in ocfs2_dentry_iput() 429 void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, in ocfs2_dentry_move()
|
| /linux-6.15/fs/configfs/ |
| H A D | dir.c | 45 static void configfs_d_iput(struct dentry * dentry, in configfs_d_iput() 254 struct dentry * dentry, void * element, in configfs_make_dirent() 370 struct dentry *dentry, char *body) in configfs_create_link() 425 struct dentry * dentry = dget(item->ci_dentry); in configfs_remove_dir() local 438 struct dentry *dentry, in configfs_lookup() 842 struct dentry *dentry, in configfs_attach_item() 877 struct dentry *dentry, in configfs_attach_group() 1284 struct dentry *dentry, umode_t mode) in configfs_mkdir() 1593 struct dentry * dentry = file->f_path.dentry; in configfs_dir_open() local 1633 struct dentry *dentry = file->f_path.dentry; in configfs_readdir() local [all …]
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_iops.c | 98 struct dentry *dentry) in xfs_dentry_to_name() 108 struct dentry *dentry, in xfs_dentry_mode_to_name() 125 struct dentry *dentry) in xfs_cleanup_inode() 174 struct dentry *dentry, in xfs_generic_create() 284 struct dentry *dentry, in xfs_vn_mknod() 295 struct dentry *dentry, in xfs_vn_create() 306 struct dentry *dentry, in xfs_vn_mkdir() 315 struct dentry *dentry, in xfs_vn_lookup() 340 struct dentry *dentry, in xfs_vn_ci_lookup() 381 struct dentry *dentry) in xfs_vn_link() [all …]
|
| /linux-6.15/fs/ext2/ |
| H A 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, in ext2_mkdir() 273 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-6.15/fs/ntfs3/ |
| H A D | namei.c | 67 static struct dentry *ntfs_lookup(struct inode *dir, struct dentry *dentry, in ntfs_lookup() 108 struct dentry *dentry, umode_t mode, bool excl) in ntfs_create() 118 struct dentry *dentry, umode_t mode, dev_t rdev) in ntfs_mknod() 169 static int ntfs_unlink(struct inode *dir, struct dentry *dentry) in ntfs_unlink() 190 struct dentry *dentry, const char *symname) in ntfs_symlink() 205 struct dentry *dentry, umode_t mode) in ntfs_mkdir() 214 static int ntfs_rmdir(struct inode *dir, struct dentry *dentry) in ntfs_rmdir() 235 struct dentry *dentry, struct inode *new_dir, in ntfs_rename() 369 static int ntfs_d_hash(const struct dentry *dentry, struct qstr *name) in ntfs_d_hash() 427 static int ntfs_d_compare(const struct dentry *dentry, unsigned int len1, in ntfs_d_compare()
|
| /linux-6.15/fs/debugfs/ |
| H A D | inode.c | 46 struct dentry *dentry, struct iattr *ia) in debugfs_setattr() 242 static void debugfs_release_dentry(struct dentry *dentry) in debugfs_release_dentry() 341 struct dentry *dentry; in debugfs_lookup() local 358 struct dentry *dentry; in start_creating() local 419 static struct dentry *end_creating(struct dentry *dentry) in end_creating() 431 struct dentry *dentry; in __debugfs_create_file() local 586 struct dentry *dentry = start_creating(name, parent); in debugfs_create_dir() local 633 struct dentry *dentry = start_creating(name, parent); in debugfs_create_automount() local 690 struct dentry *dentry; in debugfs_create_symlink() local 799 void debugfs_remove(struct dentry *dentry) in debugfs_remove() [all …]
|
| /linux-6.15/net/sunrpc/ |
| H A D | rpc_pipe.c | 89 struct dentry *dentry; in rpc_timeout_upcall_queue() local 138 struct dentry *dentry; in rpc_queue_upcall() local 634 struct dentry *dentry = d_hash_and_lookup(parent, &q); in __rpc_lookup_create_exclusive() local 654 struct dentry *dentry; in __rpc_depopulate() local 698 struct dentry *dentry; in rpc_populate() local 739 struct dentry *dentry; in rpc_mkdir_populate() local 765 static int rpc_rmdir_depopulate(struct dentry *dentry, in rpc_rmdir_depopulate() 766 void (*depopulate)(struct dentry *)) in rpc_rmdir_depopulate() 805 struct dentry *dentry; in rpc_mkpipe_dentry() local 844 rpc_unlink(struct dentry *dentry) in rpc_unlink() [all …]
|
| /linux-6.15/fs/exfat/ |
| H A D | namei.c | 15 static inline unsigned long exfat_d_version(struct dentry *dentry) in exfat_d_version() 20 static inline void exfat_d_version_set(struct dentry *dentry, in exfat_d_version_set() 35 struct dentry *dentry, unsigned int flags) in exfat_d_revalidate() 207 int i, dentry, ret; in exfat_search_empty_slot() local 307 int dentry; in exfat_find_empty_entry() local 470 int ret, dentry, num_entries; in exfat_add_entry() local 546 struct dentry *dentry, umode_t mode, bool excl) in exfat_create() 593 int ret, dentry, count; in exfat_find() local 710 static int exfat_d_anon_disconn(struct dentry *dentry) in exfat_d_anon_disconn() 844 struct dentry *dentry, umode_t mode) in exfat_mkdir() [all …]
|
| /linux-6.15/fs/nilfs2/ |
| H A D | namei.c | 35 static inline int nilfs_add_nondir(struct dentry *dentry, struct inode *inode) in nilfs_add_nondir() 54 nilfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in nilfs_lookup() 89 struct dentry *dentry, umode_t mode, bool excl) in nilfs_create() 117 struct dentry *dentry, umode_t mode, dev_t rdev) in nilfs_mknod() 142 struct dentry *dentry, const char *symname) in nilfs_symlink() 194 struct dentry *dentry) in nilfs_link() 222 struct dentry *dentry, umode_t mode) in nilfs_mkdir() 275 static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry) in nilfs_do_unlink() 311 static int nilfs_unlink(struct inode *dir, struct dentry *dentry) in nilfs_unlink() 332 static int nilfs_rmdir(struct inode *dir, struct dentry *dentry) in nilfs_rmdir()
|
| /linux-6.15/fs/tracefs/ |
| H A D | inode.c | 97 static char *get_dname(struct dentry *dentry) in get_dname() 113 struct inode *inode, struct dentry *dentry, in tracefs_syscall_mkdir() 454 static void tracefs_d_release(struct dentry *dentry) in tracefs_d_release() 461 struct dentry *dentry, unsigned int flags) in tracefs_d_revalidate() 536 struct dentry *dentry; in tracefs_start_creating() local 572 struct dentry *tracefs_failed_creating(struct dentry *dentry) in tracefs_failed_creating() 580 struct dentry *tracefs_end_creating(struct dentry *dentry) in tracefs_end_creating() 637 struct dentry *dentry; in tracefs_create_file() local 673 struct dentry *dentry = tracefs_start_creating(name, parent); in __create_dir() local 748 struct dentry *dentry; in tracefs_create_instance_dir() local [all …]
|
| /linux-6.15/fs/nfs/ |
| H A D | dir.c | 731 struct dentry *dentry; in nfs_prime_dcache() local 1225 struct dentry *dentry = file_dentry(file); in nfs_readdir() local 1679 struct dentry *dentry, in nfs_lookup_revalidate_dentry() 1739 struct dentry *dentry, unsigned int flags) in nfs_do_lookup_revalidate() 1806 struct dentry *dentry, unsigned int flags) in nfs_lookup_revalidate() 1925 static void nfs_d_release(struct dentry *dentry) in nfs_d_release() 2045 struct dentry *dentry, in nfs_finish_open() 2428 struct dentry *dentry, umode_t mode) in nfs_mkdir() 2453 struct dentry *dentry, int error) in nfs_dentry_remove_handle_error() 2592 struct dentry *dentry, const char *symname) in nfs_symlink() [all …]
|