Home
last modified time | relevance | path

Searched defs:dentry (Results 1 – 25 of 254) sorted by relevance

1234567891011

/linux/fs/overlayfs/
H A Dutil.c22 int ovl_get_write_access(struct dentry *dentry) in ovl_get_write_access()
29 void ovl_start_write(struct dentry *dentry) in ovl_start_write()
35 int ovl_want_write(struct dentry *dentry) in ovl_want_write()
41 void ovl_put_write_access(struct dentry *dentry) in ovl_put_write_access()
47 void ovl_end_write(struct dentry *dentry) in ovl_end_write()
53 void ovl_drop_write(struct dentry *dentry) in ovl_drop_write()
59 struct dentry *ovl_workdir(struct dentry *dentry) in ovl_workdir()
164 bool ovl_dentry_remote(struct dentry *dentry) in ovl_dentry_remote()
169 void ovl_dentry_update_reval(struct dentry *dentry, struct dentry *realdentry) in ovl_dentry_update_reval()
179 void ovl_dentry_init_reval(struct dentry *dentry, struct dentry *upperdentry, in ovl_dentry_init_reval()
[all …]
H A Dxattrs.c36 static int ovl_xattr_set(struct dentry *dentry, struct inode *inode, const char *name, in ovl_xattr_set()
81 static int ovl_xattr_get(struct dentry *dentry, struct inode *inode, const char *name, in ovl_xattr_get()
106 ssize_t ovl_listxattr(struct dentry *dentry, char *list, size_t size) in ovl_listxattr()
175 struct dentry *dentry, struct inode *inode, in ovl_own_xattr_get()
194 struct dentry *dentry, struct inode *inode, in ovl_own_xattr_set()
213 struct dentry *dentry, struct inode *inode, in ovl_other_xattr_get()
221 struct dentry *dentry, struct inode *inode, in ovl_other_xattr_set()
H A Dcopy_up.c47 struct dentry *dentry, const char *acl_name) in ovl_copy_acl()
260 static int ovl_copy_up_file(struct ovl_fs *ofs, struct dentry *dentry, in ovl_copy_up_file()
521 static int ovl_create_index(struct dentry *dentry, const struct ovl_fh *fh, in ovl_create_index()
579 struct dentry *dentry; member
727 static const struct cred *ovl_prepare_copy_up_creds(struct dentry *dentry) in ovl_prepare_copy_up_creds()
1028 static bool ovl_need_meta_copy_up(struct dentry *dentry, umode_t mode, in ovl_need_meta_copy_up()
1131 static int ovl_copy_up_one(struct dentry *parent, struct dentry *dentry, in ovl_copy_up_one()
1209 static int ovl_copy_up_flags(struct dentry *dentry, int flags) in ovl_copy_up_flags()
1260 static bool ovl_open_need_copy_up(struct dentry *dentry, int flags) in ovl_open_need_copy_up()
1275 int ovl_maybe_copy_up(struct dentry *dentry, int flags) in ovl_maybe_copy_up()
[all …]
H A Dinode.c21 int ovl_setattr(struct mnt_idmap *idmap, struct dentry *dentry, in ovl_setattr()
103 static void ovl_map_dev_ino(struct dentry *dentry, struct kstat *stat, int fsid) in ovl_map_dev_ino()
174 struct dentry *dentry = path->dentry; in ovl_getattr() local
340 static const char *ovl_get_link(struct dentry *dentry, in ovl_get_link()
485 static int ovl_set_or_remove_acl(struct dentry *dentry, struct inode *inode, in ovl_set_or_remove_acl()
539 int ovl_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in ovl_set_acl()
654 struct dentry *dentry, struct file_kattr *fa) in ovl_fileattr_set()
730 int ovl_fileattr_get(struct dentry *dentry, struct file_kattr *fa) in ovl_fileattr_get()
973 static int ovl_set_nlink_common(struct dentry *dentry, in ovl_set_nlink_common()
991 int ovl_set_nlink_upper(struct dentry *dentry) in ovl_set_nlink_upper()
[all …]
/linux/security/integrity/evm/
H A Devm_main.c131 evm_find_protected_xattrs(struct dentry * dentry) evm_find_protected_xattrs() argument
154 is_unsupported_hmac_fs(struct dentry * dentry) is_unsupported_hmac_fs() argument
178 evm_verify_hmac(struct dentry * dentry,const char * xattr_name,char * xattr_value,size_t xattr_value_len) evm_verify_hmac() argument
351 evm_read_protected_xattrs(struct dentry * dentry,u8 * buffer,int buffer_size,char type,bool canonical_fmt) evm_read_protected_xattrs() argument
421 evm_verifyxattr(struct dentry * dentry,const char * xattr_name,void * xattr_value,size_t xattr_value_len) evm_verifyxattr() argument
440 evm_verify_current_integrity(struct dentry * dentry) evm_verify_current_integrity() argument
462 evm_xattr_change(struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len) evm_xattr_change() argument
498 evm_protect_xattr(struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len) evm_protect_xattr() argument
587 evm_inode_setxattr(struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len,int flags) evm_inode_setxattr() argument
619 evm_inode_removexattr(struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name) evm_inode_removexattr() argument
633 evm_inode_set_acl_change(struct mnt_idmap * idmap,struct dentry * dentry,const char * name,struct posix_acl * kacl) evm_inode_set_acl_change() argument
652 evm_inode_set_acl_change(struct mnt_idmap * idmap,struct dentry * dentry,const char * name,struct posix_acl * kacl) evm_inode_set_acl_change() argument
673 evm_inode_set_acl(struct mnt_idmap * idmap,struct dentry * dentry,const char * acl_name,struct posix_acl * kacl) evm_inode_set_acl() argument
725 evm_inode_remove_acl(struct mnt_idmap * idmap,struct dentry * dentry,const char * acl_name) evm_inode_remove_acl() argument
804 evm_inode_post_setxattr(struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len,int flags) evm_inode_post_setxattr() argument
836 evm_inode_post_set_acl(struct dentry * dentry,const char * acl_name,struct posix_acl * kacl) evm_inode_post_set_acl() argument
852 evm_inode_post_removexattr(struct dentry * dentry,const char * xattr_name) evm_inode_post_removexattr() argument
879 evm_inode_post_remove_acl(struct mnt_idmap * idmap,struct dentry * dentry,const char * acl_name) evm_inode_post_remove_acl() argument
886 evm_attr_change(struct mnt_idmap * idmap,struct dentry * dentry,struct iattr * attr) evm_attr_change() argument
908 evm_inode_setattr(struct mnt_idmap * idmap,struct dentry * dentry,struct iattr * attr) evm_inode_setattr() argument
961 evm_inode_post_setattr(struct mnt_idmap * idmap,struct dentry * dentry,int ia_valid) evm_inode_post_setattr() argument
1092 evm_post_path_mknod(struct mnt_idmap * idmap,struct dentry * dentry) evm_post_path_mknod() argument
[all...]
/linux/fs/ceph/
H A Ddir.c39 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
728 struct dentry *dentry) in ceph_handle_snapdir()
762 struct dentry *dentry, int err) in ceph_finish_lookup()
791 static bool is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry()
801 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup()
895 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create()
919 struct dentry *dentry, umode_t mode, dev_t rdev) in ceph_mknod()
[all …]
/linux/fs/ntfs3/
H A Dnamei.c72 static struct dentry *ntfs_lookup(struct inode *dir, struct dentry *dentry, in ntfs_lookup()
115 struct dentry *dentry, umode_t mode) in ntfs_create()
125 struct dentry *dentry, umode_t mode, dev_t rdev) in ntfs_mknod()
176 static int ntfs_unlink(struct inode *dir, struct dentry *dentry) in ntfs_unlink()
213 struct dentry *dentry, const char *symname) in ntfs_symlink()
232 struct dentry *dentry, umode_t mode) in ntfs_mkdir()
241 static int ntfs_rmdir(struct inode *dir, struct dentry *dentry) in ntfs_rmdir()
266 struct dentry *dentry, struct inode *new_dir, in ntfs_rename()
404 static int ntfs_d_hash(const struct dentry *dentry, struct qstr *name) in ntfs_d_hash()
462 static int ntfs_d_compare(const struct dentry *dentry, unsigned int len1, in ntfs_d_compare()
/linux/security/integrity/ima/
H A Dima_appraise.c88 static int ima_fix_xattr(struct dentry *dentry, struct ima_iint_cache *iint) in ima_fix_xattr()
231 int ima_read_xattr(struct dentry *dentry, in ima_read_xattr()
471 struct dentry *dentry = file_dentry(file); in ima_appraise_measurement() local
606 struct dentry *dentry = file_dentry(file); in ima_update_xattr() local
638 struct dentry *dentry, int ia_valid) in ima_inode_post_setattr()
662 static int ima_protect_xattr(struct dentry *dentry, const char *xattr_name, in ima_protect_xattr()
713 static int validate_hash_algo(struct dentry *dentry, in validate_hash_algo()
760 static int ima_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_setxattr()
793 static int ima_inode_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_set_acl()
802 static int ima_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_removexattr()
[all …]
/linux/fs/nfs/
H A Ddir.c640 int nfs_same_file(struct dentry *dentry, struct nfs_entry *entry) in nfs_same_file()
729 struct dentry *dentry; in nfs_prime_dcache() local
1224 struct dentry *dentry = file_dentry(file); in nfs_readdir() local
1429 static bool nfs_verifier_is_delegated(struct dentry *dentry) in nfs_verifier_is_delegated()
1434 static void nfs_set_verifier_locked(struct dentry *dentry, unsigned long verf) in nfs_set_verifier_locked()
1457 void nfs_set_verifier(struct dentry *dentry, unsigned long verf) in nfs_set_verifier()
1485 struct dentry *dentry; in nfs_clear_verifier_directory() local
1534 static int nfs_dentry_verify_change(struct inode *dir, struct dentry *dentry) in nfs_dentry_verify_change()
1548 static int nfs_check_verifier(struct inode *dir, struct dentry *dentry, in nfs_check_verifier()
1654 int nfs_neg_need_reval(struct inode *dir, struct dentry *dentry, in nfs_neg_need_reval()
[all …]
/linux/fs/tracefs/
H A Dinode.c98 struct inode *inode, struct dentry *dentry, in tracefs_syscall_mkdir()
128 static int tracefs_syscall_rmdir(struct inode *inode, struct dentry *dentry) in tracefs_syscall_rmdir()
210 static int tracefs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, in tracefs_setattr()
434 static void tracefs_d_release(struct dentry *dentry) in tracefs_d_release()
441 struct dentry *dentry, unsigned int flags) in tracefs_d_revalidate()
448 static int tracefs_d_delete(const struct dentry *dentry) in tracefs_d_delete()
528 struct dentry *dentry; in tracefs_start_creating() local
553 struct dentry *tracefs_failed_creating(struct dentry *dentry) in tracefs_failed_creating()
560 struct dentry *tracefs_end_creating(struct dentry *dentry) in tracefs_end_creating()
617 struct dentry *dentry; in tracefs_create_file() local
[all …]
H A Devent_inode.c185 static int eventfs_set_attr(struct mnt_idmap *idmap, struct dentry *dentry, in eventfs_set_attr()
329 static struct inode *eventfs_get_inode(struct dentry *dentry, struct eventfs_attr *attr, in eventfs_get_inode()
373 struct dentry *dentry, in lookup_file()
414 static struct dentry *lookup_dir_entry(struct dentry *dentry, in lookup_dir_entry()
481 void eventfs_d_release(struct dentry *dentry) in eventfs_d_release()
504 lookup_file_dentry(struct dentry *dentry, in lookup_file_dentry()
528 struct dentry *dentry, in eventfs_root_lookup()
763 struct dentry *dentry; in eventfs_create_events_dir() local
897 struct dentry *dentry; in eventfs_remove_events_dir() local
/linux/fs/afs/
H A Dxattr.c37 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 Ddynroot.c93 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()
H A Ddir.c771 static struct inode *afs_do_lookup(struct inode *dir, struct dentry *dentry) in afs_do_lookup()
908 static struct dentry *afs_lookup_atsys(struct inode *dir, struct dentry *dentry) in afs_lookup_atsys()
962 static struct dentry *afs_lookup(struct inode *dir, struct dentry *dentry, in afs_lookup()
1022 static int afs_d_revalidate_rcu(struct afs_vnode *dvnode, struct dentry *dentry) in afs_d_revalidate_rcu()
1056 struct dentry *dentry, unsigned int flags) in afs_d_revalidate()
1181 static int afs_d_delete(const struct dentry *dentry) in afs_d_delete()
1204 static void afs_d_iput(struct dentry *dentry, struct inode *inode) in afs_d_iput()
1214 void afs_d_release(struct dentry *dentry) in afs_d_release()
1314 struct dentry *dentry, umode_t mode) in afs_mkdir()
1348 static void afs_dir_remove_subdir(struct dentry *dentry) in afs_dir_remove_subdir()
[all …]
/linux/fs/nfsd/
H A Dnfsfh.c31 static int nfsd_acceptable(void *expv, struct dentry *dentry) in nfsd_acceptable()
68 nfsd_mode_check(struct dentry *dentry, umode_t requested) in nfsd_mode_check()
122 static inline __be32 check_pseudo_root(struct dentry *dentry, in check_pseudo_root()
208 struct dentry *dentry; in nfsd_set_fh_dentry() local
393 struct dentry *dentry; in __fh_verify() local
552 struct dentry *dentry) in _fh_update()
666 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose()
734 struct dentry *dentry; in fh_update() local
869 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
/linux/fs/autofs/
H A Dexpire.c11 static inline int autofs_can_expire(struct dentry *dentry, in autofs_can_expire()
30 struct dentry *dentry, unsigned int how) in autofs_mount_busy()
318 static struct dentry *should_expire(struct dentry *dentry, in should_expire()
424 struct dentry *dentry; in autofs_expire_indirect() local
491 struct dentry *dentry = path->dentry; in autofs_expire_wait() local
543 struct dentry *dentry; in autofs_expire_run() local
578 struct dentry *dentry; in autofs_do_expire_multi() local
/linux/drivers/android/binder/
H A Drust_binderfs.c119 struct dentry *dentry, *root; in binderfs_binder_device_create() local
331 static inline bool is_binderfs_control_device(const struct dentry *dentry) in is_binderfs_control_device()
351 static int binderfs_unlink(struct inode *dir, struct dentry *dentry) in binderfs_unlink()
379 struct dentry *dentry; in binderfs_binder_ctl_create() local
459 void rust_binderfs_remove_file(struct dentry *dentry) in rust_binderfs_remove_file()
468 struct dentry *dentry; in rust_binderfs_create_file() local
506 struct dentry *dentry; in binderfs_create_dir() local
542 struct dentry *dentry, *dir; in init_binder_features() local
571 struct dentry *binder_logs_root_dir, *dentry, *proc_log_dir; in init_binder_logs() local
/linux/fs/9p/
H A Dxattr.c65 ssize_t v9fs_xattr_get(struct dentry *dentry, const char *name, in v9fs_xattr_get()
94 int v9fs_xattr_set(struct dentry *dentry, const char *name, in v9fs_xattr_set()
140 ssize_t v9fs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) in v9fs_listxattr()
147 struct dentry *dentry, struct inode *inode, in v9fs_xattr_handler_get()
157 struct dentry *dentry, struct inode *inode, in v9fs_xattr_handler_set()
/linux/fs/
H A Dbpf_fs_kfuncs.c129 __bpf_kfunc int bpf_get_dentry_xattr(struct dentry *dentry, const char *name__str, in bpf_get_dentry_xattr()
165 struct dentry *dentry; in bpf_get_file_xattr() local
201 int bpf_set_dentry_xattr_locked(struct dentry *dentry, const char *name__str, in bpf_set_dentry_xattr_locked()
249 int bpf_remove_dentry_xattr_locked(struct dentry *dentry, const char *name__str) in bpf_remove_dentry_xattr_locked()
288 __bpf_kfunc int bpf_set_dentry_xattr(struct dentry *dentry, const char *name__str, in bpf_set_dentry_xattr()
317 __bpf_kfunc int bpf_remove_dentry_xattr(struct dentry *dentry, const char *name__str) in bpf_remove_dentry_xattr()
H A Dnamei.c815 static bool path_connected(struct vfsmount *mnt, struct dentry *dentry) in path_connected()
976 static bool try_to_unlazy_next(struct nameidata *nd, struct dentry *dentry) in try_to_unlazy_next()
1032 struct dentry *dentry, unsigned int flags) in d_revalidate()
1052 struct dentry *dentry = nd->path.dentry; in complete_walk() local
1540 struct dentry *dentry = path->dentry; in follow_automount() local
1689 struct dentry *dentry = path->dentry; in __follow_mount_rcu() local
1728 static inline int handle_mounts(struct nameidata *nd, struct dentry *dentry, in handle_mounts()
1768 struct dentry *dentry = d_lookup(dir, name); in lookup_dcache() local
1793 struct dentry *dentry; in lookup_one_qstr_excl() local
1845 struct dentry *dentry, *parent = nd->path.dentry; in lookup_fast() local
[all …]
/linux/fs/proc/
H A Dnamespaces.c42 static const char *proc_ns_get_link(struct dentry *dentry, in proc_ns_get_link()
78 static int proc_ns_readlink(struct dentry *dentry, char __user *buffer, int buflen) in proc_ns_readlink()
112 static struct dentry *proc_ns_instantiate(struct dentry *dentry, in proc_ns_instantiate()
165 struct dentry *dentry, unsigned int flags) in proc_ns_dir_lookup()
/linux/fs/gfs2/
H A Ddentry.c36 struct dentry *dentry, unsigned int flags) in gfs2_drevalidate()
75 static int gfs2_dhash(const struct dentry *dentry, struct qstr *str) in gfs2_dhash()
81 static int gfs2_dentry_delete(const struct dentry *dentry) in gfs2_dentry_delete()
/linux/drivers/android/
H A Dbinderfs.c119 struct dentry *dentry, *root; in binderfs_binder_device_create() local
340 static inline bool is_binderfs_control_device(const struct dentry *dentry) in is_binderfs_control_device()
360 static int binderfs_unlink(struct inode *dir, struct dentry *dentry) in binderfs_unlink()
388 struct dentry *dentry; in binderfs_binder_ctl_create() local
473 struct dentry *dentry; in binderfs_create_file() local
501 struct dentry *dentry; in binderfs_create_dir() local
541 struct dentry *dentry, *dir; in init_binder_features() local
576 struct dentry *binder_logs_root_dir, *dentry, *proc_log_dir; in init_binder_logs() local
/linux/include/linux/
H A Dfscrypt.h271 static inline void fscrypt_handle_d_move(struct dentry *dentry) in fscrypt_handle_d_move()
313 static inline bool fscrypt_is_nokey_name(const struct dentry *dentry) in fscrypt_is_nokey_name()
318 static inline void fscrypt_prepare_dentry(struct dentry *dentry, in fscrypt_prepare_dentry()
492 static inline void fscrypt_handle_d_move(struct dentry *dentry) in fscrypt_handle_d_move()
496 static inline bool fscrypt_is_nokey_name(const struct dentry *dentry) in fscrypt_is_nokey_name()
501 static inline void fscrypt_prepare_dentry(struct dentry *dentry, in fscrypt_prepare_dentry()
733 struct dentry *dentry, unsigned int flags) in fscrypt_d_revalidate()
748 struct dentry *dentry) in __fscrypt_prepare_link()
763 struct dentry *dentry, in __fscrypt_prepare_lookup()
770 struct dentry *dentry) in fscrypt_prepare_lookup_partial()
[all …]
/linux/arch/powerpc/platforms/cell/spufs/
H A Dinode.c95 spufs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, in spufs_setattr()
110 spufs_new_file(struct super_block *sb, struct dentry *dentry, in spufs_new_file()
161 struct dentry *dentry = d_alloc_name(dir, files->name); in spufs_fill_dir() local
218 spufs_mkdir(struct inode *dir, struct dentry *dentry, unsigned int flags, in spufs_mkdir()
378 spufs_create_context(struct inode *inode, struct dentry *dentry, in spufs_create_context()
445 spufs_mkgang(struct inode *dir, struct dentry *dentry, umode_t mode) in spufs_mkgang()
509 struct dentry *dentry, in spufs_create_gang()
527 long spufs_create(const struct path *path, struct dentry *dentry, in spufs_create()

1234567891011