| /include/linux/ |
| A D | dcache.h | 237 extern void __d_drop(struct dentry *dentry); 238 extern void d_drop(struct dentry *dentry); 251 extern bool d_same_name(const struct dentry *dentry, const struct dentry *parent, 284 extern struct dentry *d_ancestor(struct dentry *, struct dentry *); 293 ino_t d_parent_ino(struct dentry *dentry); 319 static inline struct dentry *dget_dlock(struct dentry *dentry) in dget_dlock() argument 344 static inline struct dentry *dget(struct dentry *dentry) in dget() argument 351 extern struct dentry *dget_parent(struct dentry *dentry); 571 static inline struct dentry *d_real(struct dentry *dentry, enum d_real_type type) in d_real() argument 599 static inline struct dentry *d_first_child(const struct dentry *dentry) in d_first_child() argument [all …]
|
| A D | namei.h | 57 struct dentry *base, 73 extern struct dentry *try_lookup_noperm(struct qstr *, struct dentry *); 74 extern struct dentry *lookup_noperm(struct qstr *, struct dentry *); 75 extern struct dentry *lookup_noperm_unlocked(struct qstr *, struct dentry *); 76 extern struct dentry *lookup_noperm_positive_unlocked(struct qstr *, struct dentry *); 77 struct dentry *lookup_one(struct mnt_idmap *, struct qstr *, struct dentry *); 79 struct qstr *name, struct dentry *base); 82 struct dentry *base); 88 extern struct dentry *lock_rename(struct dentry *, struct dentry *); 89 extern struct dentry *lock_rename_child(struct dentry *, struct dentry *); [all …]
|
| A D | debugfs.h | 78 struct dentry *debugfs_lookup(const char *name, struct dentry *parent); 150 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent); 152 struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, 160 void debugfs_remove(struct dentry *dentry); 167 int debugfs_file_get(struct dentry *dentry); 168 void debugfs_file_put(struct dentry *dentry); 321 static inline void debugfs_remove(struct dentry *dentry) in debugfs_remove() argument 324 static inline void debugfs_remove_recursive(struct dentry *dentry) in debugfs_remove_recursive() argument 333 static inline int debugfs_file_get(struct dentry *dentry) in debugfs_file_get() argument 338 static inline void debugfs_file_put(struct dentry *dentry) in debugfs_file_put() argument [all …]
|
| A D | xattr.h | 27 struct dentry; 44 bool (*list)(struct dentry *dentry); 45 int (*get)(const struct xattr_handler *, struct dentry *dentry, 49 struct mnt_idmap *idmap, struct dentry *dentry, 65 struct dentry *dentry) in xattr_handler_can_list() argument 67 return handler && (!handler->list || handler->list(dentry)); in xattr_handler_can_list() 81 ssize_t vfs_listxattr(struct dentry *d, char *list, size_t size); 84 int __vfs_setxattr_noperm(struct mnt_idmap *, struct dentry *, 86 int __vfs_setxattr_locked(struct mnt_idmap *, struct dentry *, 96 ssize_t generic_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size); [all …]
|
| A D | fsnotify.h | 58 static inline void fsnotify_dirent(struct inode *dir, struct dentry *dentry, in fsnotify_dirent() argument 61 fsnotify_name(mask, dentry, FSNOTIFY_EVENT_DENTRY, dir, &dentry->d_name, 0); in fsnotify_dirent() 76 static inline int fsnotify_parent(struct dentry *dentry, __u32 mask, in fsnotify_parent() argument 93 if (IS_ROOT(dentry)) in fsnotify_parent() 106 static inline void fsnotify_dentry(struct dentry *dentry, __u32 mask) in fsnotify_dentry() argument 108 fsnotify_parent(dentry, mask, dentry, FSNOTIFY_EVENT_DENTRY); in fsnotify_dentry() 352 struct dentry *dentry) in fsnotify_delete() argument 375 d_delete(dentry); in d_delete_notify() 390 fsnotify_delete(dir, d_inode(dentry), dentry); in fsnotify_unlink() 417 fsnotify_delete(dir, d_inode(dentry), dentry); in fsnotify_rmdir() [all …]
|
| A D | tracefs.h | 82 struct eventfs_inode *eventfs_create_events_dir(const char *name, struct dentry *parent, 93 struct dentry *tracefs_create_file(const char *name, umode_t mode, 94 struct dentry *parent, void *data, 97 struct dentry *tracefs_create_dir(const char *name, struct dentry *parent); 99 void tracefs_remove(struct dentry *dentry); 101 struct dentry *tracefs_create_instance_dir(const char *name, struct dentry *parent,
|
| A D | security.h | 443 struct dentry *dentry, 899 struct dentry *dentry, in security_inode_create() argument 917 struct dentry *dentry) in security_inode_unlink() argument 923 struct dentry *dentry, in security_inode_symlink() argument 930 struct dentry *dentry, in security_inode_mkdir() argument 937 struct dentry *dentry) in security_inode_rmdir() argument 943 struct dentry *dentry, in security_inode_mknod() argument 976 struct dentry *dentry, in security_inode_setattr() argument 1000 struct dentry *dentry, in security_inode_set_acl() argument 1013 struct dentry *dentry, in security_inode_get_acl() argument [all …]
|
| A D | fscrypt.h | 196 struct dentry *dentry, unsigned int flags); 234 static inline void fscrypt_handle_d_move(struct dentry *dentry) in fscrypt_handle_d_move() argument 281 static inline void fscrypt_prepare_dentry(struct dentry *dentry, in fscrypt_prepare_dentry() argument 425 struct dentry *dentry); 463 static inline void fscrypt_handle_d_move(struct dentry *dentry) in fscrypt_handle_d_move() argument 713 struct dentry *dentry, unsigned int flags) in fscrypt_d_revalidate() argument 740 struct dentry *dentry) in __fscrypt_prepare_link() argument 755 struct dentry *dentry, in __fscrypt_prepare_lookup() argument 762 struct dentry *dentry) in fscrypt_prepare_lookup_partial() argument 957 struct dentry *dentry) in fscrypt_prepare_link() argument [all …]
|
| A D | posix_acl.h | 77 int set_posix_acl(struct mnt_idmap *, struct dentry *, int, 84 int posix_acl_chmod(struct mnt_idmap *, struct dentry *, umode_t); 90 int simple_set_acl(struct mnt_idmap *, struct dentry *, 108 int vfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, 111 struct dentry *dentry, const char *acl_name); 112 int vfs_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, 118 struct dentry *dentry, umode_t mode) in posix_acl_chmod() argument 145 struct dentry *dentry, const char *name, in vfs_set_acl() argument 152 struct dentry *dentry, in vfs_get_acl() argument 159 struct dentry *dentry, const char *acl_name) in vfs_remove_acl() argument
|
| A D | lsm_hook_defs.h | 47 LSM_HOOK(int, 0, quota_on, struct dentry *dentry) 71 LSM_HOOK(int, 0, sb_statfs, struct dentry *dentry) 98 struct dentry *dentry) 139 LSM_HOOK(int, 0, inode_readlink, struct dentry *dentry) 146 struct dentry *dentry, int ia_valid) 155 LSM_HOOK(int, 0, inode_listxattr, struct dentry *dentry) 157 struct dentry *dentry, const char *name) 167 struct dentry *dentry, const char *acl_name) 169 struct dentry *dentry, const char *acl_name) 171 struct dentry *dentry, const char *acl_name) [all …]
|
| A D | evm.h | 17 extern enum integrity_status evm_verifyxattr(struct dentry *dentry, 26 extern int evm_read_protected_xattrs(struct dentry *dentry, u8 *buffer, 47 static inline enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr() argument 74 static inline int evm_read_protected_xattrs(struct dentry *dentry, u8 *buffer, in evm_read_protected_xattrs() argument
|
| A D | path.h | 5 struct dentry; 10 struct dentry *dentry; member 18 return path1->mnt == path2->mnt && path1->dentry == path2->dentry; in path_equal()
|
| A D | exportfs.h | 8 struct dentry; 257 struct dentry * (*fh_to_dentry)(struct super_block *sb, struct fid *fid, 259 struct dentry * (*fh_to_parent)(struct super_block *sb, struct fid *fid, 261 int (*get_name)(struct dentry *parent, char *name, 262 struct dentry *child); 263 struct dentry * (*get_parent)(struct dentry *child); 301 extern int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, 348 extern struct dentry *exportfs_decode_fh_raw(struct vfsmount *mnt, 352 int (*acceptable)(void *, struct dentry *), 363 struct dentry *generic_fh_to_dentry(struct super_block *sb, [all …]
|
| A D | bpf_lsm.h | 51 int bpf_set_dentry_xattr_locked(struct dentry *dentry, const char *name__str, 53 int bpf_remove_dentry_xattr_locked(struct dentry *dentry, const char *name__str); 94 static inline int bpf_set_dentry_xattr_locked(struct dentry *dentry, const char *name__str, in bpf_set_dentry_xattr_locked() argument 99 static inline int bpf_remove_dentry_xattr_locked(struct dentry *dentry, const char *name__str) in bpf_remove_dentry_xattr_locked() argument
|
| A D | fault-inject.h | 8 struct dentry; 36 struct dentry *dname; 82 struct dentry *fault_create_debugfs_attr(const char *name, 83 struct dentry *parent, struct fault_attr *attr); 87 static inline struct dentry *fault_create_debugfs_attr(const char *name, in fault_create_debugfs_attr() 88 struct dentry *parent, struct fault_attr *attr) in fault_create_debugfs_attr()
|
| A D | fsverity.h | 152 int __fsverity_prepare_setattr(struct dentry *dentry, struct iattr *attr); 217 static inline int __fsverity_prepare_setattr(struct dentry *dentry, in __fsverity_prepare_setattr() argument 314 static inline int fsverity_prepare_setattr(struct dentry *dentry, in fsverity_prepare_setattr() argument 317 if (IS_VERITY(d_inode(dentry))) in fsverity_prepare_setattr() 318 return __fsverity_prepare_setattr(dentry, attr); in fsverity_prepare_setattr()
|
| A D | devpts_fs.h | 27 struct dentry *devpts_pty_new(struct pts_fs_info *, int, void *); 29 void *devpts_get_priv(struct dentry *); 31 void devpts_pty_kill(struct dentry *);
|
| A D | relay.h | 60 struct dentry *dentry; /* channel file dentry */ member 87 struct dentry *parent; /* parent dentry passed to open */ 144 struct dentry *(*create_buf_file)(const char *filename, 145 struct dentry *parent, 162 int (*remove_buf_file)(struct dentry *dentry); 170 struct dentry *parent,
|
| A D | statfs.h | 46 struct dentry; 47 extern int vfs_get_fsid(struct dentry *dentry, __kernel_fsid_t *fsid);
|
| A D | fs.h | 1201 struct dentry *dentry = file->f_path.dentry; in file_dentry() local 1204 return dentry; in file_dentry() 2034 struct inode *dir, struct dentry *dentry) in vfs_whiteout() argument 2234 int (*link) (struct dentry *,struct inode *,struct dentry *); 2262 struct dentry *dentry, struct file_kattr *fa); 2263 int (*fileattr_get)(struct dentry *dentry, struct file_kattr *fa); 2940 extern int finish_open(struct file *file, struct dentry *dentry, 2942 extern int finish_no_open(struct file *file, struct dentry *dentry); 3266 extern bool is_subdir(struct dentry *, struct dentry *); 3627 struct dentry *, struct inode *, struct dentry *, [all …]
|
| A D | fileattr.h | 75 int vfs_fileattr_get(struct dentry *dentry, struct file_kattr *fa); 76 int vfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry,
|
| A D | fsnotify_backend.h | 346 return d_inode(file_range_path(data)->dentry); in fsnotify_data_inode() 359 return (struct dentry *)data; in fsnotify_data_dentry() 361 return ((const struct path *)data)->dentry; in fsnotify_data_dentry() 363 return file_range_path(data)->dentry; in fsnotify_data_dentry() 389 return ((struct dentry *)data)->d_sb; in fsnotify_data_sb() 393 return file_range_path(data)->dentry->d_sb; in fsnotify_data_sb() 646 extern int __fsnotify_parent(struct dentry *dentry, __u32 mask, const void *data, 685 static inline void fsnotify_update_flags(struct dentry *dentry) in fsnotify_update_flags() argument 687 assert_spin_locked(&dentry->d_lock); in fsnotify_update_flags() 938 static inline int __fsnotify_parent(struct dentry *dentry, __u32 mask, in __fsnotify_parent() argument [all …]
|
| A D | wwan.h | 195 struct dentry *wwan_get_debugfs_dir(struct device *parent); 196 void wwan_put_debugfs_dir(struct dentry *dir); 198 static inline struct dentry *wwan_get_debugfs_dir(struct device *parent) in wwan_get_debugfs_dir() 202 static inline void wwan_put_debugfs_dir(struct dentry *dir) {} in wwan_put_debugfs_dir()
|
| /include/linux/sunrpc/ |
| A D | rpc_pipe_fs.h | 9 struct dentry *pdh_dentry; 21 int (*create)(struct dentry *dir, 23 void (*destroy)(struct dentry *dir, 55 struct dentry *dentry; member 84 extern struct dentry *rpc_d_lookup_sb(const struct super_block *sb, 101 extern int rpc_create_client_dir(struct dentry *, const char *, struct rpc_clnt *); 122 extern struct dentry *rpc_create_cache_dir(struct dentry *, 126 extern void rpc_remove_cache_dir(struct dentry *); 130 extern int rpc_mkpipe_dentry(struct dentry *, const char *, void *,
|
| /include/drm/ |
| A D | drm_debugfs.h | 95 struct dentry *dent; 143 int count, struct dentry *root, 146 struct dentry *root, struct drm_minor *minor); 161 int count, struct dentry *root, in drm_debugfs_create_files() 166 int count, struct dentry *root, in drm_debugfs_remove_files()
|