/fs/overlayfs/ |
D | util.c | 18 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() 113 bool ovl_dentry_remote(struct dentry *dentry) in ovl_dentry_remote() 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() 185 enum ovl_path_type ovl_path_real(struct dentry *dentry, struct path *path) in ovl_path_real() [all …]
|
D | dir.c | 86 struct dentry *dentry) in ovl_cleanup_and_whiteout() 120 struct dentry *d, *dentry = *newdentry; in ovl_mkdir_real() local 209 static int ovl_set_opaque_xerr(struct dentry *dentry, struct dentry *upper, in ovl_set_opaque_xerr() 221 static int ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) in ovl_set_opaque() 236 static int ovl_instantiate(struct dentry *dentry, struct inode *inode, in ovl_instantiate() 281 static bool ovl_type_merge(struct dentry *dentry) in ovl_type_merge() 286 static bool ovl_type_origin(struct dentry *dentry) in ovl_type_origin() 291 static int ovl_create_upper(struct dentry *dentry, struct inode *inode, in ovl_create_upper() 330 static struct dentry *ovl_clear_empty(struct dentry *dentry, in ovl_clear_empty() 429 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_d_to_fh(struct dentry *dentry, char *buf, int buflen) in ovl_d_to_fh() 251 static int ovl_dentry_to_fh(struct dentry *dentry, u32 *fid, int *max_len) in ovl_dentry_to_fh() 269 struct dentry *dentry; in ovl_encode_fh() local 296 struct dentry *dentry; in ovl_obtain_alias() local 346 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 [all …]
|
/fs/ |
D | dcache.c | 231 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 …]
|
D | bad_inode.c | 29 static int bad_inode_create (struct inode *dir, struct dentry *dentry, in bad_inode_create() 36 struct dentry *dentry, unsigned int flags) in bad_inode_lookup() 42 struct dentry *dentry) in bad_inode_link() 47 static int bad_inode_unlink(struct inode *dir, struct dentry *dentry) in bad_inode_unlink() 52 static int bad_inode_symlink (struct inode *dir, struct dentry *dentry, in bad_inode_symlink() 58 static int bad_inode_mkdir(struct inode *dir, struct dentry *dentry, in bad_inode_mkdir() 64 static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry) in bad_inode_rmdir() 69 static int bad_inode_mknod (struct inode *dir, struct dentry *dentry, in bad_inode_mknod() 82 static int bad_inode_readlink(struct dentry *dentry, char __user *buffer, in bad_inode_readlink() 104 static ssize_t bad_inode_listxattr(struct dentry *dentry, char *buffer, in bad_inode_listxattr() [all …]
|
/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() 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()
|
/fs/autofs/ |
D | root.c | 63 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 …]
|
/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() 95 static int ext2_create (struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in ext2_create() 113 static int ext2_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in ext2_tmpfile() 126 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod() 148 static int ext2_symlink (struct inode * dir, struct dentry * dentry, in ext2_symlink() 199 struct dentry *dentry) in ext2_link() 222 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir() 268 static int ext2_unlink(struct inode * dir, struct dentry *dentry) in ext2_unlink() 296 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
|
/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() 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()
|
/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() 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()
|
/fs/9p/ |
D | fid.c | 29 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()
|
/fs/nfsd/ |
D | nfsfh.c | 27 static int nfsd_acceptable(void *expv, struct dentry *dentry) in nfsd_acceptable() 63 nfsd_mode_check(struct svc_rqst *rqstp, struct dentry *dentry, in nfsd_mode_check() 118 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root() 157 struct dentry *dentry; in nfsd_set_fh_dentry() local 324 struct dentry *dentry; in fh_verify() local 409 struct dentry *dentry) in _fh_update() 428 static inline void _fh_update_old(struct dentry *dentry, in _fh_update_old() 529 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose() 611 struct dentry *dentry; in fh_update() local 645 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
|
/fs/ocfs2/ |
D | dcache.c | 28 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()
|
/fs/ecryptfs/ |
D | inode.c | 24 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 …]
|
/fs/cachefiles/ |
D | xattr.c | 27 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()
|
/fs/ceph/ |
D | dir.c | 38 static int ceph_d_init(struct dentry *dentry) in ceph_d_init() 128 struct dentry *dentry; in __dcache_find_get_entry() local 183 struct dentry *dentry, *last = NULL; in __dcache_readdir() local 666 struct dentry *dentry, int err) in ceph_handle_snapdir() 698 struct dentry *dentry, int err) in ceph_finish_lookup() 723 static bool is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry() 733 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup() 799 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create() 822 static int ceph_mknod(struct inode *dir, struct dentry *dentry, in ceph_mknod() 878 static int ceph_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ceph_create() [all …]
|
/fs/xfs/ |
D | xfs_iops.c | 80 struct dentry *dentry) in xfs_dentry_to_name() 90 struct dentry *dentry, in xfs_dentry_mode_to_name() 107 struct dentry *dentry) in xfs_cleanup_inode() 124 struct dentry *dentry, in xfs_generic_create() 218 struct dentry *dentry, in xfs_vn_mknod() 228 struct dentry *dentry, in xfs_vn_create() 238 struct dentry *dentry, in xfs_vn_mkdir() 247 struct dentry *dentry, in xfs_vn_lookup() 272 struct dentry *dentry, in xfs_vn_ci_lookup() 313 struct dentry *dentry) in xfs_vn_link() [all …]
|
/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() 487 struct dentry *dentry, *xadir; in lookup_and_delete_xattr() local [all …]
|
/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() 245 affs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in affs_create() [all …]
|
/fs/debugfs/ |
D | inode.c | 44 static int debugfs_setattr(struct dentry *dentry, struct iattr *ia) in debugfs_setattr() 210 static void debugfs_release_dentry(struct dentry *dentry) in debugfs_release_dentry() 294 struct dentry *dentry; in debugfs_lookup() local 315 struct dentry *dentry; in start_creating() local 359 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating() 367 static struct dentry *end_creating(struct dentry *dentry) in end_creating() 378 struct dentry *dentry; in __debugfs_create_file() local 549 struct dentry *dentry = start_creating(name, parent); in debugfs_create_dir() local 591 struct dentry *dentry = start_creating(name, parent); in debugfs_create_automount() local 643 struct dentry *dentry; in debugfs_create_symlink() 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() 148 void get_derived_permission(struct dentry *parent, struct dentry *dentry) in get_derived_permission() 166 void fixup_lower_ownership(struct dentry *dentry, const char *name) in fixup_lower_ownership() 288 static void __fixup_perms_recursive(struct dentry *dentry, struct limit_search *limit, int depth) in __fixup_perms_recursive() 327 void fixup_perms_recursive(struct dentry *dentry, struct limit_search *limit) in fixup_perms_recursive() 333 inline void update_derived_permission_lock(struct dentry *dentry) in update_derived_permission_lock() 355 int need_graft_path(struct dentry *dentry) in need_graft_path() 420 int is_base_obbpath(struct dentry *dentry) in is_base_obbpath() 447 int setup_obb_dentry(struct dentry *dentry, struct path *lower_path) in setup_obb_dentry()
|
/fs/configfs/ |
D | dir.c | 39 static void configfs_d_iput(struct dentry * dentry, in configfs_d_iput() 237 struct dentry * dentry, void * element, in configfs_make_dirent() 254 static void configfs_remove_dirent(struct dentry *dentry) in configfs_remove_dirent() 275 static int configfs_create_dir(struct config_item *item, struct dentry *dentry, in configfs_create_dir() 355 struct dentry *dentry, char *body) in configfs_create_link() 409 struct dentry * dentry = dget(item->ci_dentry); in configfs_remove_dir() local 425 static int configfs_attach_attr(struct configfs_dirent * sd, struct dentry * dentry) in configfs_attach_attr() 452 struct dentry *dentry, in configfs_lookup() 508 static int configfs_detach_prep(struct dentry *dentry, struct dentry **wait) in configfs_detach_prep() 555 static void configfs_detach_rollback(struct dentry *dentry) in configfs_detach_rollback() [all …]
|
/fs/nfs/ |
D | dir.c | 379 int nfs_same_file(struct dentry *dentry, struct nfs_entry *entry) in nfs_same_file() 449 struct dentry *dentry; in nfs_prime_dcache() local 834 struct dentry *dentry = file_dentry(file); in nfs_readdir() local 974 static int nfs_check_verifier(struct inode *dir, struct dentry *dentry, in nfs_check_verifier() 1066 int nfs_neg_need_reval(struct inode *dir, struct dentry *dentry, in nfs_neg_need_reval() 1077 nfs_lookup_revalidate_done(struct inode *dir, struct dentry *dentry, in nfs_lookup_revalidate_done() 1109 nfs_lookup_revalidate_negative(struct inode *dir, struct dentry *dentry, in nfs_lookup_revalidate_negative() 1122 nfs_lookup_revalidate_delegated(struct inode *dir, struct dentry *dentry, in nfs_lookup_revalidate_delegated() 1130 nfs_lookup_revalidate_dentry(struct inode *dir, struct dentry *dentry, in nfs_lookup_revalidate_dentry() 1182 nfs_do_lookup_revalidate(struct inode *dir, struct dentry *dentry, in nfs_do_lookup_revalidate() [all …]
|
/fs/tracefs/ |
D | inode.c | 55 static char *get_dname(struct dentry *dentry) in get_dname() 70 static int tracefs_syscall_mkdir(struct inode *inode, struct dentry *dentry, umode_t mode) in tracefs_syscall_mkdir() 93 static int tracefs_syscall_rmdir(struct inode *inode, struct dentry *dentry) in tracefs_syscall_rmdir() 314 struct dentry *dentry; in start_creating() local 347 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating() 355 static struct dentry *end_creating(struct dentry *dentry) in end_creating() 391 struct dentry *dentry; in tracefs_create_file() local 420 struct dentry *dentry = start_creating(name, parent); in __create_dir() local 486 struct dentry *dentry; in tracefs_create_instance_dir() local 502 static int __tracefs_remove(struct dentry *dentry, struct dentry *parent) in __tracefs_remove() [all …]
|
/fs/nilfs2/ |
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() 75 static int nilfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in nilfs_create() 103 nilfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in nilfs_mknod() 127 static int nilfs_symlink(struct inode *dir, struct dentry *dentry, in nilfs_symlink() 177 struct dentry *dentry) in nilfs_link() 204 static int nilfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in nilfs_mkdir() 257 static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry) in nilfs_do_unlink() 291 static int nilfs_unlink(struct inode *dir, struct dentry *dentry) in nilfs_unlink() 312 static int nilfs_rmdir(struct inode *dir, struct dentry *dentry) in nilfs_rmdir()
|