/linux/include/linux/ |
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 103 struct lockref d_lockref; /* per-dentry lock and refcount */ argument 104 const struct dentry_operations *d_op; argument 126 * dentry->d_lock spinlock nesting subclasses: argument 324 static inline struct dentry *dget(struct dentry *dentry) in dget() 355 static inline void dont_mount(struct dentry *dentry) in dont_mount() 369 static inline void d_lookup_done(struct dentry *dentry) in d_lookup_done() 418 static inline bool d_is_dir(const struct dentry *dentry) in d_is_dir() [all …]
|
A D | evm.h | 61 static inline enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr() 71 static inline int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) in evm_inode_setattr() 76 static inline void evm_inode_post_setattr(struct dentry *dentry, int ia_valid) in evm_inode_post_setattr() 82 struct dentry *dentry, const char *name, in evm_inode_setxattr() 88 static inline void evm_inode_post_setxattr(struct dentry *dentry, in evm_inode_post_setxattr() 97 struct dentry *dentry, in evm_inode_removexattr() 103 static inline void evm_inode_post_removexattr(struct dentry *dentry, in evm_inode_post_removexattr() 126 static inline int evm_read_protected_xattrs(struct dentry *dentry, u8 *buffer, in evm_read_protected_xattrs()
|
A 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() 200 static inline void fsnotify_create(struct inode *dir, struct dentry *dentry) in fsnotify_create() 229 static inline void fsnotify_unlink(struct inode *dir, struct dentry *dentry) in fsnotify_unlink() 244 static inline void fsnotify_mkdir(struct inode *dir, struct dentry *dentry) in fsnotify_mkdir() 256 static inline void fsnotify_rmdir(struct inode *dir, struct dentry *dentry) in fsnotify_rmdir() 307 static inline void fsnotify_xattr(struct dentry *dentry) in fsnotify_xattr() 316 static inline void fsnotify_change(struct dentry *dentry, unsigned int ia_valid) in fsnotify_change()
|
/linux/fs/overlayfs/ |
A 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() 120 bool ovl_dentry_weird(struct dentry *dentry) in ovl_dentry_weird() 459 bool ovl_is_whiteout(struct dentry *dentry) in ovl_is_whiteout() 548 void ovl_copy_up_end(struct dentry *dentry) in ovl_copy_up_end() 758 bool ovl_is_inuse(struct dentry *dentry) in ovl_is_inuse() 773 bool ovl_need_index(struct dentry *dentry) in ovl_need_index() 858 int ovl_nlink_start(struct dentry *dentry) in ovl_nlink_start() [all …]
|
A D | dir.c | 110 struct dentry *dentry) in ovl_cleanup_and_whiteout() 143 struct dentry *d, *dentry = *newdentry; in ovl_mkdir_real() local 310 static bool ovl_type_merge(struct dentry *dentry) in ovl_type_merge() 315 static bool ovl_type_origin(struct dentry *dentry) in ovl_type_origin() 658 struct dentry *dentry, umode_t mode, bool excl) in ovl_create() 664 struct dentry *dentry, umode_t mode) in ovl_mkdir() 670 struct dentry *dentry, umode_t mode, dev_t rdev) in ovl_mknod() 680 struct dentry *dentry, const char *link) in ovl_symlink() 851 static bool ovl_pure_upper(struct dentry *dentry) in ovl_pure_upper() 857 static void ovl_drop_nlink(struct dentry *dentry) in ovl_drop_nlink() [all …]
|
A 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 679 struct dentry *dentry; in ovl_upper_fh_to_d() local 701 struct dentry *dentry = NULL; in ovl_lower_fh_to_d() local 801 struct dentry *dentry = NULL; in ovl_fh_to_dentry() local [all …]
|
/linux/fs/ |
A D | dcache.c | 479 void __d_drop(struct dentry *dentry) in __d_drop() 507 void d_drop(struct dentry *dentry) in d_drop() 869 void dput(struct dentry *dentry) in dput() 1079 struct dentry *dentry; in d_prune_aliases() local 1155 struct dentry *dentry, *parent; in shrink_dentry_list() local 1668 struct dentry *dentry; in shrink_dcache_for_umount() local 1740 struct dentry *dentry; in __d_alloc() local 2276 struct dentry *dentry; in __d_lookup_rcu() local 2365 struct dentry *dentry; in d_lookup() local 2399 struct dentry *dentry; in __d_lookup() local [all …]
|
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 …]
|
/linux/fs/autofs/ |
A D | root.c | 65 static void autofs_del_active(struct dentry *dentry) in autofs_del_active() 78 struct dentry *dentry = file->f_path.dentry; in autofs_dir_open() local 128 static struct dentry *autofs_lookup_active(struct dentry *dentry) in autofs_lookup_active() 264 struct dentry *dentry = path->dentry; in do_expire_wait() local 288 struct dentry *dentry = path->dentry; in autofs_mountpoint_changed() local 313 struct dentry *dentry = path->dentry; in autofs_d_automount() local 401 struct dentry *dentry = path->dentry; in autofs_d_manage() local 477 struct dentry *dentry, unsigned int flags) in autofs_lookup() 530 struct inode *dir, struct dentry *dentry, in autofs_dir_symlink() 721 struct inode *dir, struct dentry *dentry, in autofs_dir_mkdir() [all …]
|
/linux/security/integrity/evm/ |
A D | evm_main.c | 137 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs() 173 static enum integrity_status evm_verify_hmac(struct dentry *dentry, in evm_verify_hmac() 339 int evm_read_protected_xattrs(struct dentry *dentry, u8 *buffer, in evm_read_protected_xattrs() 409 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr() 456 struct dentry *dentry, const char *xattr_name, in evm_xattr_acl_change() 505 struct dentry *dentry, const char *xattr_name, in evm_xattr_change() 542 struct dentry *dentry, const char *xattr_name, in evm_protect_xattr() 657 struct dentry *dentry, const char *xattr_name) in evm_inode_removexattr() 758 static int evm_attr_change(struct dentry *dentry, struct iattr *attr) in evm_attr_change() 778 int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) in evm_inode_setattr() [all …]
|
/linux/fs/ceph/ |
A 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 671 struct dentry *dentry) in ceph_handle_snapdir() 703 struct dentry *dentry, int err) in ceph_finish_lookup() 902 struct dentry *dentry, const char *dest) in ceph_symlink() 957 struct dentry *dentry, umode_t mode) in ceph_mkdir() 1025 struct dentry *dentry) in ceph_link() 1371 int (*check)(struct dentry*, void*)) in __dentry_leases_walk() [all …]
|
/linux/fs/minix/ |
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() 56 struct dentry *dentry, umode_t mode) in minix_tmpfile() 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/fs/ecryptfs/ |
A 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() 458 struct inode *dir, struct dentry *dentry, in ecryptfs_symlink() 497 struct dentry *dentry, umode_t mode) in ecryptfs_mkdir() 550 struct dentry *dentry, umode_t mode, dev_t dev) in ecryptfs_mknod() 886 struct dentry *dentry, struct iattr *ia) in ecryptfs_setattr() 977 struct dentry *dentry = path->dentry; in ecryptfs_getattr_link() local 1003 struct dentry *dentry = path->dentry; in ecryptfs_getattr() local 1112 struct dentry *dentry, struct fileattr *fa) in ecryptfs_fileattr_set() 1158 struct dentry *dentry, struct inode *inode, in ecryptfs_xattr_get() [all …]
|
/linux/fs/sysv/ |
A 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/fs/ext2/ |
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() 123 struct dentry *dentry, umode_t mode) in ext2_tmpfile() 137 struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod() 158 struct dentry * dentry, const char * symname) in ext2_symlink() 208 struct dentry *dentry) in ext2_link() 232 struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir() 278 static int ext2_unlink(struct inode * dir, struct dentry *dentry) in ext2_unlink() 308 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
|
/linux/fs/ocfs2/ |
A 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/fs/ufs/ |
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() 230 static int ufs_rmdir (struct inode * dir, struct dentry *dentry) in ufs_rmdir()
|
/linux/fs/reiserfs/ |
A D | xattr.c | 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 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 524 struct dentry *dentry; in reiserfs_xattr_set_handle() local 660 struct dentry *dentry; in reiserfs_xattr_get() local 804 struct dentry *dentry; member 882 static int create_privroot(struct dentry *dentry) in create_privroot() 975 struct dentry *dentry; in reiserfs_lookup_privroot() local [all …]
|
/linux/fs/cachefiles/ |
A D | xattr.c | 27 struct dentry *dentry = object->dentry; in cachefiles_check_object_type() local 103 struct dentry *dentry = object->dentry; in cachefiles_set_object_xattr() local 131 struct dentry *dentry = object->dentry; in cachefiles_update_object_xattr() local 161 struct dentry *dentry = object->dentry; in cachefiles_check_auxdata() local 200 struct dentry *dentry = object->dentry; in cachefiles_check_object_xattr() local 307 struct dentry *dentry) in cachefiles_remove_object_xattr()
|
/linux/fs/affs/ |
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 toupper) 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/fs/nfsd/ |
A 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 416 struct dentry *dentry) in _fh_update() 522 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose() 590 struct dentry *dentry; in fh_update() local 620 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
|
/linux/fs/9p/ |
A 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 *fid) in v9fs_fid_add() 91 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find() 127 struct dentry *dentry, const unsigned char ***names) in build_path_from_dentry() 149 static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry, in v9fs_fid_lookup_with_uid() 270 struct p9_fid *v9fs_fid_lookup(struct dentry *dentry) in v9fs_fid_lookup() 299 struct p9_fid *v9fs_writeback_fid(struct dentry *dentry) in v9fs_writeback_fid()
|
/linux/fs/debugfs/ |
A D | inode.c | 46 struct dentry *dentry, struct iattr *ia) in debugfs_setattr() 215 static void debugfs_release_dentry(struct dentry *dentry) in debugfs_release_dentry() 302 struct dentry *dentry; in debugfs_lookup() local 319 struct dentry *dentry; in start_creating() local 380 static struct dentry *end_creating(struct dentry *dentry) in end_creating() 391 struct dentry *dentry; in __debugfs_create_file() local 557 struct dentry *dentry = start_creating(name, parent); in debugfs_create_dir() local 604 struct dentry *dentry = start_creating(name, parent); in debugfs_create_automount() local 661 struct dentry *dentry; in debugfs_create_symlink() local 726 void debugfs_remove(struct dentry *dentry) in debugfs_remove() [all …]
|
/linux/fs/xfs/ |
A D | xfs_iops.c | 89 struct dentry *dentry) in xfs_dentry_to_name() 99 struct dentry *dentry, in xfs_dentry_mode_to_name() 116 struct dentry *dentry) in xfs_cleanup_inode() 165 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/fs/tracefs/ |
A D | inode.c | 55 static char *get_dname(struct dentry *dentry) in get_dname() 71 struct inode *inode, struct dentry *dentry, in tracefs_syscall_mkdir() 164 static void change_gid(struct dentry *dentry, kgid_t gid) in change_gid() 192 struct dentry *dentry = list_entry(tmp, struct dentry, d_child); in set_gid() local 388 struct dentry *dentry; in start_creating() local 424 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating() 432 static struct dentry *end_creating(struct dentry *dentry) in end_creating() 468 struct dentry *dentry; in tracefs_create_file() local 499 struct dentry *dentry = start_creating(name, parent); in __create_dir() local 568 struct dentry *dentry; in tracefs_create_instance_dir() local [all …]
|