/include/linux/ |
D | dcache.h | 90 struct dentry { struct 95 struct dentry *d_parent; /* parent directory */ argument 140 int (*d_revalidate)(struct dentry *, unsigned int); 141 int (*d_weak_revalidate)(struct dentry *, unsigned int); 142 int (*d_hash)(const struct dentry *, struct qstr *); 143 int (*d_compare)(const struct dentry *, 145 int (*d_delete)(const struct dentry *); 146 int (*d_init)(struct dentry *); 147 void (*d_release)(struct dentry *); 148 void (*d_prune)(struct dentry *); [all …]
|
D | debugfs.h | 41 extern struct dentry *arch_debugfs_dir; 64 typedef struct vfsmount *(*debugfs_automount_t)(struct dentry *, void *); 68 struct dentry *debugfs_lookup(const char *name, struct dentry *parent); 70 struct dentry *debugfs_create_file(const char *name, umode_t mode, 71 struct dentry *parent, void *data, 73 struct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode, 74 struct dentry *parent, void *data, 77 struct dentry *debugfs_create_file_size(const char *name, umode_t mode, 78 struct dentry *parent, void *data, 82 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent); [all …]
|
D | evm.h | 19 extern enum integrity_status evm_verifyxattr(struct dentry *dentry, 24 extern int evm_inode_setattr(struct dentry *dentry, struct iattr *attr); 25 extern void evm_inode_post_setattr(struct dentry *dentry, int ia_valid); 26 extern int evm_inode_setxattr(struct dentry *dentry, const char *name, 28 extern void evm_inode_post_setxattr(struct dentry *dentry, 32 extern int evm_inode_removexattr(struct dentry *dentry, const char *xattr_name); 33 extern void evm_inode_post_removexattr(struct dentry *dentry, 54 static inline enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr() argument 64 static inline int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) in evm_inode_setattr() argument 69 static inline void evm_inode_post_setattr(struct dentry *dentry, int ia_valid) in evm_inode_post_setattr() argument [all …]
|
D | namei.h | 54 extern struct dentry *kern_path_create(int, const char *, struct path *, unsigned int); 55 extern struct dentry *user_path_create(int, const char __user *, struct path *, unsigned int); 56 extern void done_path_create(struct path *, struct dentry *); 57 extern struct dentry *kern_path_locked(const char *, struct path *); 60 extern struct dentry *try_lookup_one_len(const char *, struct dentry *, int); 61 extern struct dentry *lookup_one_len(const char *, struct dentry *, int); 62 extern struct dentry *lookup_one_len_unlocked(const char *, struct dentry *, int); 63 extern struct dentry *lookup_positive_unlocked(const char *, struct dentry *, int); 69 extern struct dentry *lock_rename(struct dentry *, struct dentry *); 70 extern void unlock_rename(struct dentry *, struct dentry *);
|
D | tracefs.h | 24 struct dentry *tracefs_create_file(const char *name, umode_t mode, 25 struct dentry *parent, void *data, 28 struct dentry *tracefs_create_dir(const char *name, struct dentry *parent); 30 void tracefs_remove(struct dentry *dentry); 31 void tracefs_remove_recursive(struct dentry *dentry); 33 struct dentry *tracefs_create_instance_dir(const char *name, struct dentry *parent,
|
D | xattr.h | 21 struct dentry; 32 bool (*list)(struct dentry *dentry); 33 int (*get)(const struct xattr_handler *handler, struct dentry *dentry, 36 int (*set)(const struct xattr_handler *handler, struct dentry *dentry, 49 ssize_t __vfs_getxattr(struct dentry *dentry, struct inode *inode, 51 ssize_t vfs_getxattr(struct dentry *, const char *, void *, size_t); 52 ssize_t vfs_listxattr(struct dentry *d, char *list, size_t size); 53 int __vfs_setxattr(struct dentry *, struct inode *, const char *, const void *, size_t, int); 54 int __vfs_setxattr_noperm(struct dentry *, const char *, const void *, size_t, int); 55 int __vfs_setxattr_locked(struct dentry *, const char *, const void *, size_t, int, struct inode **… [all …]
|
D | fsnotify.h | 26 static inline int fsnotify_dirent(struct inode *dir, struct dentry *dentry, in fsnotify_dirent() argument 29 return fsnotify(dir, mask, d_inode(dentry), FSNOTIFY_EVENT_INODE, in fsnotify_dirent() 30 &dentry->d_name, 0); in fsnotify_dirent() 35 struct dentry *dentry, __u32 mask) in fsnotify_parent() argument 37 if (!dentry) in fsnotify_parent() 38 dentry = path->dentry; in fsnotify_parent() 40 return __fsnotify_parent(path, dentry, mask); in fsnotify_parent() 107 struct dentry *moved) in fsnotify_move() 171 static inline void fsnotify_create(struct inode *inode, struct dentry *dentry) in fsnotify_create() argument 173 audit_inode_child(inode, dentry, AUDIT_TYPE_CHILD_CREATE); in fsnotify_create() [all …]
|
D | ima.h | 26 extern void ima_post_path_mknod(struct dentry *dentry); 90 static inline void ima_post_path_mknod(struct dentry *dentry) in ima_post_path_mknod() argument 107 extern void ima_inode_post_setattr(struct dentry *dentry); 108 extern int ima_inode_setxattr(struct dentry *dentry, const char *xattr_name, 110 extern int ima_inode_removexattr(struct dentry *dentry, const char *xattr_name); 117 static inline void ima_inode_post_setattr(struct dentry *dentry) in ima_inode_post_setattr() argument 122 static inline int ima_inode_setxattr(struct dentry *dentry, in ima_inode_setxattr() argument 130 static inline int ima_inode_removexattr(struct dentry *dentry, in ima_inode_removexattr() argument
|
D | security.h | 44 struct dentry; 145 extern int cap_inode_setxattr(struct dentry *dentry, const char *name, 147 extern int cap_inode_removexattr(struct dentry *dentry, const char *name); 148 extern int cap_inode_need_killpriv(struct dentry *dentry); 149 extern int cap_inode_killpriv(struct dentry *dentry); 276 int security_quota_on(struct dentry *dentry); 293 int security_sb_statfs(struct dentry *dentry); 309 int security_dentry_init_security(struct dentry *dentry, int mode, 312 int security_dentry_create_files_as(struct dentry *dentry, int mode, 326 int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode); [all …]
|
D | exportfs.h | 7 struct dentry; 196 struct dentry * (*fh_to_dentry)(struct super_block *sb, struct fid *fid, 198 struct dentry * (*fh_to_parent)(struct super_block *sb, struct fid *fid, 200 int (*get_name)(struct dentry *parent, char *name, 201 struct dentry *child); 202 struct dentry * (*get_parent)(struct dentry *child); 215 extern int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, 217 extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, 218 int fh_len, int fileid_type, int (*acceptable)(void *, struct dentry *), 224 extern struct dentry *generic_fh_to_dentry(struct super_block *sb, [all …]
|
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_hooks.h | 1488 int (*quota_on)(struct dentry *dentry); 1508 int (*sb_statfs)(struct dentry *dentry); 1524 int (*dentry_init_security)(struct dentry *dentry, int mode, 1527 int (*dentry_create_files_as)(struct dentry *dentry, int mode, 1534 int (*path_unlink)(const struct path *dir, struct dentry *dentry); 1535 int (*path_mkdir)(const struct path *dir, struct dentry *dentry, 1537 int (*path_rmdir)(const struct path *dir, struct dentry *dentry); 1538 int (*path_mknod)(const struct path *dir, struct dentry *dentry, 1541 int (*path_symlink)(const struct path *dir, struct dentry *dentry, 1543 int (*path_link)(struct dentry *old_dentry, const struct path *new_dir, [all …]
|
D | oprofile.h | 45 struct dentry; 53 int (*create_files)(struct dentry * root); 127 int oprofilefs_create_file(struct dentry * root, 130 int oprofilefs_create_file_perm(struct dentry * root, 134 int oprofilefs_create_ulong(struct dentry * root, 138 int oprofilefs_create_ro_ulong(struct dentry * root, 142 int oprofilefs_create_ro_atomic(struct dentry * root, 146 struct dentry *oprofilefs_mkdir(struct dentry *parent, char const *name);
|
D | fscrypt.h | 119 static inline void fscrypt_handle_d_move(struct dentry *dentry) in fscrypt_handle_d_move() argument 121 dentry->d_flags &= ~DCACHE_ENCRYPTED_NAME; in fscrypt_handle_d_move() 148 static inline bool fscrypt_is_nokey_name(const struct dentry *dentry) in fscrypt_is_nokey_name() argument 150 return dentry->d_flags & DCACHE_ENCRYPTED_NAME; in fscrypt_is_nokey_name() 181 int fscrypt_d_revalidate(struct dentry *dentry, unsigned int flags); 249 struct dentry *dentry); 250 int __fscrypt_prepare_rename(struct inode *old_dir, struct dentry *old_dentry, 251 struct inode *new_dir, struct dentry *new_dentry, 253 int __fscrypt_prepare_lookup(struct inode *dir, struct dentry *dentry, 289 static inline void fscrypt_handle_d_move(struct dentry *dentry) in fscrypt_handle_d_move() argument [all …]
|
D | fault-inject.h | 31 struct dentry *dname; 50 struct dentry *fault_create_debugfs_attr(const char *name, 51 struct dentry *parent, struct fault_attr *attr); 55 static inline struct dentry *fault_create_debugfs_attr(const char *name, in fault_create_debugfs_attr() 56 struct dentry *parent, struct fault_attr *attr) in fault_create_debugfs_attr()
|
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 | 44 struct dentry; 45 extern int vfs_get_fsid(struct dentry *dentry, __kernel_fsid_t *fsid);
|
D | relay.h | 44 struct dentry *dentry; /* channel file dentry */ member 72 struct dentry *parent; /* parent dentry passed to open */ 146 struct dentry *(*create_buf_file)(const char *filename, 147 struct dentry *parent, 162 int (*remove_buf_file)(struct dentry *dentry); 170 struct dentry *parent, 177 struct dentry *parent);
|
D | fsverity.h | 133 int fsverity_prepare_setattr(struct dentry *dentry, struct iattr *attr); 171 static inline int fsverity_prepare_setattr(struct dentry *dentry, in fsverity_prepare_setattr() argument 174 return IS_VERITY(d_inode(dentry)) ? -EOPNOTSUPP : 0; in fsverity_prepare_setattr()
|
D | audit.h | 271 extern void __audit_inode(struct filename *name, const struct dentry *dentry, 275 const struct dentry *dentry, 330 const struct dentry *dentry, in audit_inode() argument 333 __audit_inode(name, dentry, aflags); in audit_inode() 341 const struct dentry *dentry) in audit_inode_parent_hidden() argument 344 __audit_inode(name, dentry, in audit_inode_parent_hidden() 348 const struct dentry *dentry, in audit_inode_child() argument 351 __audit_inode_child(parent, dentry, type); in audit_inode_child() 548 const struct dentry *dentry, in __audit_inode() argument 552 const struct dentry *dentry, in __audit_inode_child() argument [all …]
|
D | fsnotify_backend.h | 355 extern int __fsnotify_parent(const struct path *path, struct dentry *dentry, __u32 mask); 375 static inline void fsnotify_update_flags(struct dentry *dentry) in fsnotify_update_flags() argument 377 assert_spin_locked(&dentry->d_lock); in fsnotify_update_flags() 386 if (fsnotify_inode_watches_children(dentry->d_parent->d_inode)) in fsnotify_update_flags() 387 dentry->d_flags |= DCACHE_FSNOTIFY_PARENT_WATCHED; in fsnotify_update_flags() 389 dentry->d_flags &= ~DCACHE_FSNOTIFY_PARENT_WATCHED; in fsnotify_update_flags() 516 static inline int __fsnotify_parent(const struct path *path, struct dentry *dentry, __u32 mask) in __fsnotify_parent() argument 530 static inline void fsnotify_update_flags(struct dentry *dentry) in fsnotify_update_flags() argument
|
D | nfs_fs.h | 72 struct dentry *dentry; member 337 static inline void nfs_set_verifier(struct dentry * dentry, unsigned long verf) in nfs_set_verifier() argument 339 dentry->d_time = verf; in nfs_set_verifier() 391 extern int nfs_setattr(struct dentry *, struct iattr *); 398 extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode, struc… 495 extern struct dentry *nfs_add_or_obtain(struct dentry *dentry, 498 extern int nfs_instantiate(struct dentry *dentry, struct nfs_fh *fh, 530 extern void nfs_complete_unlink(struct dentry *dentry, struct inode *);
|
/include/linux/sunrpc/ |
D | rpc_pipe_fs.h | 11 struct dentry *pdh_dentry; 23 int (*create)(struct dentry *dir, 25 void (*destroy)(struct dentry *dir, 57 struct dentry *dentry; member 86 extern struct dentry *rpc_d_lookup_sb(const struct super_block *sb, 103 extern struct dentry *rpc_create_client_dir(struct dentry *, const char *, struct rpc_clnt *); 124 extern struct dentry *rpc_create_cache_dir(struct dentry *, 128 extern void rpc_remove_cache_dir(struct dentry *); 132 extern struct dentry *rpc_mkpipe_dentry(struct dentry *, const char *, void *, 134 extern int rpc_unlink(struct dentry *);
|
/include/trace/events/ |
D | cachefiles.h | 101 struct dentry *de, 108 __field(struct dentry *, de ) 124 struct dentry *de, int ret), 130 __field(struct dentry *, de ) 146 struct dentry *de, int ret), 152 __field(struct dentry *, de ) 168 struct dentry *de, 176 __field(struct dentry *, de ) 193 struct dentry *de, 194 struct dentry *to, [all …]
|
/include/drm/ |
D | drm_debugfs.h | 79 struct dentry *dent; 84 int count, struct dentry *root, 90 int count, struct dentry *root, in drm_debugfs_create_files()
|