| /linux/include/linux/ |
| H A D | dcache.h | 92 struct dentry { struct 95 seqcount_spinlock_t d_seq; /* per dentry seqlock */ argument 97 struct dentry *d_parent; /* parent directory */ argument 108 const struct dentry_operations *d_op; argument 109 struct super_block *d_sb; /* The root of the dentry tree */ argument 113 struct lockref d_lockref; /* per-dentry lock and refcount argument 135 * dentry->d_lock spinlock nesting subclasses: argument 293 static inline unsigned d_count(const struct dentry *dentry) in d_count() 324 static inline struct dentry *dget_dlock(struct dentry *dentry) in dget_dlock() 349 static inline struct dentry *dget(struct dentry *dentry) in dget() [all …]
|
| /linux/fs/ |
| H A D | dcache.c | 302 static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount) in dentry_cmp() 337 static inline struct external_name *external_name(struct dentry *dentry) in external_name() 344 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local 351 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free_external() local 356 static inline int dname_external(const struct dentry *dentry) in dname_external() 361 void take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry) in take_dentry_name_snapshot() 401 static inline void __d_set_inode_and_type(struct dentry *dentry, in __d_set_inode_and_type() 414 static inline void __d_clear_type_and_inode(struct dentry *dentry) in __d_clear_type_and_inode() 429 static void dentry_free(struct dentry *dentry) in dentry_free() 450 static void dentry_unlink_inode(struct dentry * dentry) in dentry_unlink_inode() [all …]
|
| /linux/fs/overlayfs/ |
| H A D | dir.c | 123 struct dentry *dentry) in ovl_cleanup_and_whiteout() 257 static int ovl_set_opaque_xerr(struct dentry *dentry, struct dentry *upper, in ovl_set_opaque_xerr() 270 static int ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) in ovl_set_opaque() 285 static int ovl_instantiate(struct dentry *dentry, struct inode *inode, in ovl_instantiate() 337 static bool ovl_type_merge(struct dentry *dentry) in ovl_type_merge() 342 static bool ovl_type_origin(struct dentry *dentry) in ovl_type_origin() 347 static int ovl_create_upper(struct dentry *dentry, struct inode *inode, in ovl_create_upper() 384 static struct dentry *ovl_clear_empty(struct dentry *dentry, in ovl_clear_empty() 469 static int ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode, in ovl_create_over_whiteout() 585 struct dentry *dentry, struct inode *inode, umode_t mode) in ovl_override_creator_creds() [all …]
|
| /linux/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() 178 static enum integrity_status evm_verify_hmac(struct dentry *dentry, in evm_verify_hmac() 351 int evm_read_protected_xattrs(struct dentry *dentry, u8 *buffer, in evm_read_protected_xattrs() 421 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr() 440 static enum integrity_status evm_verify_current_integrity(struct dentry *dentry) in evm_verify_current_integrity() 462 struct dentry *dentry, const char *xattr_name, in evm_xattr_change() 498 struct dentry *dentry, const char *xattr_name, in evm_protect_xattr() 587 static int evm_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, in evm_inode_setxattr() 619 static int evm_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, in evm_inode_removexattr() [all …]
|
| /linux/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() 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 429 struct dentry *dentry = path->dentry; in autofs_d_manage() local 502 struct dentry *dentry, unsigned int flags) in autofs_lookup() 575 struct inode *dir, struct dentry *dentry, in autofs_dir_symlink() [all …]
|
| /linux/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 723 struct dentry *dentry) in ceph_handle_snapdir() 757 struct dentry *dentry, int err) in ceph_finish_lookup() 785 static bool is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry() 795 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup() 888 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create() 912 struct dentry *dentry, umode_t mode, dev_t rdev) in ceph_mknod() [all …]
|
| /linux/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() 121 struct dentry *dentry, unsigned int flags) in v9fs_lookup_revalidate() 126 static bool v9fs_dentry_unalias_trylock(const struct dentry *dentry) in v9fs_dentry_unalias_trylock() 132 static void v9fs_dentry_unalias_unlock(const struct dentry *dentry) in v9fs_dentry_unalias_unlock()
|
| H A D | fid.c | 21 static inline void __add_fid(struct dentry *dentry, struct p9_fid *fid) in __add_fid() 33 void v9fs_fid_add(struct dentry *dentry, struct p9_fid **pfid) in v9fs_fid_add() 113 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find() 147 struct dentry *dentry, const unsigned char ***names) in build_path_from_dentry() 169 static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry, in v9fs_fid_lookup_with_uid() 287 struct p9_fid *v9fs_fid_lookup(struct dentry *dentry) in v9fs_fid_lookup()
|
| /linux/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() 166 static int minix_rmdir(struct inode * dir, struct dentry *dentry) in minix_rmdir()
|
| /linux/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/fs/configfs/ |
| H A D | dir.c | 45 static void configfs_d_iput(struct dentry * dentry, in configfs_d_iput() 232 static int configfs_dirent_exists(struct dentry *dentry) in configfs_dirent_exists() 253 struct dentry * dentry, void * element, in configfs_make_dirent() 270 static void configfs_remove_dirent(struct dentry *dentry) in configfs_remove_dirent() 292 static int configfs_create_dir(struct config_item *item, struct dentry *dentry, in configfs_create_dir() 369 struct dentry *dentry, char *body) in configfs_create_link() 430 struct dentry * dentry = dget(item->ci_dentry); in configfs_remove_dir() local 443 struct dentry *dentry, in configfs_lookup() 516 static int configfs_detach_prep(struct dentry *dentry, struct dentry **wait) in configfs_detach_prep() 563 static void configfs_detach_rollback(struct dentry *dentry) in configfs_detach_rollback() [all …]
|
| /linux/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/fs/debugfs/ |
| H A D | inode.c | 46 struct dentry *dentry, struct iattr *ia) in debugfs_setattr() 245 static void debugfs_release_dentry(struct dentry *dentry) in debugfs_release_dentry() 347 struct dentry *dentry; in debugfs_lookup() local 365 struct dentry *dentry; in debugfs_start_creating() local 403 static struct dentry *debugfs_failed_creating(struct dentry *dentry) in debugfs_failed_creating() 410 static struct dentry *debugfs_end_creating(struct dentry *dentry) in debugfs_end_creating() 422 struct dentry *dentry; in __debugfs_create_file() local 572 struct dentry *dentry = debugfs_start_creating(name, parent); in debugfs_create_dir() local 614 struct dentry *dentry = debugfs_start_creating(name, parent); in debugfs_create_automount() local 666 struct dentry *dentry; in debugfs_create_symlink() local [all …]
|
| /linux/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() 79 static int exfat_d_hash(const struct dentry *dentry, struct qstr *qstr) in exfat_d_hash() 101 static int exfat_d_cmp(const struct dentry *dentry, unsigned int len, in exfat_d_cmp() 136 static int exfat_utf8_d_hash(const struct dentry *dentry, struct qstr *qstr) in exfat_utf8_d_hash() 162 static int exfat_utf8_d_cmp(const struct dentry *dentry, unsigned int len, in exfat_utf8_d_cmp() 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 [all …]
|
| /linux/fs/nfs/ |
| H A D | dir.c | 641 int nfs_same_file(struct dentry *dentry, struct nfs_entry *entry) in nfs_same_file() 731 struct dentry *dentry; in nfs_prime_dcache() local 1226 struct dentry *dentry = file_dentry(file); in nfs_readdir() local 1431 static bool nfs_verifier_is_delegated(struct dentry *dentry) in nfs_verifier_is_delegated() 1436 static void nfs_set_verifier_locked(struct dentry *dentry, unsigned long verf) in nfs_set_verifier_locked() 1458 void nfs_set_verifier(struct dentry *dentry, unsigned long verf) in nfs_set_verifier() 1495 static int nfs_dentry_verify_change(struct inode *dir, struct dentry *dentry) in nfs_dentry_verify_change() 1509 static int nfs_check_verifier(struct inode *dir, struct dentry *dentry, in nfs_check_verifier() 1623 int nfs_neg_need_reval(struct inode *dir, struct dentry *dentry, in nfs_neg_need_reval() 1637 nfs_lookup_revalidate_done(struct inode *dir, struct dentry *dentry, in nfs_lookup_revalidate_done() [all …]
|
| H A D | unlink.c | 66 struct dentry *dentry = data->dentry; in nfs_async_unlink_release() local 121 static int nfs_call_unlink(struct dentry *dentry, struct inode *inode, struct nfs_unlinkdata *data) in nfs_call_unlink() 172 nfs_async_unlink(struct dentry *dentry, const struct qstr *name) in nfs_async_unlink() 225 nfs_complete_unlink(struct dentry *dentry, struct inode *inode) in nfs_complete_unlink() 243 nfs_cancel_async_unlink(struct dentry *dentry) in nfs_cancel_async_unlink() 406 struct dentry *dentry = data->old_dentry; in nfs_complete_sillyrename() local 444 nfs_sillyrename(struct inode *dir, struct dentry *dentry) in nfs_sillyrename()
|
| /linux/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() 147 static int tracefs_syscall_rmdir(struct inode *inode, struct dentry *dentry) in tracefs_syscall_rmdir() 233 static int tracefs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, in tracefs_setattr() 454 static void tracefs_d_release(struct dentry *dentry) in tracefs_d_release() 461 struct dentry *dentry, unsigned int flags) in tracefs_d_revalidate() 468 static int tracefs_d_delete(const struct dentry *dentry) in tracefs_d_delete() 547 struct dentry *dentry; in tracefs_start_creating() local 572 struct dentry *tracefs_failed_creating(struct dentry *dentry) in tracefs_failed_creating() 579 struct dentry *tracefs_end_creating(struct dentry *dentry) in tracefs_end_creating() [all …]
|
| /linux/fs/exportfs/ |
| H A D | expfs.c | 44 int (*acceptable)(void *context, struct dentry *dentry), in find_acceptable_alias() 47 struct dentry *dentry, *toput = NULL; in find_acceptable_alias() local 74 static bool dentry_connected(struct dentry *dentry) in dentry_connected() 91 static void clear_disconnected(struct dentry *dentry) in clear_disconnected() 122 struct dentry *dentry, char *nbuf) in reconnect_one() 212 struct dentry *dentry, *parent; in reconnect_path() local 414 int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, int *max_len, in exportfs_encode_fh() 440 int (*acceptable)(void *, struct dentry *), in exportfs_decode_fh_raw() 593 int (*acceptable)(void *, struct dentry *), in exportfs_decode_fh()
|
| /linux/security/integrity/ima/ |
| H A D | ima_appraise.c | 88 static int ima_fix_xattr(struct dentry *dentry, struct ima_iint_cache *iint) in ima_fix_xattr() 225 int ima_read_xattr(struct dentry *dentry, in ima_read_xattr() 500 struct dentry *dentry = file_dentry(file); in ima_appraise_measurement() local 630 struct dentry *dentry = file_dentry(file); in ima_update_xattr() local 662 struct dentry *dentry, int ia_valid) in ima_inode_post_setattr() 686 static int ima_protect_xattr(struct dentry *dentry, const char *xattr_name, in ima_protect_xattr() 737 static int validate_hash_algo(struct dentry *dentry, in validate_hash_algo() 784 static int ima_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_setxattr() 817 static int ima_inode_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_set_acl() 826 static int ima_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_removexattr() [all …]
|
| /linux/fs/vboxsf/ |
| H A D | dir.c | 196 struct dentry *dentry, unsigned int flags) in vboxsf_dentry_revalidate() 214 struct dentry *dentry, in vboxsf_dir_lookup() 236 static int vboxsf_dir_instantiate(struct inode *parent, struct dentry *dentry, in vboxsf_dir_instantiate() 257 static int vboxsf_dir_create(struct inode *parent, struct dentry *dentry, in vboxsf_dir_create() 300 struct inode *parent, struct dentry *dentry, in vboxsf_dir_mkfile() 307 struct inode *parent, struct dentry *dentry, in vboxsf_dir_mkdir() 313 static int vboxsf_dir_atomic_open(struct inode *parent, struct dentry *dentry, in vboxsf_dir_atomic_open() 353 static int vboxsf_dir_unlink(struct inode *parent, struct dentry *dentry) in vboxsf_dir_unlink() 429 struct inode *parent, struct dentry *dentry, in vboxsf_dir_symlink()
|
| /linux/fs/nfsd/ |
| H A D | nfsfh.c | 28 static int nfsd_acceptable(void *expv, struct dentry *dentry) in nfsd_acceptable() 65 nfsd_mode_check(struct dentry *dentry, umode_t requested) in nfsd_mode_check() 118 static inline __be32 check_pseudo_root(struct dentry *dentry, in check_pseudo_root() 154 struct dentry *dentry; in nfsd_set_fh_dentry() local 325 struct dentry *dentry; in __fh_verify() local 484 struct dentry *dentry) in _fh_update() 593 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose() 661 struct dentry *dentry; in fh_update() local 796 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
|
| /linux/fs/crypto/ |
| H A D | hooks.c | 35 struct dentry *dentry, *dentry_parent; in fscrypt_file_open() local 75 struct dentry *dentry) in __fscrypt_prepare_link() 119 int __fscrypt_prepare_lookup(struct inode *dir, struct dentry *dentry, in __fscrypt_prepare_lookup() 150 int fscrypt_prepare_lookup_partial(struct inode *dir, struct dentry *dentry) in fscrypt_prepare_lookup_partial() 167 int __fscrypt_prepare_setattr(struct dentry *dentry, struct iattr *attr) in __fscrypt_prepare_setattr() 453 struct dentry *dentry = path->dentry; in fscrypt_symlink_getattr() local
|
| /linux/fs/efivarfs/ |
| H A D | inode.c | 78 struct dentry *dentry, umode_t mode, bool excl) in efivarfs_create() 121 static int efivarfs_unlink(struct inode *dir, struct dentry *dentry) in efivarfs_unlink() 138 efivarfs_fileattr_get(struct dentry *dentry, struct file_kattr *fa) in efivarfs_fileattr_get() 154 struct dentry *dentry, struct file_kattr *fa) in efivarfs_fileattr_set() 173 static int efivarfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, in efivarfs_setattr()
|
| /linux/fs/afs/ |
| H A D | xattr.c | 37 struct dentry *dentry, in afs_xattr_get_acl() 101 struct dentry *dentry, in afs_xattr_set_acl() 139 struct dentry *dentry, in afs_xattr_get_yfs() 232 struct dentry *dentry, in afs_xattr_set_yfs() 269 struct dentry *dentry, in afs_xattr_get_cell() 296 struct dentry *dentry, in afs_xattr_get_fid() 334 struct dentry *dentry, in afs_xattr_get_volume()
|
| H A D | dynroot.c | 93 static struct dentry *afs_dynroot_lookup_cell(struct inode *dir, struct dentry *dentry, in afs_dynroot_lookup_cell() 139 static struct dentry *afs_dynroot_lookup(struct inode *dir, struct dentry *dentry, in afs_dynroot_lookup() 167 static void afs_dynroot_d_release(struct dentry *dentry) in afs_dynroot_d_release() 178 static int afs_dynroot_delete_dentry(const struct dentry *dentry) in afs_dynroot_delete_dentry() 205 static const char *afs_atcell_get_link(struct dentry *dentry, struct inode *inode, in afs_atcell_get_link() 249 static struct dentry *afs_lookup_atcell(struct inode *dir, struct dentry *dentry, ino_t ino) in afs_lookup_atcell()
|