| /fs/ |
| D | dcache.c | 216 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 262 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free_external() local 267 static inline int dname_external(const struct dentry *dentry) in dname_external() 272 void take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry) in take_dentry_name_snapshot() 300 static inline void __d_set_inode_and_type(struct dentry *dentry, in __d_set_inode_and_type() 313 static inline void __d_clear_type_and_inode(struct dentry *dentry) in __d_clear_type_and_inode() 322 static void dentry_free(struct dentry *dentry) in dentry_free() 346 static inline void dentry_rcuwalk_invalidate(struct dentry *dentry) in dentry_rcuwalk_invalidate() [all …]
|
| D | bad_inode.c | 28 static int bad_inode_create (struct inode *dir, struct dentry *dentry, in bad_inode_create() 35 struct dentry *dentry, unsigned int flags) in bad_inode_lookup() 41 struct dentry *dentry) in bad_inode_link() 46 static int bad_inode_unlink(struct inode *dir, struct dentry *dentry) in bad_inode_unlink() 51 static int bad_inode_symlink (struct inode *dir, struct dentry *dentry, in bad_inode_symlink() 57 static int bad_inode_mkdir(struct inode *dir, struct dentry *dentry, in bad_inode_mkdir() 63 static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry) in bad_inode_rmdir() 68 static int bad_inode_mknod (struct inode *dir, struct dentry *dentry, in bad_inode_mknod() 81 static int bad_inode_readlink(struct dentry *dentry, char __user *buffer, in bad_inode_readlink() 92 static int bad_inode_getattr(struct vfsmount *mnt, struct dentry *dentry, in bad_inode_getattr() [all …]
|
| /fs/overlayfs/ |
| D | super.c | 73 enum ovl_path_type ovl_path_type(struct dentry *dentry) in ovl_path_type() 101 void ovl_path_upper(struct dentry *dentry, struct path *path) in ovl_path_upper() 110 enum ovl_path_type ovl_path_real(struct dentry *dentry, struct path *path) in ovl_path_real() 122 struct dentry *ovl_dentry_upper(struct dentry *dentry) in ovl_dentry_upper() 129 struct dentry *ovl_dentry_lower(struct dentry *dentry) in ovl_dentry_lower() 136 struct dentry *ovl_dentry_real(struct dentry *dentry) in ovl_dentry_real() 162 struct ovl_dir_cache *ovl_dir_cache(struct dentry *dentry) in ovl_dir_cache() 169 void ovl_set_dir_cache(struct dentry *dentry, struct ovl_dir_cache *cache) in ovl_set_dir_cache() 176 void ovl_path_lower(struct dentry *dentry, struct path *path) in ovl_path_lower() 183 int ovl_want_write(struct dentry *dentry) in ovl_want_write() [all …]
|
| D | dir.c | 35 struct dentry *ovl_lookup_temp(struct dentry *workdir, struct dentry *dentry) in ovl_lookup_temp() 56 struct dentry *dentry) in ovl_whiteout() 138 static int ovl_dir_getattr(struct vfsmount *mnt, struct dentry *dentry, in ovl_dir_getattr() 164 static int ovl_create_upper(struct dentry *dentry, struct inode *inode, in ovl_create_upper() 215 static struct dentry *ovl_clear_empty(struct dentry *dentry, in ovl_clear_empty() 293 static struct dentry *ovl_check_empty_and_clear(struct dentry *dentry) in ovl_check_empty_and_clear() 319 static int ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode, in ovl_create_over_whiteout() 388 static int ovl_create_or_link(struct dentry *dentry, int mode, dev_t rdev, in ovl_create_or_link() 437 static int ovl_create_object(struct dentry *dentry, int mode, dev_t rdev, in ovl_create_object() 451 static int ovl_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ovl_create() [all …]
|
| D | overlayfs.h | 30 static inline int ovl_do_rmdir(struct inode *dir, struct dentry *dentry) in ovl_do_rmdir() 37 static inline int ovl_do_unlink(struct inode *dir, struct dentry *dentry) in ovl_do_unlink() 55 static inline int ovl_do_create(struct inode *dir, struct dentry *dentry, in ovl_do_create() 64 static inline int ovl_do_mkdir(struct inode *dir, struct dentry *dentry, in ovl_do_mkdir() 73 static inline int ovl_do_mknod(struct inode *dir, struct dentry *dentry, in ovl_do_mknod() 84 static inline int ovl_do_symlink(struct inode *dir, struct dentry *dentry, in ovl_do_symlink() 93 static inline int ovl_do_setxattr(struct dentry *dentry, const char *name, in ovl_do_setxattr() 102 static inline int ovl_do_removexattr(struct dentry *dentry, const char *name) in ovl_do_removexattr() 127 static inline int ovl_do_whiteout(struct inode *dir, struct dentry *dentry) in ovl_do_whiteout()
|
| D | inode.c | 15 static int ovl_copy_up_truncate(struct dentry *dentry) in ovl_copy_up_truncate() 40 int ovl_setattr(struct dentry *dentry, struct iattr *attr) in ovl_setattr() 80 static int ovl_getattr(struct vfsmount *mnt, struct dentry *dentry, in ovl_getattr() 158 static const char *ovl_follow_link(struct dentry *dentry, void **cookie) in ovl_follow_link() 205 static int ovl_readlink(struct dentry *dentry, char __user *buf, int bufsiz) in ovl_readlink() 227 int ovl_setxattr(struct dentry *dentry, const char *name, in ovl_setxattr() 254 static bool ovl_need_xattr_filter(struct dentry *dentry, in ovl_need_xattr_filter() 263 ssize_t ovl_getxattr(struct dentry *dentry, const char *name, in ovl_getxattr() 286 ssize_t ovl_listxattr(struct dentry *dentry, char *list, size_t size) in ovl_listxattr() 321 int ovl_removexattr(struct dentry *dentry, const char *name) in ovl_removexattr() [all …]
|
| /fs/autofs4/ |
| D | root.c | 74 static void autofs4_add_active(struct dentry *dentry) in autofs4_add_active() 90 static void autofs4_del_active(struct dentry *dentry) in autofs4_del_active() 108 struct dentry *dentry = file->f_path.dentry; in autofs4_dir_open() local 158 static struct dentry *autofs4_lookup_active(struct dentry *dentry) in autofs4_lookup_active() 212 static struct dentry *autofs4_lookup_expiring(struct dentry *dentry, in autofs4_lookup_expiring() 272 static int autofs4_mount_wait(struct dentry *dentry, bool rcu_walk) in autofs4_mount_wait() 289 static int do_expire_wait(struct dentry *dentry, bool rcu_walk) in do_expire_wait() 313 struct dentry *dentry = path->dentry; in autofs4_mountpoint_changed() local 336 struct dentry *dentry = path->dentry; in autofs4_d_automount() local 422 static int autofs4_d_manage(struct dentry *dentry, bool rcu_walk) in autofs4_d_manage() [all …]
|
| /fs/9p/ |
| D | fid.c | 44 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, 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_fid_clone(struct dentry *dentry) in v9fs_fid_clone() 272 static struct p9_fid *v9fs_fid_clone_with_uid(struct dentry *dentry, kuid_t uid) in v9fs_fid_clone_with_uid() 284 struct p9_fid *v9fs_writeback_fid(struct dentry *dentry) in v9fs_writeback_fid()
|
| /fs/sysv/ |
| D | namei.c | 18 static int add_nondir(struct dentry *dentry, struct inode *inode) in add_nondir() 30 static int sysv_hash(const struct dentry *dentry, struct qstr *qstr) in sysv_hash() 45 static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) in sysv_lookup() 63 static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t mode, dev_t rdev) in sysv_mknod() 82 static int sysv_create(struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in sysv_create() 87 static int sysv_symlink(struct inode * dir, struct dentry * dentry, in sysv_symlink() 119 struct dentry * dentry) in sysv_link() 130 static int sysv_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in sysv_mkdir() 167 static int sysv_unlink(struct inode * dir, struct dentry * dentry) in sysv_unlink() 188 static int sysv_rmdir(struct inode * dir, struct dentry * dentry) in sysv_rmdir()
|
| /fs/minix/ |
| D | namei.c | 9 static int add_nondir(struct dentry *dentry, struct inode *inode) in add_nondir() 21 static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in minix_lookup() 39 static int minix_mknod(struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod() 57 static int minix_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in minix_tmpfile() 69 static int minix_create(struct inode *dir, struct dentry *dentry, umode_t mode, in minix_create() 75 static int minix_symlink(struct inode * dir, struct dentry *dentry, in minix_symlink() 105 struct dentry *dentry) in minix_link() 115 static int minix_mkdir(struct inode * dir, 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()
|
| /fs/affs/ |
| D | namei.c | 85 affs_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in affs_hash_dentry() 93 affs_intl_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in affs_intl_hash_dentry() 134 affs_compare_dentry(const struct dentry *parent, const struct dentry *dentry, in affs_compare_dentry() 143 affs_intl_compare_dentry(const struct dentry *parent, const struct dentry *dentry, in affs_intl_compare_dentry() 156 affs_match(struct dentry *dentry, const u8 *name2, toupper_t toupper) in affs_match() 188 affs_find_entry(struct inode *dir, struct dentry *dentry) in affs_find_entry() 217 affs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in affs_lookup() 255 affs_unlink(struct inode *dir, struct dentry *dentry) in affs_unlink() 264 affs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in affs_create() 295 affs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in affs_mkdir() [all …]
|
| /fs/ceph/ |
| D | dir.c | 34 int ceph_init_dentry(struct dentry *dentry) in ceph_init_dentry() 71 struct inode *ceph_get_dentry_parent_inode(struct dentry *dentry) in ceph_get_dentry_parent_inode() 147 struct dentry *dentry, *last = NULL; in __dcache_readdir() local 558 struct dentry *dentry, int err) in ceph_handle_snapdir() 590 struct dentry *dentry, int err) in ceph_finish_lookup() 615 static int is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry() 625 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup() 689 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create() 712 static int ceph_mknod(struct inode *dir, struct dentry *dentry, in ceph_mknod() 759 static int ceph_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ceph_create() [all …]
|
| /fs/ext2/ |
| D | namei.c | 39 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() 120 static int ext2_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in ext2_tmpfile() 140 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod() 162 static int ext2_symlink (struct inode * dir, struct dentry * dentry, in ext2_symlink() 213 struct dentry *dentry) in ext2_link() 236 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir() 283 static int ext2_unlink(struct inode * dir, struct dentry *dentry) in ext2_unlink() 311 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
|
| /fs/ufs/ |
| D | namei.c | 37 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() 206 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()
|
| /fs/exofs/ |
| D | namei.c | 36 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() 140 struct dentry *dentry) in exofs_link() 151 static int exofs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in exofs_mkdir() 190 static int exofs_unlink(struct inode *dir, struct dentry *dentry) in exofs_unlink() 212 static int exofs_rmdir(struct inode *dir, struct dentry *dentry) in exofs_rmdir()
|
| /fs/ecryptfs/ |
| D | inode.c | 39 static struct dentry *lock_parent(struct dentry *dentry) in lock_parent() 132 struct dentry *dentry, struct super_block *sb) in ecryptfs_interpose() 143 static int ecryptfs_do_unlink(struct inode *dir, struct dentry *dentry, in ecryptfs_do_unlink() 295 static int ecryptfs_i_size_read(struct dentry *dentry, struct inode *inode) in ecryptfs_i_size_read() 329 static int ecryptfs_lookup_interpose(struct dentry *dentry, in ecryptfs_lookup_interpose() 491 static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry) in ecryptfs_unlink() 496 static int ecryptfs_symlink(struct inode *dir, struct dentry *dentry, in ecryptfs_symlink() 536 static int ecryptfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ecryptfs_mkdir() 560 static int ecryptfs_rmdir(struct inode *dir, struct dentry *dentry) in ecryptfs_rmdir() 584 ecryptfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in ecryptfs_mknod() [all …]
|
| /fs/ocfs2/ |
| D | dcache.c | 42 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()
|
| /fs/cachefiles/ |
| D | xattr.c | 31 struct dentry *dentry = object->dentry; in cachefiles_check_object_type() local 106 struct dentry *dentry = object->dentry; in cachefiles_set_object_xattr() local 134 struct dentry *dentry = object->dentry; in cachefiles_update_object_xattr() local 163 struct dentry *dentry = object->dentry; in cachefiles_check_auxdata() local 201 struct dentry *dentry = object->dentry; in cachefiles_check_object_xattr() local 307 struct dentry *dentry) in cachefiles_remove_object_xattr()
|
| /fs/reiserfs/ |
| D | xattr.c | 65 static int xattr_create(struct inode *dir, struct dentry *dentry, int mode) in xattr_create() 72 static int xattr_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in xattr_mkdir() 84 static int xattr_unlink(struct inode *dir, struct dentry *dentry) in xattr_unlink() 99 static int xattr_rmdir(struct inode *dir, struct dentry *dentry) in xattr_rmdir() 197 struct dentry *dentry; in fill_with_dentries() local 238 int (*action)(struct dentry *, void *), in reiserfs_for_each_xattr() 274 struct dentry *dentry = buf.dentries[i]; in reiserfs_for_each_xattr() local 327 static int delete_one_xattr(struct dentry *dentry, void *data) in delete_one_xattr() 338 static int chown_one_xattr(struct dentry *dentry, void *data) in chown_one_xattr() 473 struct dentry *dentry, *xadir; in lookup_and_delete_xattr() local [all …]
|
| /fs/tracefs/ |
| D | inode.c | 58 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() 165 static void change_gid(struct dentry *dentry, kgid_t gid) in change_gid() 193 struct dentry *dentry = list_entry(tmp, struct dentry, d_child); in set_gid() local 391 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 496 struct dentry *dentry = start_creating(name, parent); in __create_dir() local [all …]
|
| /fs/configfs/ |
| D | dir.c | 53 static void configfs_d_iput(struct dentry * dentry, in configfs_d_iput() 224 struct dentry * dentry, void * element, in configfs_make_dirent() 270 static int configfs_create_dir(struct config_item *item, struct dentry *dentry) in configfs_create_dir() 344 struct dentry *dentry) in configfs_create_link() 397 struct dentry * dentry = dget(item->ci_dentry); in configfs_remove_dir() local 413 static int configfs_attach_attr(struct configfs_dirent * sd, struct dentry * dentry) in configfs_attach_attr() 436 struct dentry *dentry, in configfs_lookup() 492 static int configfs_detach_prep(struct dentry *dentry, struct mutex **wait_mutex) in configfs_detach_prep() 539 static void configfs_detach_rollback(struct dentry *dentry) in configfs_detach_rollback() 553 struct dentry * dentry = dget(item->ci_dentry); in detach_attrs() local [all …]
|
| /fs/sdcardfs/ |
| D | derived_perm.c | 54 void get_derived_permission_new(struct dentry *parent, struct dentry *dentry, in get_derived_permission_new() 144 void get_derived_permission(struct dentry *parent, struct dentry *dentry) in get_derived_permission() 162 void fixup_lower_ownership(struct dentry *dentry, const char *name) in fixup_lower_ownership() 284 static void __fixup_perms_recursive(struct dentry *dentry, struct limit_search *limit, int depth) in __fixup_perms_recursive() 323 void fixup_perms_recursive(struct dentry *dentry, struct limit_search *limit) in fixup_perms_recursive() 329 inline void update_derived_permission_lock(struct dentry *dentry) in update_derived_permission_lock() 351 int need_graft_path(struct dentry *dentry) in need_graft_path() 415 int is_base_obbpath(struct dentry *dentry) in is_base_obbpath() 442 int setup_obb_dentry(struct dentry *dentry, struct path *lower_path) in setup_obb_dentry()
|
| /fs/nfsd/ |
| D | nfsfh.c | 26 static int nfsd_acceptable(void *expv, struct dentry *dentry) in nfsd_acceptable() 101 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root() 140 struct dentry *dentry; in nfsd_set_fh_dentry() local 307 struct dentry *dentry; in fh_verify() local 392 struct dentry *dentry) in _fh_update() 411 static inline void _fh_update_old(struct dentry *dentry, in _fh_update_old() 512 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose() 594 struct dentry *dentry; in fh_update() local 628 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
|
| /fs/xfs/ |
| D | xfs_iops.c | 100 struct dentry *dentry, in xfs_dentry_to_name() 112 struct dentry *dentry) in xfs_cleanup_inode() 129 struct dentry *dentry, in xfs_generic_create() 209 struct dentry *dentry, in xfs_vn_mknod() 219 struct dentry *dentry, in xfs_vn_create() 229 struct dentry *dentry, in xfs_vn_mkdir() 238 struct dentry *dentry, in xfs_vn_lookup() 263 struct dentry *dentry, in xfs_vn_ci_lookup() 304 struct dentry *dentry) in xfs_vn_link() 324 struct dentry *dentry) in xfs_vn_unlink() [all …]
|
| /fs/ncpfs/ |
| D | dir.c | 128 ncp_hash_dentry(const struct dentry *dentry, struct qstr *this) in ncp_hash_dentry() 156 ncp_compare_dentry(const struct dentry *parent, const struct dentry *dentry, in ncp_compare_dentry() 180 ncp_delete_dentry(const struct dentry * dentry) in ncp_delete_dentry() 216 ncp_force_unlink(struct inode *dir, struct dentry* dentry) in ncp_force_unlink() 310 ncp_lookup_validate(struct dentry *dentry, unsigned int flags) in ncp_lookup_validate() 388 static time_t ncp_obtain_mtime(struct dentry *dentry) in ncp_obtain_mtime() 407 struct dentry *dentry; in ncp_invalidate_dircache_entries() local 419 struct dentry *dentry = file->f_path.dentry; in ncp_readdir() local 569 static void ncp_d_prune(struct dentry *dentry) in ncp_d_prune() 581 struct dentry *newdent, *dentry = file->f_path.dentry; in ncp_fill_cache() local [all …]
|