| /include/linux/ |
| D | dcache.h | 84 struct dentry { struct 89 struct dentry *d_parent; /* parent directory */ argument 144 int (*d_revalidate)(struct dentry *, unsigned int); 145 int (*d_weak_revalidate)(struct dentry *, unsigned int); 146 int (*d_hash)(const struct dentry *, struct qstr *); 147 int (*d_compare)(const struct dentry *, 149 int (*d_delete)(const struct dentry *); 150 int (*d_init)(struct dentry *); 151 void (*d_release)(struct dentry *); 152 void (*d_prune)(struct dentry *); [all …]
|
| D | namei.h | 55 struct dentry *lookup_one_qstr_excl(const struct qstr *name, 56 struct dentry *base, 60 extern struct dentry *kern_path_create(int, const char *, struct path *, unsigned int); 61 extern struct dentry *user_path_create(int, const char __user *, struct path *, unsigned int); 62 extern void done_path_create(struct path *, struct dentry *); 63 extern struct dentry *kern_path_locked(const char *, struct path *); 64 extern struct dentry *user_path_locked_at(int , const char __user *, struct path *); 68 int vfs_path_lookup(struct dentry *, struct vfsmount *, const char *, 71 extern struct dentry *try_lookup_one_len(const char *, struct dentry *, int); 72 extern struct dentry *lookup_one_len(const char *, struct dentry *, int); [all …]
|
| D | debugfs.h | 46 extern struct dentry *arch_debugfs_dir; 68 typedef struct vfsmount *(*debugfs_automount_t)(struct dentry *, void *); 72 struct dentry *debugfs_lookup(const char *name, struct dentry *parent); 74 struct dentry *debugfs_create_file(const char *name, umode_t mode, 75 struct dentry *parent, void *data, 77 struct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode, 78 struct dentry *parent, void *data, 82 struct dentry *parent, void *data, 86 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent); 88 struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent, [all …]
|
| D | fsnotify.h | 61 static inline void fsnotify_dirent(struct inode *dir, struct dentry *dentry, in fsnotify_dirent() argument 64 fsnotify_name(mask, dentry, FSNOTIFY_EVENT_DENTRY, dir, &dentry->d_name, 0); in fsnotify_dirent() 79 static inline int fsnotify_parent(struct dentry *dentry, __u32 mask, in fsnotify_parent() argument 82 struct inode *inode = d_inode(dentry); in fsnotify_parent() 91 if (!(dentry->d_flags & DCACHE_FSNOTIFY_PARENT_WATCHED)) in fsnotify_parent() 96 if (IS_ROOT(dentry)) in fsnotify_parent() 99 return __fsnotify_parent(dentry, mask, data, data_type); in fsnotify_parent() 109 static inline void fsnotify_dentry(struct dentry *dentry, __u32 mask) in fsnotify_dentry() argument 111 fsnotify_parent(dentry, mask, dentry, FSNOTIFY_EVENT_DENTRY); in fsnotify_dentry() 130 !fsnotify_sb_has_priority_watchers(path->dentry->d_sb, in fsnotify_file() [all …]
|
| D | xattr.h | 23 struct dentry; 40 bool (*list)(struct dentry *dentry); 41 int (*get)(const struct xattr_handler *, struct dentry *dentry, 45 struct mnt_idmap *idmap, struct dentry *dentry, 61 struct dentry *dentry) in xattr_handler_can_list() argument 63 return handler && (!handler->list || handler->list(dentry)); in xattr_handler_can_list() 74 ssize_t __vfs_getxattr(struct dentry *, struct inode *, const char *, void *, size_t); 75 ssize_t vfs_getxattr(struct mnt_idmap *, struct dentry *, const char *, 77 ssize_t vfs_listxattr(struct dentry *d, char *list, size_t size); 78 int __vfs_setxattr(struct mnt_idmap *, struct dentry *, struct inode *, [all …]
|
| 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,
|
| D | security.h | 47 struct dentry; 172 int cap_inode_setxattr(struct dentry *dentry, const char *name, 175 struct dentry *dentry, const char *name); 176 int cap_inode_need_killpriv(struct dentry *dentry); 177 int cap_inode_killpriv(struct mnt_idmap *idmap, struct dentry *dentry); 306 int security_quota_on(struct dentry *dentry); 327 int security_sb_statfs(struct dentry *dentry); 341 int security_dentry_init_security(struct dentry *dentry, int mode, 345 int security_dentry_create_files_as(struct dentry *dentry, int mode, 359 int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode); [all …]
|
| D | fscrypt.h | 203 int fscrypt_d_revalidate(struct dentry *dentry, unsigned int flags); 241 static inline void fscrypt_handle_d_move(struct dentry *dentry) in fscrypt_handle_d_move() argument 247 if (dentry->d_flags & DCACHE_NOKEY_NAME) { in fscrypt_handle_d_move() 248 dentry->d_flags &= ~DCACHE_NOKEY_NAME; in fscrypt_handle_d_move() 254 if (dentry->d_op->d_revalidate == fscrypt_d_revalidate) in fscrypt_handle_d_move() 255 dentry->d_flags &= ~DCACHE_OP_REVALIDATE; in fscrypt_handle_d_move() 283 static inline bool fscrypt_is_nokey_name(const struct dentry *dentry) in fscrypt_is_nokey_name() argument 285 return dentry->d_flags & DCACHE_NOKEY_NAME; in fscrypt_is_nokey_name() 288 static inline void fscrypt_prepare_dentry(struct dentry *dentry, in fscrypt_prepare_dentry() argument 300 spin_lock(&dentry->d_lock); in fscrypt_prepare_dentry() [all …]
|
| D | posix_acl.h | 72 int set_posix_acl(struct mnt_idmap *, struct dentry *, int, 79 int posix_acl_chmod(struct mnt_idmap *, struct dentry *, umode_t); 85 int simple_set_acl(struct mnt_idmap *, struct dentry *, 103 int vfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, 106 struct dentry *dentry, const char *acl_name); 107 int vfs_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, 113 struct dentry *dentry, umode_t mode) in posix_acl_chmod() argument 140 struct dentry *dentry, const char *name, in vfs_set_acl() argument 147 struct dentry *dentry, in vfs_get_acl() argument 154 struct dentry *dentry, const char *acl_name) in vfs_remove_acl() argument
|
| 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
|
| D | path.h | 5 struct dentry; 10 struct dentry *dentry; member 18 return path1->mnt == path2->mnt && path1->dentry == path2->dentry; in path_equal()
|
| 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) 84 LSM_HOOK(int, -EOPNOTSUPP, dentry_init_security, struct dentry *dentry, 87 LSM_HOOK(int, 0, dentry_create_files_as, struct dentry *dentry, int mode, 91 LSM_HOOK(int, 0, path_unlink, const struct path *dir, struct dentry *dentry) 92 LSM_HOOK(int, 0, path_mkdir, const struct path *dir, struct dentry *dentry, 94 LSM_HOOK(int, 0, path_rmdir, const struct path *dir, struct dentry *dentry) 95 LSM_HOOK(int, 0, path_mknod, const struct path *dir, struct dentry *dentry, 98 struct dentry *dentry) 100 LSM_HOOK(int, 0, path_symlink, const struct path *dir, struct dentry *dentry, [all …]
|
| D | exportfs.h | 7 struct dentry; 226 struct dentry * (*fh_to_dentry)(struct super_block *sb, struct fid *fid, 228 struct dentry * (*fh_to_parent)(struct super_block *sb, struct fid *fid, 230 int (*get_name)(struct dentry *parent, char *name, 231 struct dentry *child); 232 struct dentry * (*get_parent)(struct dentry *child); 269 extern int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, 306 extern struct dentry *exportfs_decode_fh_raw(struct vfsmount *mnt, 310 int (*acceptable)(void *, struct dentry *), 312 extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, [all …]
|
| 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()
|
| 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()
|
| D | relay.h | 44 struct dentry *dentry; /* channel file dentry */ member 72 struct dentry *parent; /* parent dentry passed to open */ 131 struct dentry *(*create_buf_file)(const char *filename, 132 struct dentry *parent, 149 int (*remove_buf_file)(struct dentry *dentry); 157 struct dentry *parent, 164 struct dentry *parent);
|
| D | fileattr.h | 55 int vfs_fileattr_get(struct dentry *dentry, struct fileattr *fa); 56 int vfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry,
|
| 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 *);
|
| D | statfs.h | 46 struct dentry; 47 extern int vfs_get_fsid(struct dentry *dentry, __kernel_fsid_t *fsid);
|
| D | fs.h | 1139 static inline struct dentry *file_dentry(const struct file *file) in file_dentry() 1141 struct dentry *dentry = file->f_path.dentry; in file_dentry() local 1143 WARN_ON_ONCE(d_inode(dentry) != file_inode(file)); in file_dentry() 1144 return dentry; in file_dentry() 1280 struct dentry *s_root; 1932 struct dentry *, umode_t, bool); 1934 struct dentry *, umode_t); 1935 int vfs_mknod(struct mnt_idmap *, struct inode *, struct dentry *, 1938 struct dentry *, const char *); 1939 int vfs_link(struct dentry *, struct mnt_idmap *, struct inode *, [all …]
|
| D | wwan.h | 198 struct dentry *wwan_get_debugfs_dir(struct device *parent); 199 void wwan_put_debugfs_dir(struct dentry *dir); 201 static inline struct dentry *wwan_get_debugfs_dir(struct device *parent) in wwan_get_debugfs_dir() 205 static inline void wwan_put_debugfs_dir(struct dentry *dir) {} in wwan_put_debugfs_dir()
|
| D | fsnotify_backend.h | 308 return d_inode(((const struct path *)data)->dentry); in fsnotify_data_inode() 316 static inline struct dentry *fsnotify_data_dentry(const void *data, int data_type) in fsnotify_data_dentry() 321 return (struct dentry *)data; in fsnotify_data_dentry() 323 return ((const struct path *)data)->dentry; in fsnotify_data_dentry() 347 return ((struct dentry *)data)->d_sb; in fsnotify_data_sb() 349 return ((const struct path *)data)->dentry->d_sb; in fsnotify_data_sb() 570 extern int __fsnotify_parent(struct dentry *dentry, __u32 mask, const void *data, 607 static inline void fsnotify_update_flags(struct dentry *dentry) in fsnotify_update_flags() argument 609 assert_spin_locked(&dentry->d_lock); in fsnotify_update_flags() 618 if (fsnotify_inode_watches_children(dentry->d_parent->d_inode)) in fsnotify_update_flags() [all …]
|
| D | nfs_fs.h | 84 struct dentry *dentry; member 436 extern int nfs_setattr(struct mnt_idmap *, struct dentry *, struct iattr *); 442 extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode, struc… 552 extern void nfs_set_verifier(struct dentry * dentry, unsigned long verf); 556 extern struct dentry *nfs_add_or_obtain(struct dentry *dentry, 558 extern int nfs_instantiate(struct dentry *dentry, struct nfs_fh *fh, 564 extern int nfs_atomic_open_v23(struct inode *dir, struct dentry *dentry, 595 extern void nfs_complete_unlink(struct dentry *dentry, struct inode *);
|
| /include/linux/sunrpc/ |
| 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 struct dentry *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 struct dentry *rpc_mkpipe_dentry(struct dentry *, const char *, void *, 132 extern int rpc_unlink(struct dentry *);
|
| /include/drm/ |
| D | drm_debugfs.h | 95 struct dentry *dent; 143 int count, struct dentry *root, 146 struct dentry *root, struct drm_minor *minor); 158 int count, struct dentry *root, in drm_debugfs_create_files() 163 int count, struct dentry *root, in drm_debugfs_remove_files()
|