| /linux/fs/overlayfs/ |
| H A D | util.c | 22 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 D | copy_up.c | 47 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() 1020 static bool ovl_need_meta_copy_up(struct dentry *dentry, umode_t mode, in ovl_need_meta_copy_up() 1123 static int ovl_copy_up_one(struct dentry *parent, struct dentry *dentry, in ovl_copy_up_one() 1201 static int ovl_copy_up_flags(struct dentry *dentry, int flags) in ovl_copy_up_flags() 1252 static bool ovl_open_need_copy_up(struct dentry *dentry, int flags) in ovl_open_need_copy_up() 1267 int ovl_maybe_copy_up(struct dentry *dentry, int flags) in ovl_maybe_copy_up() [all …]
|
| /linux/security/integrity/evm/ |
| H A D | evm_main.c | 131 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 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() 786 static bool is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry() 796 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup() 890 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create() 914 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()
|
| H A D | vfs_inode.c | 507 static int v9fs_remove(struct inode *dir, struct dentry *dentry, int flags) in v9fs_remove() 569 struct dentry *dentry, char *extension, u32 perm, u8 mode) in v9fs_create() 646 struct dentry *dentry, umode_t mode, bool excl) in v9fs_vfs_create() 673 struct dentry *dentry, umode_t mode) in v9fs_vfs_mkdir() 706 struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry, in v9fs_vfs_lookup() 763 v9fs_vfs_atomic_open(struct inode *dir, struct dentry *dentry, in v9fs_vfs_atomic_open() 967 struct dentry *dentry = path->dentry; in v9fs_vfs_getattr() local 1013 struct dentry *dentry, struct iattr *iattr) in v9fs_vfs_setattr() 1161 static const char *v9fs_vfs_get_link(struct dentry *dentry, in v9fs_vfs_get_link() 1213 static int v9fs_vfs_mkspecial(struct inode *dir, struct dentry *dentry, in v9fs_vfs_mkspecial() [all …]
|
| H A D | xattr.c | 65 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/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/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/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/include/linux/ |
| H A D | fsnotify.h | 58 static inline void fsnotify_dirent(struct inode *dir, struct dentry *dentry, in fsnotify_dirent() 76 static inline int fsnotify_parent(struct dentry *dentry, __u32 mask, in fsnotify_parent() 106 static inline void fsnotify_dentry(struct dentry *dentry, __u32 mask) in fsnotify_dentry() 319 static inline void fsnotify_create(struct inode *dir, struct dentry *dentry) in fsnotify_create() 352 struct dentry *dentry) in fsnotify_delete() 370 static inline void d_delete_notify(struct inode *dir, struct dentry *dentry) in d_delete_notify() 385 static inline void fsnotify_unlink(struct inode *dir, struct dentry *dentry) in fsnotify_unlink() 400 static inline void fsnotify_mkdir(struct inode *dir, struct dentry *dentry) in fsnotify_mkdir() 412 static inline void fsnotify_rmdir(struct inode *dir, struct dentry *dentry) in fsnotify_rmdir() 463 static inline void fsnotify_xattr(struct dentry *dentry) in fsnotify_xattr() [all …]
|
| /linux/fs/tracefs/ |
| H A D | inode.c | 98 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 D | event_inode.c | 175 static int eventfs_set_attr(struct mnt_idmap *idmap, struct dentry *dentry, in eventfs_set_attr() 319 static struct inode *eventfs_get_inode(struct dentry *dentry, struct eventfs_attr *attr, in eventfs_get_inode() 363 struct dentry *dentry, in lookup_file() 405 static struct dentry *lookup_dir_entry(struct dentry *dentry, in lookup_dir_entry() 473 void eventfs_d_release(struct dentry *dentry) in eventfs_d_release() 496 lookup_file_dentry(struct dentry *dentry, in lookup_file_dentry() 520 struct dentry *dentry, in eventfs_root_lookup() 737 struct dentry *dentry; in eventfs_create_events_dir() local 871 struct dentry *dentry; in eventfs_remove_events_dir() local
|
| /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() argument 225 int ima_read_xattr(struct dentry *dentry, in ima_read_xattr() argument 500 struct dentry *dentry = file_dentry(file); ima_appraise_measurement() local 630 struct dentry *dentry = file_dentry(file); ima_update_xattr() local 662 ima_inode_post_setattr(struct mnt_idmap * idmap,struct dentry * dentry,int ia_valid) ima_inode_post_setattr() argument 686 ima_protect_xattr(struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len) ima_protect_xattr() argument 737 validate_hash_algo(struct dentry * dentry,const struct evm_ima_xattr_data * xattr_value,size_t xattr_value_len) validate_hash_algo() argument 784 ima_inode_setxattr(struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name,const void * xattr_value,size_t xattr_value_len,int flags) ima_inode_setxattr() argument 817 ima_inode_set_acl(struct mnt_idmap * idmap,struct dentry * dentry,const char * acl_name,struct posix_acl * kacl) ima_inode_set_acl() argument 826 ima_inode_removexattr(struct mnt_idmap * idmap,struct dentry * dentry,const char * xattr_name) ima_inode_removexattr() argument 842 ima_inode_remove_acl(struct mnt_idmap * idmap,struct dentry * dentry,const char * acl_name) ima_inode_remove_acl() argument [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/nfs/ |
| 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/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/jfs/ |
| H A D | namei.c | 64 struct dentry *dentry, umode_t mode, bool excl) in jfs_create() 197 struct dentry *dentry, umode_t mode) in jfs_mkdir() 334 static int jfs_rmdir(struct inode *dip, struct dentry *dentry) in jfs_rmdir() 464 static int jfs_unlink(struct inode *dip, struct dentry *dentry) in jfs_unlink() 788 struct inode *dir, struct dentry *dentry) in jfs_link() 880 struct dentry *dentry, const char *name) in jfs_symlink() 1359 struct dentry *dentry, umode_t mode, dev_t rdev) in jfs_mknod() 1452 static struct dentry *jfs_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags) in jfs_lookup() 1513 struct dentry *jfs_get_parent(struct dentry *dentry) in jfs_get_parent() 1567 static int jfs_ci_compare(const struct dentry *dentry, in jfs_ci_compare() [all …]
|
| /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()
|
| /linux/fs/autofs/ |
| H A D | expire.c | 11 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 D | rust_binderfs.c | 119 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/orangefs/ |
| H A D | namei.c | 20 struct dentry *dentry, in orangefs_create() 103 static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry, in orangefs_lookup() 170 static int orangefs_unlink(struct inode *dir, struct dentry *dentry) in orangefs_unlink() 217 struct dentry *dentry, in orangefs_symlink() 301 struct dentry *dentry, umode_t mode) in orangefs_mkdir()
|
| /linux/fs/hostfs/ |
| H A D | hostfs_kern.c | 96 static char *__dentry_name(struct dentry *dentry, char *name) in __dentry_name() 114 static char *dentry_name(struct dentry *dentry) in dentry_name() 125 struct dentry *dentry; in inode_name() local 181 static int hostfs_statfs(struct dentry *dentry, struct kstatfs *sf) in hostfs_statfs() 596 struct dentry *dentry, umode_t mode, bool excl) in hostfs_create() 623 static struct dentry *hostfs_lookup(struct inode *ino, struct dentry *dentry, in hostfs_lookup() 660 static int hostfs_unlink(struct inode *ino, struct dentry *dentry) in hostfs_unlink() 677 struct dentry *dentry, const char *to) in hostfs_symlink() 690 struct dentry *dentry, umode_t mode) in hostfs_mkdir() 710 static int hostfs_rmdir(struct inode *ino, struct dentry *dentry) in hostfs_rmdir() [all …]
|
| /linux/fs/ |
| H A D | namei.c | 810 static bool path_connected(struct vfsmount *mnt, struct dentry *dentry) in path_connected() 971 static bool try_to_unlazy_next(struct nameidata *nd, struct dentry *dentry) in try_to_unlazy_next() 1027 struct dentry *dentry, unsigned int flags) in d_revalidate() 1047 struct dentry *dentry = nd->path.dentry; in complete_walk() local 1535 struct dentry *dentry = path->dentry; in follow_automount() local 1684 struct dentry *dentry = path->dentry; in __follow_mount_rcu() local 1723 static inline int handle_mounts(struct nameidata *nd, struct dentry *dentry, in handle_mounts() 1763 struct dentry *dentry = d_lookup(dir, name); in lookup_dcache() local 1788 struct dentry *dentry; in lookup_one_qstr_excl() local 1840 struct dentry *dentry, *parent = nd->path.dentry; in lookup_fast() local [all …]
|