Home
last modified time | relevance | path

Searched defs:dentry (Results 1 – 200 of 411) sorted by relevance

123

/linux-4.4.14/include/linux/
Ddcache.h108 struct dentry { struct
111 seqcount_t d_seq; /* per dentry seqlock */ argument
113 struct dentry *d_parent; /* parent directory */ argument
120 struct lockref d_lockref; /* per-dentry lock and refcount */ argument
121 const struct dentry_operations *d_op; argument
122 struct super_block *d_sb; /* The root of the dentry tree */ argument
139 * dentry->d_lock spinlock nesting subclasses: argument
324 static inline unsigned d_count(const struct dentry *dentry) in d_count()
352 static inline struct dentry *dget_dlock(struct dentry *dentry) in dget_dlock()
359 static inline struct dentry *dget(struct dentry *dentry) in dget()
[all …]
Devm.h46 static inline enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr()
56 static inline int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) in evm_inode_setattr()
61 static inline void evm_inode_post_setattr(struct dentry *dentry, int ia_valid) in evm_inode_post_setattr()
66 static inline int evm_inode_setxattr(struct dentry *dentry, const char *name, in evm_inode_setxattr()
72 static inline void evm_inode_post_setxattr(struct dentry *dentry, in evm_inode_post_setxattr()
80 static inline int evm_inode_removexattr(struct dentry *dentry, in evm_inode_removexattr()
86 static inline void evm_inode_post_removexattr(struct dentry *dentry, in evm_inode_post_removexattr()
Dfsnotify.h22 static inline void fsnotify_d_instantiate(struct dentry *dentry, in fsnotify_d_instantiate()
29 static inline int fsnotify_parent(struct path *path, struct dentry *dentry, __u32 mask) in fsnotify_parent()
66 static inline void fsnotify_d_move(struct dentry *dentry) in fsnotify_d_move()
136 static inline void fsnotify_nameremove(struct dentry *dentry, int isdir) in fsnotify_nameremove()
158 static inline void fsnotify_create(struct inode *inode, struct dentry *dentry) in fsnotify_create()
181 static inline void fsnotify_mkdir(struct inode *inode, struct dentry *dentry) in fsnotify_mkdir()
265 static inline void fsnotify_xattr(struct dentry *dentry) in fsnotify_xattr()
281 static inline void fsnotify_change(struct dentry *dentry, unsigned int ia_valid) in fsnotify_change()
Dima.h63 static inline void ima_inode_post_setattr(struct dentry *dentry) in ima_inode_post_setattr()
68 static inline int ima_inode_setxattr(struct dentry *dentry, in ima_inode_setxattr()
76 static inline int ima_inode_removexattr(struct dentry *dentry, in ima_inode_removexattr()
Dsecurity.h450 static inline int security_quota_on(struct dentry *dentry) in security_quota_on()
523 static inline int security_sb_statfs(struct dentry *dentry) in security_sb_statfs()
573 static inline int security_dentry_init_security(struct dentry *dentry, in security_dentry_init_security()
602 struct dentry *dentry, in security_inode_create()
616 struct dentry *dentry) in security_inode_unlink()
622 struct dentry *dentry, in security_inode_symlink()
629 struct dentry *dentry, in security_inode_mkdir()
636 struct dentry *dentry) in security_inode_rmdir()
642 struct dentry *dentry, in security_inode_mknod()
657 static inline int security_inode_readlink(struct dentry *dentry) in security_inode_readlink()
[all …]
Dfsnotify_backend.h270 static inline void __fsnotify_update_dcache_flags(struct dentry *dentry) in __fsnotify_update_dcache_flags()
293 static inline void __fsnotify_d_instantiate(struct dentry *dentry, struct inode *inode) in __fsnotify_d_instantiate()
385 static inline int __fsnotify_parent(struct path *path, struct dentry *dentry, __u32 mask) in __fsnotify_parent()
396 static inline void __fsnotify_update_dcache_flags(struct dentry *dentry) in __fsnotify_update_dcache_flags()
399 static inline void __fsnotify_d_instantiate(struct dentry *dentry, struct inode *inode) in __fsnotify_d_instantiate()
Daudit.h184 const struct dentry *dentry, in audit_inode()
199 const struct dentry *dentry) in audit_inode_parent_hidden()
206 const struct dentry *dentry, in audit_inode_child()
359 const struct dentry *dentry, in __audit_inode()
363 const struct dentry *dentry, in __audit_inode_child()
367 const struct dentry *dentry, in audit_inode()
374 const struct dentry *dentry) in audit_inode_parent_hidden()
377 const struct dentry *dentry, in audit_inode_child()
Dpath.h9 struct dentry *dentry; member
/linux-4.4.14/fs/
Ddcache.c216 static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount) in dentry_cmp()
248 static inline struct external_name *external_name(struct dentry *dentry) in external_name()
255 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local
262 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free_external() local
267 static inline int dname_external(const struct dentry *dentry) in dname_external()
272 static inline void __d_set_inode_and_type(struct dentry *dentry, in __d_set_inode_and_type()
285 static inline void __d_clear_type_and_inode(struct dentry *dentry) in __d_clear_type_and_inode()
294 static void dentry_free(struct dentry *dentry) in dentry_free()
318 static inline void dentry_rcuwalk_invalidate(struct dentry *dentry) in dentry_rcuwalk_invalidate()
330 static void dentry_iput(struct dentry * dentry) in dentry_iput()
[all …]
Dbad_inode.c28 static int bad_inode_create (struct inode *dir, struct dentry *dentry, in bad_inode_create()
35 struct dentry *dentry, unsigned int flags) in bad_inode_lookup()
41 struct dentry *dentry) in bad_inode_link()
46 static int bad_inode_unlink(struct inode *dir, struct dentry *dentry) in bad_inode_unlink()
51 static int bad_inode_symlink (struct inode *dir, struct dentry *dentry, in bad_inode_symlink()
57 static int bad_inode_mkdir(struct inode *dir, struct dentry *dentry, in bad_inode_mkdir()
63 static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry) in bad_inode_rmdir()
68 static int bad_inode_mknod (struct inode *dir, struct dentry *dentry, in bad_inode_mknod()
81 static int bad_inode_readlink(struct dentry *dentry, char __user *buffer, in bad_inode_readlink()
92 static int bad_inode_getattr(struct vfsmount *mnt, struct dentry *dentry, in bad_inode_getattr()
[all …]
Dlibfs.c23 int simple_getattr(struct vfsmount *mnt, struct dentry *dentry, in simple_getattr()
33 int simple_statfs(struct dentry *dentry, struct kstatfs *buf) in simple_statfs()
46 int always_delete_dentry(const struct dentry *dentry) in always_delete_dentry()
61 struct dentry *simple_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in simple_lookup()
91 struct dentry *dentry = file->f_path.dentry; in dcache_dir_lseek() local
146 struct dentry *dentry = file->f_path.dentry; in dcache_readdir() local
216 struct dentry *dentry; in mount_pseudo() local
266 int simple_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) in simple_link()
279 int simple_empty(struct dentry *dentry) in simple_empty()
300 int simple_unlink(struct inode *dir, struct dentry *dentry) in simple_unlink()
[all …]
Dnsfs.c15 static char *ns_dname(struct dentry *dentry, char *buffer, int buflen) in ns_dname()
24 static void ns_prune_dentry(struct dentry *dentry) in ns_prune_dentry()
52 struct dentry *dentry; in ns_get_path() local
140 static int nsfs_show_path(struct seq_file *seq, struct dentry *dentry) in nsfs_show_path()
Dnamei.c680 static int unlazy_walk(struct nameidata *nd, struct dentry *dentry, unsigned seq) in unlazy_walk()
765 static inline int d_revalidate(struct dentry *dentry, unsigned int flags) in d_revalidate()
782 struct dentry *dentry = nd->path.dentry; in complete_walk() local
985 struct dentry *dentry = last->link.dentry; in get_link() local
1244 static inline int managed_dentry_rcu(struct dentry *dentry) in managed_dentry_rcu()
1454 struct dentry *dentry; in lookup_dcache() local
1491 static struct dentry *lookup_real(struct inode *dir, struct dentry *dentry, in lookup_real()
1514 struct dentry *dentry; in __lookup_hash() local
1533 struct dentry *dentry, *parent = nd->path.dentry; in lookup_fast() local
1628 struct dentry *dentry, *parent; in lookup_slow() local
[all …]
Dxattr.c92 int __vfs_setxattr_noperm(struct dentry *dentry, const char *name, in __vfs_setxattr_noperm()
122 vfs_setxattr(struct dentry *dentry, const char *name, const void *value, in vfs_setxattr()
181 vfs_getxattr_alloc(struct dentry *dentry, const char *name, char **xattr_value, in vfs_getxattr_alloc()
212 int vfs_xattr_cmp(struct dentry *dentry, const char *xattr_name, in vfs_xattr_cmp()
231 vfs_getxattr(struct dentry *dentry, const char *name, void *value, size_t size) in vfs_getxattr()
287 vfs_removexattr(struct dentry *dentry, const char *name) in vfs_removexattr()
716 generic_getxattr(struct dentry *dentry, const char *name, void *buffer, size_t size) in generic_getxattr()
731 generic_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) in generic_listxattr()
761 generic_setxattr(struct dentry *dentry, const char *name, const void *value, size_t size, int flags) in generic_setxattr()
778 generic_removexattr(struct dentry *dentry, const char *name) in generic_removexattr()
Dnamespace.c81 static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry) in m_hash()
89 static inline struct hlist_head *mp_hash(struct dentry *dentry) in mp_hash()
629 struct mount *__lookup_mnt(struct vfsmount *mnt, struct dentry *dentry) in __lookup_mnt()
644 struct mount *__lookup_mnt_last(struct vfsmount *mnt, struct dentry *dentry) in __lookup_mnt_last()
709 bool __is_local_mountpoint(struct dentry *dentry) in __is_local_mountpoint()
729 static struct mountpoint *lookup_mountpoint(struct dentry *dentry) in lookup_mountpoint()
746 static struct mountpoint *new_mountpoint(struct dentry *dentry) in new_mountpoint()
772 struct dentry *dentry = mp->m_dentry; in put_mountpoint() local
1554 void __detach_mounts(struct dentry *dentry) in __detach_mounts()
1647 static bool is_mnt_ns_file(struct dentry *dentry) in is_mnt_ns_file()
[all …]
Dattr.c190 int notify_change(struct dentry * dentry, struct iattr * attr, struct inode **delegated_inode) in notify_change()
Dbinfmt_misc.c56 struct dentry *dentry; member
583 struct dentry *dentry; in kill_node() local
668 struct dentry *root, *dentry; in bm_register_write() local
Dopen.c37 int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs, in do_truncate()
157 struct dentry *dentry; in do_sys_ftruncate() local
790 int finish_open(struct file *file, struct dentry *dentry, in finish_open()
821 int finish_no_open(struct file *file, struct dentry *dentry) in finish_no_open()
993 struct file *file_open_root(struct dentry *dentry, struct vfsmount *mnt, in file_open_root()
Danon_inodes.c31 static char *anon_inodefs_dname(struct dentry *dentry, char *buffer, int buflen) in anon_inodefs_dname()
/linux-4.4.14/fs/overlayfs/
Dsuper.c71 enum ovl_path_type ovl_path_type(struct dentry *dentry) in ovl_path_type()
99 void ovl_path_upper(struct dentry *dentry, struct path *path) in ovl_path_upper()
108 enum ovl_path_type ovl_path_real(struct dentry *dentry, struct path *path) in ovl_path_real()
120 struct dentry *ovl_dentry_upper(struct dentry *dentry) in ovl_dentry_upper()
127 struct dentry *ovl_dentry_lower(struct dentry *dentry) in ovl_dentry_lower()
134 struct dentry *ovl_dentry_real(struct dentry *dentry) in ovl_dentry_real()
160 struct ovl_dir_cache *ovl_dir_cache(struct dentry *dentry) in ovl_dir_cache()
167 void ovl_set_dir_cache(struct dentry *dentry, struct ovl_dir_cache *cache) in ovl_set_dir_cache()
174 void ovl_path_lower(struct dentry *dentry, struct path *path) in ovl_path_lower()
181 int ovl_want_write(struct dentry *dentry) in ovl_want_write()
[all …]
Ddir.c34 struct dentry *ovl_lookup_temp(struct dentry *workdir, struct dentry *dentry) in ovl_lookup_temp()
53 struct dentry *dentry) in ovl_whiteout()
135 static int ovl_dir_getattr(struct vfsmount *mnt, struct dentry *dentry, in ovl_dir_getattr()
161 static int ovl_create_upper(struct dentry *dentry, struct inode *inode, in ovl_create_upper()
212 static struct dentry *ovl_clear_empty(struct dentry *dentry, in ovl_clear_empty()
290 static struct dentry *ovl_check_empty_and_clear(struct dentry *dentry) in ovl_check_empty_and_clear()
316 static int ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode, in ovl_create_over_whiteout()
385 static int ovl_create_or_link(struct dentry *dentry, int mode, dev_t rdev, in ovl_create_or_link()
440 static int ovl_create_object(struct dentry *dentry, int mode, dev_t rdev, in ovl_create_object()
454 static int ovl_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ovl_create()
[all …]
Dinode.c15 static int ovl_copy_up_truncate(struct dentry *dentry) in ovl_copy_up_truncate()
40 int ovl_setattr(struct dentry *dentry, struct iattr *attr) in ovl_setattr()
77 static int ovl_getattr(struct vfsmount *mnt, struct dentry *dentry, in ovl_getattr()
155 static const char *ovl_follow_link(struct dentry *dentry, void **cookie) in ovl_follow_link()
202 static int ovl_readlink(struct dentry *dentry, char __user *buf, int bufsiz) in ovl_readlink()
224 int ovl_setxattr(struct dentry *dentry, const char *name, in ovl_setxattr()
251 static bool ovl_need_xattr_filter(struct dentry *dentry, in ovl_need_xattr_filter()
260 ssize_t ovl_getxattr(struct dentry *dentry, const char *name, in ovl_getxattr()
272 ssize_t ovl_listxattr(struct dentry *dentry, char *list, size_t size) in ovl_listxattr()
304 int ovl_removexattr(struct dentry *dentry, const char *name) in ovl_removexattr()
[all …]
Doverlayfs.h30 static inline int ovl_do_rmdir(struct inode *dir, struct dentry *dentry) in ovl_do_rmdir()
37 static inline int ovl_do_unlink(struct inode *dir, struct dentry *dentry) in ovl_do_unlink()
55 static inline int ovl_do_create(struct inode *dir, struct dentry *dentry, in ovl_do_create()
64 static inline int ovl_do_mkdir(struct inode *dir, struct dentry *dentry, in ovl_do_mkdir()
73 static inline int ovl_do_mknod(struct inode *dir, struct dentry *dentry, in ovl_do_mknod()
84 static inline int ovl_do_symlink(struct inode *dir, struct dentry *dentry, in ovl_do_symlink()
93 static inline int ovl_do_setxattr(struct dentry *dentry, const char *name, in ovl_do_setxattr()
102 static inline int ovl_do_removexattr(struct dentry *dentry, const char *name) in ovl_do_removexattr()
127 static inline int ovl_do_whiteout(struct inode *dir, struct dentry *dentry) in ovl_do_whiteout()
Dreaddir.c173 static void ovl_cache_put(struct ovl_dir_file *od, struct dentry *dentry) in ovl_cache_put()
206 struct dentry *dentry; in ovl_check_whiteouts() local
271 struct dentry *dentry = file->f_path.dentry; in ovl_dir_reset() local
284 static int ovl_dir_read_merged(struct dentry *dentry, struct list_head *list) in ovl_dir_read_merged()
331 static struct ovl_dir_cache *ovl_cache_get(struct dentry *dentry) in ovl_cache_get()
366 struct dentry *dentry = file->f_path.dentry; in ovl_iterate() local
441 struct dentry *dentry = file->f_path.dentry; in ovl_dir_fsync() local
528 int ovl_check_empty_dir(struct dentry *dentry, struct list_head *list) in ovl_check_empty_dir()
562 struct dentry *dentry; in ovl_cleanup_whiteouts() local
Dcopy_up.c208 struct dentry *dentry, struct path *lowerpath, in ovl_copy_up_locked()
296 int ovl_copy_up_one(struct dentry *parent, struct dentry *dentry, in ovl_copy_up_one()
378 int ovl_copy_up(struct dentry *dentry) in ovl_copy_up()
/linux-4.4.14/fs/9p/
Dfid.c44 static inline void __add_fid(struct dentry *dentry, struct p9_fid *fid) in __add_fid()
49 void v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid) in v9fs_fid_add()
64 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find()
94 struct dentry *dentry, char ***names) in build_path_from_dentry()
116 static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry, in v9fs_fid_lookup_with_uid()
231 struct p9_fid *v9fs_fid_lookup(struct dentry *dentry) in v9fs_fid_lookup()
260 struct p9_fid *v9fs_fid_clone(struct dentry *dentry) in v9fs_fid_clone()
272 static struct p9_fid *v9fs_fid_clone_with_uid(struct dentry *dentry, kuid_t uid) in v9fs_fid_clone_with_uid()
284 struct p9_fid *v9fs_writeback_fid(struct dentry *dentry) in v9fs_writeback_fid()
Dvfs_dentry.c50 static int v9fs_cached_dentry_delete(const struct dentry *dentry) in v9fs_cached_dentry_delete()
67 static void v9fs_dentry_release(struct dentry *dentry) in v9fs_dentry_release()
77 static int v9fs_lookup_revalidate(struct dentry *dentry, unsigned int flags) in v9fs_lookup_revalidate()
Dxattr.c70 ssize_t v9fs_xattr_get(struct dentry *dentry, const char *name, in v9fs_xattr_get()
96 int v9fs_xattr_set(struct dentry *dentry, const char *name, in v9fs_xattr_set()
135 ssize_t v9fs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) in v9fs_listxattr()
141 struct dentry *dentry, const char *name, in v9fs_xattr_handler_get()
152 struct dentry *dentry, const char *name, in v9fs_xattr_handler_set()
Dvfs_inode.c586 static int v9fs_remove(struct inode *dir, struct dentry *dentry, int flags) in v9fs_remove()
643 struct dentry *dentry, char *extension, u32 perm, u8 mode) in v9fs_create()
724 v9fs_vfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in v9fs_vfs_create()
750 static int v9fs_vfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in v9fs_vfs_mkdir()
784 struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry, in v9fs_vfs_lookup()
845 v9fs_vfs_atomic_open(struct inode *dir, struct dentry *dentry, in v9fs_vfs_atomic_open()
1053 v9fs_vfs_getattr(struct vfsmount *mnt, struct dentry *dentry, in v9fs_vfs_getattr()
1089 static int v9fs_vfs_setattr(struct dentry *dentry, struct iattr *iattr) in v9fs_vfs_setattr()
1231 static const char *v9fs_vfs_follow_link(struct dentry *dentry, void **cookie) in v9fs_vfs_follow_link()
1274 static int v9fs_vfs_mkspecial(struct inode *dir, struct dentry *dentry, in v9fs_vfs_mkspecial()
[all …]
Dvfs_inode_dotl.c233 v9fs_vfs_create_dotl(struct inode *dir, struct dentry *dentry, umode_t omode, in v9fs_vfs_create_dotl()
240 v9fs_vfs_atomic_open_dotl(struct inode *dir, struct dentry *dentry, in v9fs_vfs_atomic_open_dotl()
382 struct dentry *dentry, umode_t omode) in v9fs_vfs_mkdir_dotl()
473 v9fs_vfs_getattr_dotl(struct vfsmount *mnt, struct dentry *dentry, in v9fs_vfs_getattr_dotl()
554 int v9fs_vfs_setattr_dotl(struct dentry *dentry, struct iattr *iattr) in v9fs_vfs_setattr_dotl()
678 v9fs_vfs_symlink_dotl(struct inode *dir, struct dentry *dentry, in v9fs_vfs_symlink_dotl()
762 struct dentry *dentry) in v9fs_vfs_link_dotl()
814 v9fs_vfs_mknod_dotl(struct inode *dir, struct dentry *dentry, umode_t omode, in v9fs_vfs_mknod_dotl()
908 v9fs_vfs_follow_link_dotl(struct dentry *dentry, void **cookie) in v9fs_vfs_follow_link_dotl()
Dacl.c216 struct dentry *dentry, const char *name, in v9fs_xattr_get_acl()
245 struct dentry *dentry, const char *name, in v9fs_xattr_set_acl()
/linux-4.4.14/fs/autofs4/
Droot.c74 static void autofs4_add_active(struct dentry *dentry) in autofs4_add_active()
90 static void autofs4_del_active(struct dentry *dentry) in autofs4_del_active()
108 struct dentry *dentry = file->f_path.dentry; in autofs4_dir_open() local
158 static struct dentry *autofs4_lookup_active(struct dentry *dentry) in autofs4_lookup_active()
212 static struct dentry *autofs4_lookup_expiring(struct dentry *dentry, in autofs4_lookup_expiring()
272 static int autofs4_mount_wait(struct dentry *dentry, bool rcu_walk) in autofs4_mount_wait()
289 static int do_expire_wait(struct dentry *dentry, bool rcu_walk) in do_expire_wait()
313 struct dentry *dentry = path->dentry; in autofs4_mountpoint_changed() local
336 struct dentry *dentry = path->dentry; in autofs4_d_automount() local
422 static int autofs4_d_manage(struct dentry *dentry, bool rcu_walk) in autofs4_d_manage()
[all …]
Dautofs_i.h61 struct dentry *dentry; member
137 static inline struct autofs_info *autofs4_dentry_ino(struct dentry *dentry) in autofs4_dentry_ino()
184 static inline void __managed_dentry_set_managed(struct dentry *dentry) in __managed_dentry_set_managed()
189 static inline void managed_dentry_set_managed(struct dentry *dentry) in managed_dentry_set_managed()
196 static inline void __managed_dentry_clear_managed(struct dentry *dentry) in __managed_dentry_clear_managed()
201 static inline void managed_dentry_clear_managed(struct dentry *dentry) in managed_dentry_clear_managed()
241 static inline void __autofs4_add_expiring(struct dentry *dentry) in __autofs4_add_expiring()
252 static inline void autofs4_add_expiring(struct dentry *dentry) in autofs4_add_expiring()
265 static inline void autofs4_del_expiring(struct dentry *dentry) in autofs4_del_expiring()
Dexpire.c20 static inline int autofs4_can_expire(struct dentry *dentry, in autofs4_can_expire()
38 static int autofs4_mount_busy(struct vfsmount *mnt, struct dentry *dentry) in autofs4_mount_busy()
344 static struct dentry *should_expire(struct dentry *dentry, in should_expire()
433 struct dentry *dentry; in autofs4_expire_indirect() local
490 int autofs4_expire_wait(struct dentry *dentry, int rcu_walk) in autofs4_expire_wait()
531 struct dentry *dentry; in autofs4_expire_run() local
564 struct dentry *dentry; in autofs4_do_expire_multi() local
Dwaitq.c181 struct dentry *dentry, char **name) in autofs4_getpath()
251 struct dentry*dentry, enum autofs_notify notify) in validate_request()
343 int autofs4_wait(struct autofs_sb_info *sbi, struct dentry *dentry, in autofs4_wait()
Dsymlink.c15 static const char *autofs4_follow_link(struct dentry *dentry, void **cookie) in autofs4_follow_link()
/linux-4.4.14/fs/sysv/
Dnamei.c18 static int add_nondir(struct dentry *dentry, struct inode *inode) in add_nondir()
30 static int sysv_hash(const struct dentry *dentry, struct qstr *qstr) in sysv_hash()
45 static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) in sysv_lookup()
63 static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t mode, dev_t rdev) in sysv_mknod()
82 static int sysv_create(struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in sysv_create()
87 static int sysv_symlink(struct inode * dir, struct dentry * dentry, in sysv_symlink()
119 struct dentry * dentry) in sysv_link()
130 static int sysv_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in sysv_mkdir()
167 static int sysv_unlink(struct inode * dir, struct dentry * dentry) in sysv_unlink()
188 static int sysv_rmdir(struct inode * dir, struct dentry * dentry) in sysv_rmdir()
Ddir.c126 struct sysv_dir_entry *sysv_find_entry(struct dentry *dentry, struct page **res_page) in sysv_find_entry()
172 int sysv_add_link(struct dentry *dentry, struct inode *inode) in sysv_add_link()
356 ino_t sysv_inode_by_name(struct dentry *dentry) in sysv_inode_by_name()
Dfile.c31 static int sysv_setattr(struct dentry *dentry, struct iattr *attr) in sysv_setattr()
/linux-4.4.14/fs/minix/
Dnamei.c9 static int add_nondir(struct dentry *dentry, struct inode *inode) in add_nondir()
21 static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in minix_lookup()
39 static int minix_mknod(struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in minix_mknod()
57 static int minix_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in minix_tmpfile()
69 static int minix_create(struct inode *dir, struct dentry *dentry, umode_t mode, in minix_create()
75 static int minix_symlink(struct inode * dir, struct dentry *dentry, in minix_symlink()
105 struct dentry *dentry) in minix_link()
115 static int minix_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in minix_mkdir()
151 static int minix_unlink(struct inode * dir, struct dentry *dentry) in minix_unlink()
172 static int minix_rmdir(struct inode * dir, struct dentry *dentry) in minix_rmdir()
Dfile.c24 static int minix_setattr(struct dentry *dentry, struct iattr *attr) in minix_setattr()
Ddir.c150 minix_dirent *minix_find_entry(struct dentry *dentry, struct page **res_page) in minix_find_entry()
199 int minix_add_link(struct dentry *dentry, struct inode *inode) in minix_add_link()
450 ino_t minix_inode_by_name(struct dentry *dentry) in minix_inode_by_name()
/linux-4.4.14/security/integrity/evm/
Devm_main.c74 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs()
110 static enum integrity_status evm_verify_hmac(struct dentry *dentry, in evm_verify_hmac()
230 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr()
255 static enum integrity_status evm_verify_current_integrity(struct dentry *dentry) in evm_verify_current_integrity()
276 static int evm_protect_xattr(struct dentry *dentry, const char *xattr_name, in evm_protect_xattr()
334 int evm_inode_setxattr(struct dentry *dentry, const char *xattr_name, in evm_inode_setxattr()
357 int evm_inode_removexattr(struct dentry *dentry, const char *xattr_name) in evm_inode_removexattr()
375 void evm_inode_post_setxattr(struct dentry *dentry, const char *xattr_name, in evm_inode_post_setxattr()
395 void evm_inode_post_removexattr(struct dentry *dentry, const char *xattr_name) in evm_inode_post_removexattr()
407 int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) in evm_inode_setattr()
[all …]
Devm_crypto.c128 static int evm_calc_hmac_or_hash(struct dentry *dentry, in evm_calc_hmac_or_hash()
178 int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hmac()
186 int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name, in evm_calc_hash()
199 int evm_update_evmxattr(struct dentry *dentry, const char *xattr_name, in evm_update_evmxattr()
/linux-4.4.14/fs/affs/
Dnamei.c85 affs_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in affs_hash_dentry()
93 affs_intl_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in affs_intl_hash_dentry()
134 affs_compare_dentry(const struct dentry *parent, const struct dentry *dentry, in affs_compare_dentry()
143 affs_intl_compare_dentry(const struct dentry *parent, const struct dentry *dentry, in affs_intl_compare_dentry()
156 affs_match(struct dentry *dentry, const u8 *name2, toupper_t toupper) in affs_match()
188 affs_find_entry(struct inode *dir, struct dentry *dentry) in affs_find_entry()
217 affs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in affs_lookup()
251 affs_unlink(struct inode *dir, struct dentry *dentry) in affs_unlink()
260 affs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in affs_create()
291 affs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in affs_mkdir()
[all …]
Damigaffs.c124 struct dentry *dentry; in affs_fix_dcache() local
139 affs_remove_link(struct dentry *dentry) in affs_remove_link()
264 affs_remove_header(struct dentry *dentry) in affs_remove_header()
472 affs_nofilenametruncate(const struct dentry *dentry) in affs_nofilenametruncate()
508 affs_copy_name(unsigned char *bstr, struct dentry *dentry) in affs_copy_name()
Dinode.c214 affs_notify_change(struct dentry *dentry, struct iattr *attr) in affs_notify_change()
345 affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s32 type) in affs_add_entry()
/linux-4.4.14/fs/ufs/
Dnamei.c37 static inline int ufs_add_nondir(struct dentry *dentry, struct inode *inode) in ufs_add_nondir()
51 static struct dentry *ufs_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ufs_lookup()
73 static int ufs_create (struct inode * dir, struct dentry * dentry, umode_t mode, in ufs_create()
89 static int ufs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ufs_mknod()
108 static int ufs_symlink (struct inode * dir, struct dentry * dentry, in ufs_symlink()
150 struct dentry *dentry) in ufs_link()
168 static int ufs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ufs_mkdir()
208 static int ufs_unlink(struct inode *dir, struct dentry *dentry) in ufs_unlink()
230 static int ufs_rmdir (struct inode * dir, struct dentry *dentry) in ufs_rmdir()
/linux-4.4.14/fs/ext2/
Dnamei.c39 static inline int ext2_add_nondir(struct dentry *dentry, struct inode *inode) in ext2_add_nondir()
57 static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ext2_lookup()
96 static int ext2_create (struct inode * dir, struct dentry * dentry, umode_t mode, bool excl) in ext2_create()
121 static int ext2_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in ext2_tmpfile()
141 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod()
163 static int ext2_symlink (struct inode * dir, struct dentry * dentry, in ext2_symlink()
214 struct dentry *dentry) in ext2_link()
237 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir()
285 static int ext2_unlink(struct inode * dir, struct dentry *dentry) in ext2_unlink()
313 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
Dxattr_trusted.c13 struct dentry *dentry, char *list, size_t list_size, in ext2_xattr_trusted_list()
32 struct dentry *dentry, const char *name, in ext2_xattr_trusted_get()
43 struct dentry *dentry, const char *name, in ext2_xattr_trusted_set()
Dxattr_user.c15 struct dentry *dentry, char *list, size_t list_size, in ext2_xattr_user_list()
34 struct dentry *dentry, const char *name, in ext2_xattr_user_get()
47 struct dentry *dentry, const char *name, in ext2_xattr_user_set()
Dxattr_security.c12 struct dentry *dentry, char *list, size_t list_size, in ext2_xattr_security_list()
28 struct dentry *dentry, const char *name, in ext2_xattr_security_get()
39 struct dentry *dentry, const char *name, in ext2_xattr_security_set()
/linux-4.4.14/fs/ceph/
Ddir.c34 int ceph_init_dentry(struct dentry *dentry) in ceph_init_dentry()
71 struct inode *ceph_get_dentry_parent_inode(struct dentry *dentry) in ceph_get_dentry_parent_inode()
147 struct dentry *dentry, *last = NULL; in __dcache_readdir() local
553 struct dentry *dentry, int err) in ceph_handle_snapdir()
585 struct dentry *dentry, int err) in ceph_finish_lookup()
610 static int is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry()
620 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup()
684 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create()
707 static int ceph_mknod(struct inode *dir, struct dentry *dentry, in ceph_mknod()
754 static int ceph_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ceph_create()
[all …]
Dexport.c65 struct dentry *dentry; in __fh_to_dentry() local
130 struct dentry *dentry; in __get_parent() local
191 struct dentry *dentry; in ceph_fh_to_parent() local
Dxattr.c773 ssize_t ceph_getxattr(struct dentry *dentry, const char *name, void *value, in ceph_getxattr()
782 ssize_t ceph_listxattr(struct dentry *dentry, char *names, size_t size) in ceph_listxattr()
846 static int ceph_sync_setxattr(struct dentry *dentry, const char *name, in ceph_sync_setxattr()
908 int __ceph_setxattr(struct dentry *dentry, const char *name, in __ceph_setxattr()
1027 int ceph_setxattr(struct dentry *dentry, const char *name, in ceph_setxattr()
1042 static int ceph_send_removexattr(struct dentry *dentry, const char *name) in ceph_send_removexattr()
1067 int __ceph_removexattr(struct dentry *dentry, const char *name) in __ceph_removexattr()
1157 int ceph_removexattr(struct dentry *dentry, const char *name) in ceph_removexattr()
Dmds_client.c694 static struct dentry *get_nonsnap_parent(struct dentry *dentry) in get_nonsnap_parent()
1759 char *ceph_mdsc_build_path(struct dentry *dentry, int *plen, u64 *base, in ceph_mdsc_build_path()
1840 static int build_dentry_path(struct dentry *dentry, in build_dentry_path()
1864 struct dentry *dentry; in build_inode_path() local
2797 struct dentry *dentry; in encode_caps_cb() local
3146 void __ceph_mdsc_drop_dentry_lease(struct dentry *dentry) in __ceph_mdsc_drop_dentry_lease()
3160 struct dentry *parent, *dentry; in handle_lease() local
3261 struct dentry *dentry, char action, in ceph_mdsc_lease_send_msg()
3300 struct dentry *dentry) in ceph_mdsc_lease_release()
/linux-4.4.14/fs/reiserfs/
Dxattr.c65 static int xattr_create(struct inode *dir, struct dentry *dentry, int mode) in xattr_create()
72 static int xattr_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in xattr_mkdir()
84 static int xattr_unlink(struct inode *dir, struct dentry *dentry) in xattr_unlink()
99 static int xattr_rmdir(struct inode *dir, struct dentry *dentry) in xattr_rmdir()
196 struct dentry *dentry; in fill_with_dentries() local
235 int (*action)(struct dentry *, void *), in reiserfs_for_each_xattr()
267 struct dentry *dentry = buf.dentries[i]; in reiserfs_for_each_xattr() local
320 static int delete_one_xattr(struct dentry *dentry, void *data) in delete_one_xattr()
331 static int chown_one_xattr(struct dentry *dentry, void *data) in chown_one_xattr()
466 struct dentry *dentry, *xadir; in lookup_and_delete_xattr() local
[all …]
Dxattr_user.c10 user_get(const struct xattr_handler *handler, struct dentry *dentry, in user_get()
22 user_set(const struct xattr_handler *handler, struct dentry *dentry, in user_set()
34 struct dentry *dentry, char *list, size_t list_size, in user_list()
Dxattr_trusted.c11 trusted_get(const struct xattr_handler *handler, struct dentry *dentry, in trusted_get()
24 trusted_set(const struct xattr_handler *handler, struct dentry *dentry, in trusted_set()
37 struct dentry *dentry, char *list, size_t list_size, in trusted_list()
Dxattr_security.c12 security_get(const struct xattr_handler *handler, struct dentry *dentry, in security_get()
25 security_set(const struct xattr_handler *handler, struct dentry *dentry, in security_set()
38 struct dentry *dentry, char *list, size_t list_len, in security_list()
Dnamei.c352 static struct dentry *reiserfs_lookup(struct inode *dir, struct dentry *dentry, in reiserfs_lookup()
619 static int reiserfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in reiserfs_create()
699 static int reiserfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, in reiserfs_mknod()
783 static int reiserfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in reiserfs_mkdir()
897 static int reiserfs_rmdir(struct inode *dir, struct dentry *dentry) in reiserfs_rmdir()
994 static int reiserfs_unlink(struct inode *dir, struct dentry *dentry) in reiserfs_unlink()
1098 struct dentry *dentry, const char *symname) in reiserfs_symlink()
1198 struct dentry *dentry) in reiserfs_link()
/linux-4.4.14/fs/exofs/
Dnamei.c36 static inline int exofs_add_nondir(struct dentry *dentry, struct inode *inode) in exofs_add_nondir()
48 static struct dentry *exofs_lookup(struct inode *dir, struct dentry *dentry, in exofs_lookup()
62 static int exofs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in exofs_create()
77 static int exofs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, in exofs_mknod()
93 static int exofs_symlink(struct inode *dir, struct dentry *dentry, in exofs_symlink()
140 struct dentry *dentry) in exofs_link()
151 static int exofs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in exofs_mkdir()
190 static int exofs_unlink(struct inode *dir, struct dentry *dentry) in exofs_unlink()
212 static int exofs_rmdir(struct inode *dir, struct dentry *dentry) in exofs_rmdir()
Ddir.c304 struct dentry *dentry, struct page **res_page) in exofs_find_entry()
385 ino_t exofs_inode_by_name(struct inode *dir, struct dentry *dentry) in exofs_inode_by_name()
424 int exofs_add_link(struct dentry *dentry, struct inode *inode) in exofs_add_link()
/linux-4.4.14/fs/ocfs2/
Ddcache.c42 void ocfs2_dentry_attach_gen(struct dentry *dentry) in ocfs2_dentry_attach_gen()
51 static int ocfs2_dentry_revalidate(struct dentry *dentry, unsigned int flags) in ocfs2_dentry_revalidate()
128 static int ocfs2_match_dentry(struct dentry *dentry, in ocfs2_match_dentry()
172 struct dentry *dentry; in ocfs2_find_local_alias() local
226 int ocfs2_dentry_attach_lock(struct dentry *dentry, in ocfs2_dentry_attach_lock()
394 static void ocfs2_dentry_iput(struct dentry *dentry, struct inode *inode) in ocfs2_dentry_iput()
444 void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, in ocfs2_dentry_move()
Dnamei.c110 static struct dentry *ocfs2_lookup(struct inode *dir, struct dentry *dentry, in ocfs2_lookup()
223 struct dentry *dentry, struct inode *inode) in ocfs2_cleanup_add_entry_failure()
238 struct dentry *dentry, in ocfs2_mknod()
654 struct dentry *dentry, in ocfs2_mkdir()
669 struct dentry *dentry, in ocfs2_create()
686 struct dentry *dentry) in ocfs2_link()
851 static int ocfs2_remote_dentry_delete(struct dentry *dentry) in ocfs2_remote_dentry_delete()
878 struct dentry *dentry) in ocfs2_unlink()
1790 struct dentry *dentry, in ocfs2_symlink()
2764 struct dentry *dentry) in ocfs2_mv_orphaned_inode_to_new()
Ddir.h70 struct dentry *dentry, in ocfs2_add_entry()
/linux-4.4.14/fs/cachefiles/
Dxattr.c31 struct dentry *dentry = object->dentry; in cachefiles_check_object_type() local
106 struct dentry *dentry = object->dentry; in cachefiles_set_object_xattr() local
134 struct dentry *dentry = object->dentry; in cachefiles_update_object_xattr() local
163 struct dentry *dentry = object->dentry; in cachefiles_check_auxdata() local
201 struct dentry *dentry = object->dentry; in cachefiles_check_object_xattr() local
307 struct dentry *dentry) in cachefiles_remove_object_xattr()
Dnamei.c100 struct dentry *dentry, in cachefiles_mark_object_buried()
153 struct dentry *dentry; in cachefiles_mark_object_active() local
/linux-4.4.14/fs/ecryptfs/
Dinode.c39 static struct dentry *lock_parent(struct dentry *dentry) in lock_parent()
132 struct dentry *dentry, struct super_block *sb) in ecryptfs_interpose()
143 static int ecryptfs_do_unlink(struct inode *dir, struct dentry *dentry, in ecryptfs_do_unlink()
296 static int ecryptfs_i_size_read(struct dentry *dentry, struct inode *inode) in ecryptfs_i_size_read()
330 static int ecryptfs_lookup_interpose(struct dentry *dentry, in ecryptfs_lookup_interpose()
485 static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry) in ecryptfs_unlink()
490 static int ecryptfs_symlink(struct inode *dir, struct dentry *dentry, in ecryptfs_symlink()
530 static int ecryptfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ecryptfs_mkdir()
554 static int ecryptfs_rmdir(struct inode *dir, struct dentry *dentry) in ecryptfs_rmdir()
578 ecryptfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in ecryptfs_mknod()
[all …]
Ddentry.c45 static int ecryptfs_d_revalidate(struct dentry *dentry, unsigned int flags) in ecryptfs_d_revalidate()
80 static void ecryptfs_d_release(struct dentry *dentry) in ecryptfs_d_release()
Dsuper.c104 static int ecryptfs_statfs(struct dentry *dentry, struct kstatfs *buf) in ecryptfs_statfs()
/linux-4.4.14/fs/nfsd/
Dnfsfh.c26 static int nfsd_acceptable(void *expv, struct dentry *dentry) in nfsd_acceptable()
101 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root()
140 struct dentry *dentry; in nfsd_set_fh_dentry() local
307 struct dentry *dentry; in fh_verify() local
392 struct dentry *dentry) in _fh_update()
411 static inline void _fh_update_old(struct dentry *dentry, in _fh_update_old()
512 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose()
594 struct dentry *dentry; in fh_update() local
628 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
Dvfs.c87 struct dentry *dentry = *dpp; in nfsd_cross_mnt() local
169 int nfsd_mountpoint(struct dentry *dentry, struct svc_export *exp) in nfsd_mountpoint()
187 struct dentry *dentry; in nfsd_lookup_dentry() local
256 struct dentry *dentry; in nfsd_lookup() local
365 struct dentry *dentry; in nfsd_setattr() local
460 int nfsd4_is_junction(struct dentry *dentry) in nfsd4_is_junction()
480 struct dentry *dentry; in nfsd4_set_nfs4_label() local
566 struct dentry *dentry; in nfsd_access() local
1126 struct dentry *dentry, *dchild = NULL; in nfsd_create() local
1261 struct dentry *dentry, *dchild = NULL; in do_nfsd_create() local
[all …]
Dnfs4recover.c171 struct dentry *dir, *dentry; in nfsd4_create_clid_dir() local
293 struct dentry *dentry; in nfsd4_list_rec_dir() local
319 struct dentry *dir, *dentry; in nfsd4_unlink_clid_dir() local
777 struct dentry *dir, *dentry; in nfsd4_cld_register_sb() local
798 struct dentry *dentry; in nfsd4_cld_register_net() local
825 struct dentry *dentry; in nfsd4_init_cld_pipe() local
1509 struct dentry *dentry; in rpc_pipefs_event() local
/linux-4.4.14/security/integrity/ima/
Dima_appraise.c48 static int ima_fix_xattr(struct dentry *dentry, in ima_fix_xattr()
165 int ima_read_xattr(struct dentry *dentry, in ima_read_xattr()
192 struct dentry *dentry = file->f_path.dentry; in ima_appraise_measurement() local
292 struct dentry *dentry = file->f_path.dentry; in ima_update_xattr() local
315 void ima_inode_post_setattr(struct dentry *dentry) in ima_inode_post_setattr()
344 static int ima_protect_xattr(struct dentry *dentry, const char *xattr_name, in ima_protect_xattr()
372 int ima_inode_setxattr(struct dentry *dentry, const char *xattr_name, in ima_inode_setxattr()
394 int ima_inode_removexattr(struct dentry *dentry, const char *xattr_name) in ima_inode_removexattr()
/linux-4.4.14/fs/configfs/
Ddir.c53 static void configfs_d_iput(struct dentry * dentry, in configfs_d_iput()
226 struct dentry * dentry, void * element, in configfs_make_dirent()
272 static int configfs_create_dir(struct config_item *item, struct dentry *dentry) in configfs_create_dir()
346 struct dentry *dentry) in configfs_create_link()
399 struct dentry * dentry = dget(item->ci_dentry); in configfs_remove_dir() local
415 static int configfs_attach_attr(struct configfs_dirent * sd, struct dentry * dentry) in configfs_attach_attr()
438 struct dentry *dentry, in configfs_lookup()
494 static int configfs_detach_prep(struct dentry *dentry, struct mutex **wait_mutex) in configfs_detach_prep()
541 static void configfs_detach_rollback(struct dentry *dentry) in configfs_detach_rollback()
555 struct dentry * dentry = dget(item->ci_dentry); in detach_attrs() local
[all …]
Dsymlink.c74 struct dentry *dentry) in create_link()
135 int configfs_symlink(struct inode *dir, struct dentry *dentry, const char *symname) in configfs_symlink()
185 int configfs_unlink(struct inode *dir, struct dentry *dentry) in configfs_unlink()
257 static int configfs_getlink(struct dentry *dentry, char * path) in configfs_getlink()
282 static const char *configfs_follow_link(struct dentry *dentry, void **cookie) in configfs_follow_link()
Dinode.c57 int configfs_setattr(struct dentry * dentry, struct iattr * iattr) in configfs_setattr()
179 int configfs_create(struct dentry * dentry, umode_t mode, void (*init)(struct inode *)) in configfs_create()
235 struct dentry * dentry = sd->s_dentry; in configfs_drop_dentry() local
Dconfigfs_internal.h110 static inline struct config_item * to_item(struct dentry * dentry) in to_item()
116 static inline struct configfs_attribute * to_attr(struct dentry * dentry) in to_attr()
122 static inline struct config_item *configfs_get_config_item(struct dentry *dentry) in configfs_get_config_item()
Dfile.c64 static int fill_read_buffer(struct dentry * dentry, struct configfs_buffer * buffer) in fill_read_buffer()
170 flush_write_buffer(struct dentry * dentry, struct configfs_buffer * buffer, size_t count) in flush_write_buffer()
/linux-4.4.14/fs/xfs/
Dxfs_iops.c100 struct dentry *dentry, in xfs_dentry_to_name()
112 struct dentry *dentry) in xfs_cleanup_inode()
129 struct dentry *dentry, in xfs_generic_create()
209 struct dentry *dentry, in xfs_vn_mknod()
219 struct dentry *dentry, in xfs_vn_create()
229 struct dentry *dentry, in xfs_vn_mkdir()
238 struct dentry *dentry, in xfs_vn_lookup()
263 struct dentry *dentry, in xfs_vn_ci_lookup()
304 struct dentry *dentry) in xfs_vn_link()
324 struct dentry *dentry) in xfs_vn_unlink()
[all …]
Dxfs_xattr.c35 xfs_xattr_get(const struct xattr_handler *handler, struct dentry *dentry, in xfs_xattr_get()
80 xfs_xattr_set(const struct xattr_handler *handler, struct dentry *dentry, in xfs_xattr_set()
225 xfs_vn_listxattr(struct dentry *dentry, char *data, size_t size) in xfs_vn_listxattr()
Dxfs_ioctl32.c350 struct dentry *dentry; in xfs_compat_attrlist_by_handle() local
401 struct dentry *dentry; in xfs_compat_attrmulti_by_handle() local
495 struct dentry *dentry; in xfs_compat_fssetdm_by_handle() local
Dxfs_ioctl.c145 struct dentry *dentry) in xfs_handle_acceptable()
204 struct dentry *dentry; in xfs_open_by_handle() local
278 struct dentry *dentry; in xfs_readlink_by_handle() local
363 struct dentry *dentry; in xfs_fssetdm_by_handle() local
407 struct dentry *dentry; in xfs_attrlist_by_handle() local
528 struct dentry *dentry; in xfs_attrmulti_by_handle() local
/linux-4.4.14/fs/ncpfs/
Ddir.c128 ncp_hash_dentry(const struct dentry *dentry, struct qstr *this) in ncp_hash_dentry()
157 ncp_compare_dentry(const struct dentry *parent, const struct dentry *dentry, in ncp_compare_dentry()
181 ncp_delete_dentry(const struct dentry * dentry) in ncp_delete_dentry()
217 ncp_force_unlink(struct inode *dir, struct dentry* dentry) in ncp_force_unlink()
311 ncp_lookup_validate(struct dentry *dentry, unsigned int flags) in ncp_lookup_validate()
389 static time_t ncp_obtain_mtime(struct dentry *dentry) in ncp_obtain_mtime()
408 struct dentry *dentry; in ncp_invalidate_dircache_entries() local
420 struct dentry *dentry = file->f_path.dentry; in ncp_readdir() local
570 static void ncp_d_prune(struct dentry *dentry) in ncp_d_prune()
582 struct dentry *newdent, *dentry = file->f_path.dentry; in ncp_fill_cache() local
[all …]
Dncplib_kernel.h171 #define NCP_GET_AGE(dentry) (jiffies - (dentry)->d_time) argument
173 #define NCP_TEST_AGE(server,dentry) (NCP_GET_AGE(dentry) < NCP_MAX_AGE(server)) argument
176 ncp_age_dentry(struct ncp_server* server, struct dentry* dentry) in ncp_age_dentry()
182 ncp_new_dentry(struct dentry* dentry) in ncp_new_dentry()
197 struct dentry *dentry[NCP_DIRCACHE_SIZE]; member
Dsymlink.c106 int ncp_symlink(struct inode *dir, struct dentry *dentry, const char *symname) { in ncp_symlink()
/linux-4.4.14/fs/nfs/
Dunlink.c45 static int nfs_copy_dname(struct dentry *dentry, struct nfs_unlinkdata *data) in nfs_copy_dname()
183 static int nfs_call_unlink(struct dentry *dentry, struct nfs_unlinkdata *data) in nfs_call_unlink()
211 void nfs_wait_on_sillyrename(struct dentry *dentry) in nfs_wait_on_sillyrename()
218 void nfs_block_sillyrename(struct dentry *dentry) in nfs_block_sillyrename()
225 void nfs_unblock_sillyrename(struct dentry *dentry) in nfs_unblock_sillyrename()
252 nfs_async_unlink(struct inode *dir, struct dentry *dentry) in nfs_async_unlink()
303 nfs_complete_unlink(struct dentry *dentry, struct inode *inode) in nfs_complete_unlink()
321 nfs_cancel_async_unlink(struct dentry *dentry) in nfs_cancel_async_unlink()
469 struct dentry *dentry = data->old_dentry; in nfs_complete_sillyrename() local
513 nfs_sillyrename(struct inode *dir, struct dentry *dentry) in nfs_sillyrename()
Dnamespace.c50 char *nfs_path(char **p, struct dentry *dentry, char *buffer, ssize_t buflen, in nfs_path()
181 nfs_namespace_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in nfs_namespace_getattr()
190 nfs_namespace_setattr(struct dentry *dentry, struct iattr *attr) in nfs_namespace_setattr()
240 struct vfsmount *nfs_do_submount(struct dentry *dentry, struct nfs_fh *fh, in nfs_do_submount()
275 struct vfsmount *nfs_submount(struct nfs_server *server, struct dentry *dentry, in nfs_submount()
Ddir.c415 int nfs_same_file(struct dentry *dentry, struct nfs_entry *entry) in nfs_same_file()
473 struct dentry *dentry; in nfs_prime_dcache() local
867 struct dentry *dentry = file_dentry(file); in nfs_readdir() local
1003 static int nfs_check_verifier(struct inode *dir, struct dentry *dentry, in nfs_check_verifier()
1082 int nfs_neg_need_reval(struct inode *dir, struct dentry *dentry, in nfs_neg_need_reval()
1104 static int nfs_lookup_revalidate(struct dentry *dentry, unsigned int flags) in nfs_lookup_revalidate()
1248 static int nfs_weak_revalidate(struct dentry *dentry, unsigned int flags) in nfs_weak_revalidate()
1279 static int nfs_dentry_delete(const struct dentry *dentry) in nfs_dentry_delete()
1316 static void nfs_dentry_iput(struct dentry *dentry, struct inode *inode) in nfs_dentry_iput()
1329 static void nfs_d_release(struct dentry *dentry) in nfs_d_release()
[all …]
Dnfs4namespace.c83 static char *nfs4_path(struct dentry *dentry, char *buffer, ssize_t buflen) in nfs4_path()
100 static int nfs4_validate_fspath(struct dentry *dentry, in nfs4_validate_fspath()
296 static struct vfsmount *nfs_follow_referral(struct dentry *dentry, in nfs_follow_referral()
352 static struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *dentry) in nfs_do_refmount()
394 struct vfsmount *nfs4_submount(struct nfs_server *server, struct dentry *dentry, in nfs4_submount()
Dproc.c118 nfs_proc_setattr(struct dentry *dentry, struct nfs_fattr *fattr, in nfs_proc_setattr()
204 struct dentry *dentry, struct iattr *sattr) in nfs_alloc_createdata()
229 nfs_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs_proc_create()
258 nfs_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs_proc_mknod()
383 nfs_proc_symlink(struct inode *dir, struct dentry *dentry, struct page *page, in nfs_proc_symlink()
433 nfs_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr) in nfs_proc_mkdir()
487 nfs_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, in nfs_proc_readdir()
Dnfs3proc.c120 nfs3_proc_setattr(struct dentry *dentry, struct nfs_fattr *fattr, in nfs3_proc_setattr()
299 static int nfs3_do_create(struct inode *dir, struct dentry *dentry, struct nfs3_createdata *data) in nfs3_do_create()
319 nfs3_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs3_proc_create()
516 nfs3_proc_symlink(struct inode *dir, struct dentry *dentry, struct page *page, in nfs3_proc_symlink()
547 nfs3_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr) in nfs3_proc_mkdir()
623 nfs3_proc_readdir(struct dentry *dentry, struct rpc_cred *cred, in nfs3_proc_readdir()
671 nfs3_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr, in nfs3_proc_mknod()
Dsymlink.c45 static const char *nfs_follow_link(struct dentry *dentry, void **cookie) in nfs_follow_link()
/linux-4.4.14/fs/tracefs/
Dinode.c58 static char *get_dname(struct dentry *dentry) in get_dname()
73 static int tracefs_syscall_mkdir(struct inode *inode, struct dentry *dentry, umode_t mode) in tracefs_syscall_mkdir()
96 static int tracefs_syscall_rmdir(struct inode *inode, struct dentry *dentry) in tracefs_syscall_rmdir()
319 struct dentry *dentry; in start_creating() local
352 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating()
360 static struct dentry *end_creating(struct dentry *dentry) in end_creating()
396 struct dentry *dentry; in tracefs_create_file() local
422 struct dentry *dentry = start_creating(name, parent); in __create_dir() local
487 struct dentry *dentry; in tracefs_create_instance_dir() local
503 static int __tracefs_remove(struct dentry *dentry, struct dentry *parent) in __tracefs_remove()
[all …]
/linux-4.4.14/fs/hfsplus/
Ddir.c22 static inline void hfsplus_instantiate(struct dentry *dentry, in hfsplus_instantiate()
30 static struct dentry *hfsplus_lookup(struct inode *dir, struct dentry *dentry, in hfsplus_lookup()
353 static int hfsplus_unlink(struct inode *dir, struct dentry *dentry) in hfsplus_unlink()
410 static int hfsplus_rmdir(struct inode *dir, struct dentry *dentry) in hfsplus_rmdir()
432 static int hfsplus_symlink(struct inode *dir, struct dentry *dentry, in hfsplus_symlink()
474 static int hfsplus_mknod(struct inode *dir, struct dentry *dentry, in hfsplus_mknod()
515 static int hfsplus_create(struct inode *dir, struct dentry *dentry, umode_t mode, in hfsplus_create()
521 static int hfsplus_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in hfsplus_mkdir()
Dxattr_trusted.c15 struct dentry *dentry, const char *name, in hfsplus_trusted_getxattr()
24 struct dentry *dentry, const char *name, in hfsplus_trusted_setxattr()
Dxattr_user.c15 struct dentry *dentry, const char *name, in hfsplus_user_getxattr()
24 struct dentry *dentry, const char *name, in hfsplus_user_setxattr()
Dxattr.c427 int hfsplus_setxattr(struct dentry *dentry, const char *name, in hfsplus_setxattr()
585 ssize_t hfsplus_getxattr(struct dentry *dentry, const char *name, in hfsplus_getxattr()
619 static ssize_t hfsplus_listxattr_finder_info(struct dentry *dentry, in hfsplus_listxattr_finder_info()
687 ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size) in hfsplus_listxattr()
853 struct dentry *dentry, const char *name, in hfsplus_osx_getxattr()
876 struct dentry *dentry, const char *name, in hfsplus_osx_setxattr()
Dxattr_security.c17 struct dentry *dentry, const char *name, in hfsplus_security_getxattr()
26 struct dentry *dentry, const char *name, in hfsplus_security_setxattr()
Dioctl.c28 struct dentry *dentry = file->f_path.dentry; in hfsplus_ioctl_bless() local
Dunicode.c337 int hfsplus_hash_dentry(const struct dentry *dentry, struct qstr *str) in hfsplus_hash_dentry()
388 int hfsplus_compare_dentry(const struct dentry *parent, const struct dentry *dentry, in hfsplus_compare_dentry()
/linux-4.4.14/fs/nilfs2/
Dnamei.c49 static inline int nilfs_add_nondir(struct dentry *dentry, struct inode *inode) in nilfs_add_nondir()
68 nilfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in nilfs_lookup()
89 static int nilfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in nilfs_create()
117 nilfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in nilfs_mknod()
141 static int nilfs_symlink(struct inode *dir, struct dentry *dentry, in nilfs_symlink()
190 struct dentry *dentry) in nilfs_link()
217 static int nilfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in nilfs_mkdir()
271 static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry) in nilfs_do_unlink()
305 static int nilfs_unlink(struct inode *dir, struct dentry *dentry) in nilfs_unlink()
326 static int nilfs_rmdir(struct inode *dir, struct dentry *dentry) in nilfs_rmdir()
/linux-4.4.14/fs/debugfs/
Dinode.c247 struct dentry *dentry; in start_creating() local
283 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating()
291 static struct dentry *end_creating(struct dentry *dentry) in end_creating()
327 struct dentry *dentry; in debugfs_create_file() local
411 struct dentry *dentry = start_creating(name, parent); in debugfs_create_dir() local
450 struct dentry *dentry = start_creating(name, parent); in debugfs_create_automount() local
495 struct dentry *dentry; in debugfs_create_symlink() local
520 static int __debugfs_remove(struct dentry *dentry, struct dentry *parent) in __debugfs_remove()
551 void debugfs_remove(struct dentry *dentry) in debugfs_remove()
584 void debugfs_remove_recursive(struct dentry *dentry) in debugfs_remove_recursive()
[all …]
/linux-4.4.14/net/sunrpc/
Drpc_pipe.c87 struct dentry *dentry; in rpc_timeout_upcall_queue() local
136 struct dentry *dentry; in rpc_queue_upcall() local
492 static int __rpc_create_common(struct inode *dir, struct dentry *dentry, in __rpc_create_common()
517 static int __rpc_create(struct inode *dir, struct dentry *dentry, in __rpc_create()
531 static int __rpc_mkdir(struct inode *dir, struct dentry *dentry, in __rpc_mkdir()
582 static int __rpc_mkpipe_dentry(struct inode *dir, struct dentry *dentry, in __rpc_mkpipe_dentry()
601 static int __rpc_rmdir(struct inode *dir, struct dentry *dentry) in __rpc_rmdir()
612 int rpc_rmdir(struct dentry *dentry) in rpc_rmdir()
628 static int __rpc_unlink(struct inode *dir, struct dentry *dentry) in __rpc_unlink()
639 static int __rpc_rmpipe(struct inode *dir, struct dentry *dentry) in __rpc_rmpipe()
[all …]
/linux-4.4.14/fs/logfs/
Ddir.c157 static struct page *logfs_get_dd_page(struct inode *dir, struct dentry *dentry) in logfs_get_dd_page()
213 static int logfs_unlink(struct inode *dir, struct dentry *dentry) in logfs_unlink()
272 static int logfs_rmdir(struct inode *dir, struct dentry *dentry) in logfs_rmdir()
332 static struct dentry *logfs_lookup(struct inode *dir, struct dentry *dentry, in logfs_lookup()
368 static int logfs_write_dir(struct inode *dir, struct dentry *dentry, in logfs_write_dir()
407 static int __logfs_create(struct inode *dir, struct dentry *dentry, in __logfs_create()
466 static int logfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in logfs_mkdir()
485 static int logfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in logfs_create()
501 static int logfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, in logfs_mknod()
518 static int logfs_symlink(struct inode *dir, struct dentry *dentry, in logfs_symlink()
[all …]
/linux-4.4.14/fs/f2fs/
Dnamei.c123 static int f2fs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in f2fs_create()
165 struct dentry *dentry) in f2fs_link()
246 static struct dentry *f2fs_lookup(struct inode *dir, struct dentry *dentry, in f2fs_lookup()
282 static int f2fs_unlink(struct inode *dir, struct dentry *dentry) in f2fs_unlink()
318 static const char *f2fs_follow_link(struct dentry *dentry, void **cookie) in f2fs_follow_link()
329 static int f2fs_symlink(struct inode *dir, struct dentry *dentry, in f2fs_symlink()
430 static int f2fs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in f2fs_mkdir()
469 static int f2fs_rmdir(struct inode *dir, struct dentry *dentry) in f2fs_rmdir()
477 static int f2fs_mknod(struct inode *dir, struct dentry *dentry, in f2fs_mknod()
512 static int __f2fs_tmpfile(struct inode *dir, struct dentry *dentry, in __f2fs_tmpfile()
[all …]
Dxattr.c29 struct dentry *dentry, char *list, size_t list_size, in f2fs_xattr_generic_list()
61 struct dentry *dentry, const char *name, void *buffer, in f2fs_xattr_generic_get()
87 struct dentry *dentry, const char *name, const void *value, in f2fs_xattr_generic_set()
114 struct dentry *dentry, char *list, size_t list_size, in f2fs_xattr_advise_list()
127 struct dentry *dentry, const char *name, void *buffer, in f2fs_xattr_advise_get()
141 struct dentry *dentry, const char *name, const void *value, in f2fs_xattr_advise_set()
443 ssize_t f2fs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) in f2fs_listxattr()
/linux-4.4.14/fs/exportfs/
Dexpfs.c42 int (*acceptable)(void *context, struct dentry *dentry), in find_acceptable_alias()
45 struct dentry *dentry, *toput = NULL; in find_acceptable_alias() local
72 static bool dentry_connected(struct dentry *dentry) in dentry_connected()
89 static void clear_disconnected(struct dentry *dentry) in clear_disconnected()
120 struct dentry *dentry, char *nbuf) in reconnect_one()
207 struct dentry *dentry, *parent; in reconnect_path() local
389 int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, int *max_len, in exportfs_encode_fh()
414 int (*acceptable)(void *, struct dentry *), void *context) in exportfs_decode_fh()
/linux-4.4.14/fs/proc/
Dfd.c83 static int tid_fd_revalidate(struct dentry *dentry, unsigned int flags) in tid_fd_revalidate()
148 static int proc_fd_link(struct dentry *dentry, struct path *path) in proc_fd_link()
179 proc_fd_instantiate(struct inode *dir, struct dentry *dentry, in proc_fd_instantiate()
210 struct dentry *dentry, in proc_lookupfd_common()
282 static struct dentry *proc_lookupfd(struct inode *dir, struct dentry *dentry, in proc_lookupfd()
317 proc_fdinfo_instantiate(struct inode *dir, struct dentry *dentry, in proc_fdinfo_instantiate()
345 proc_lookupfdinfo(struct inode *dir, struct dentry *dentry, unsigned int flags) in proc_lookupfdinfo()
Dnamespaces.c33 static const char *proc_ns_follow_link(struct dentry *dentry, void **cookie) in proc_ns_follow_link()
54 static int proc_ns_readlink(struct dentry *dentry, char __user *buffer, int buflen) in proc_ns_readlink()
82 struct dentry *dentry, struct task_struct *task, const void *ptr) in proc_ns_instantiate()
139 struct dentry *dentry, unsigned int flags) in proc_ns_dir_lookup()
Dself.c9 static int proc_self_readlink(struct dentry *dentry, char __user *buffer, in proc_self_readlink()
21 static const char *proc_self_follow_link(struct dentry *dentry, void **cookie) in proc_self_follow_link()
Dbase.c170 static int proc_cwd_link(struct dentry *dentry, struct path *path) in proc_cwd_link()
187 static int proc_root_link(struct dentry *dentry, struct path *path) in proc_root_link()
707 int proc_setattr(struct dentry *dentry, struct iattr *attr) in proc_setattr()
1545 static int proc_exe_link(struct dentry *dentry, struct path *exe_path) in proc_exe_link()
1569 static const char *proc_pid_follow_link(struct dentry *dentry, void **cookie) in proc_pid_follow_link()
1613 static int proc_pid_readlink(struct dentry * dentry, char __user * buffer, int buflen) in proc_pid_readlink()
1684 int pid_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in pid_getattr()
1734 int pid_revalidate(struct dentry *dentry, unsigned int flags) in pid_revalidate()
1771 int pid_delete_dentry(const struct dentry *dentry) in pid_delete_dentry()
1834 static int dname_to_vma_addr(struct dentry *dentry, in dname_to_vma_addr()
[all …]
Dthread_self.c9 static int proc_thread_self_readlink(struct dentry *dentry, char __user *buffer, in proc_thread_self_readlink()
22 static const char *proc_thread_self_follow_link(struct dentry *dentry, void **cookie) in proc_thread_self_follow_link()
Dgeneric.c102 static int proc_notify_change(struct dentry *dentry, struct iattr *iattr) in proc_notify_change()
120 static int proc_getattr(struct vfsmount *mnt, struct dentry *dentry, in proc_getattr()
230 struct dentry *dentry) in proc_lookup_de()
250 struct dentry *proc_lookup(struct inode *dir, struct dentry *dentry, in proc_lookup()
Dproc_net.c128 struct dentry *dentry, unsigned int flags) in proc_tgid_net_lookup()
142 static int proc_tgid_net_getattr(struct vfsmount *mnt, struct dentry *dentry, in proc_tgid_net_getattr()
Droot.c201 static int proc_root_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat in proc_root_getattr()
209 static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int fla… in proc_root_lookup()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dnamei.c145 struct dentry *dentry, *tmp_subdir; in ll_invalidate_negative_children() local
332 static struct dentry *ll_find_alias(struct inode *inode, struct dentry *dentry) in ll_find_alias()
482 static struct dentry *ll_lookup_it(struct inode *parent, struct dentry *dentry, in ll_lookup_it()
568 static struct dentry *ll_lookup_nd(struct inode *parent, struct dentry *dentry, in ll_lookup_nd()
598 static int ll_atomic_open(struct inode *dir, struct dentry *dentry, in ll_atomic_open()
722 static int ll_create_it(struct inode *dir, struct dentry *dentry, int mode, in ll_create_it()
762 static int ll_new_node(struct inode *dir, struct dentry *dentry, in ll_new_node()
846 static int ll_create_nd(struct inode *dir, struct dentry *dentry, in ll_create_nd()
945 static int ll_unlink(struct inode *dir, struct dentry *dentry) in ll_unlink()
977 static int ll_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ll_mkdir()
[all …]
Ddcache.c84 static int ll_dcompare(const struct dentry *parent, const struct dentry *dentry, in ll_dcompare()
252 struct dentry *dentry; in ll_invalidate_aliases() local
308 static int ll_revalidate_dentry(struct dentry *dentry, in ll_revalidate_dentry()
339 static int ll_revalidate_nd(struct dentry *dentry, unsigned int flags) in ll_revalidate_nd()
Dxattr.c212 int ll_setxattr(struct dentry *dentry, const char *name, in ll_setxattr()
266 int ll_removexattr(struct dentry *dentry, const char *name) in ll_removexattr()
452 ssize_t ll_getxattr(struct dentry *dentry, const char *name, in ll_getxattr()
541 ssize_t ll_listxattr(struct dentry *dentry, char *buffer, size_t size) in ll_listxattr()
Dsymlink.c121 static const char *ll_follow_link(struct dentry *dentry, void **cookie) in ll_follow_link()
/linux-4.4.14/fs/jfs/
Dnamei.c75 static int jfs_create(struct inode *dip, struct dentry *dentry, umode_t mode, in jfs_create()
210 static int jfs_mkdir(struct inode *dip, struct dentry *dentry, umode_t mode) in jfs_mkdir()
349 static int jfs_rmdir(struct inode *dip, struct dentry *dentry) in jfs_rmdir()
479 static int jfs_unlink(struct inode *dip, struct dentry *dentry) in jfs_unlink()
802 struct inode *dir, struct dentry *dentry) in jfs_link()
888 static int jfs_symlink(struct inode *dip, struct dentry *dentry, in jfs_symlink()
1362 static int jfs_mknod(struct inode *dir, struct dentry *dentry, in jfs_mknod()
1458 static struct dentry *jfs_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags) in jfs_lookup()
1519 struct dentry *jfs_get_parent(struct dentry *dentry) in jfs_get_parent()
1574 static int jfs_ci_compare(const struct dentry *parent, const struct dentry *dentry, in jfs_ci_compare()
[all …]
Dxattr.c849 int jfs_setxattr(struct dentry *dentry, const char *name, const void *value, in jfs_setxattr()
936 ssize_t jfs_getxattr(struct dentry *dentry, const char *name, void *data, in jfs_getxattr()
977 ssize_t jfs_listxattr(struct dentry * dentry, char *data, size_t buf_size) in jfs_listxattr()
1030 int jfs_removexattr(struct dentry *dentry, const char *name) in jfs_removexattr()
Djfs_unicode.c115 int get_UCSname(struct component_name * uniName, struct dentry *dentry) in get_UCSname()
Dfile.c101 int jfs_setattr(struct dentry *dentry, struct iattr *iattr) in jfs_setattr()
/linux-4.4.14/fs/gfs2/
Ddentry.c36 static int gfs2_drevalidate(struct dentry *dentry, unsigned int flags) in gfs2_drevalidate()
106 static int gfs2_dhash(const struct dentry *dentry, struct qstr *str) in gfs2_dhash()
112 static int gfs2_dentry_delete(const struct dentry *dentry) in gfs2_dentry_delete()
Dinode.c584 static int gfs2_create_inode(struct inode *dir, struct dentry *dentry, in gfs2_create_inode()
811 static int gfs2_create(struct inode *dir, struct dentry *dentry, in gfs2_create()
828 static struct dentry *__gfs2_lookup(struct inode *dir, struct dentry *dentry, in __gfs2_lookup()
868 static struct dentry *gfs2_lookup(struct inode *dir, struct dentry *dentry, in gfs2_lookup()
887 struct dentry *dentry) in gfs2_link()
1056 const struct dentry *dentry) in gfs2_unlink_inode()
1090 static int gfs2_unlink(struct inode *dir, struct dentry *dentry) in gfs2_unlink()
1173 static int gfs2_symlink(struct inode *dir, struct dentry *dentry, in gfs2_symlink()
1195 static int gfs2_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in gfs2_mkdir()
1211 static int gfs2_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, in gfs2_mknod()
[all …]
/linux-4.4.14/fs/jffs2/
Dxattr_trusted.c20 struct dentry *dentry, const char *name, in jffs2_trusted_getxattr()
30 struct dentry *dentry, const char *name, in jffs2_trusted_setxattr()
40 struct dentry *dentry, char *list, in jffs2_trusted_listxattr()
Dxattr_user.c20 struct dentry *dentry, const char *name, in jffs2_user_getxattr()
30 struct dentry *dentry, const char *name, in jffs2_user_setxattr()
40 struct dentry *dentry, char *list, in jffs2_user_listxattr()
Ddir.c158 static int jffs2_create(struct inode *dir_i, struct dentry *dentry, in jffs2_create()
223 static int jffs2_unlink(struct inode *dir_i, struct dentry *dentry) in jffs2_unlink()
242 static int jffs2_link (struct dentry *old_dentry, struct inode *dir_i, struct dentry *dentry) in jffs2_link()
278 static int jffs2_symlink (struct inode *dir_i, struct dentry *dentry, const char *target) in jffs2_symlink()
441 static int jffs2_mkdir (struct inode *dir_i, struct dentry *dentry, umode_t mode) in jffs2_mkdir()
585 static int jffs2_rmdir (struct inode *dir_i, struct dentry *dentry) in jffs2_rmdir()
609 static int jffs2_mknod (struct inode *dir_i, struct dentry *dentry, umode_t mode, dev_t rdev) in jffs2_mknod()
Dsecurity.c52 struct dentry *dentry, const char *name, in jffs2_security_getxattr()
63 struct dentry *dentry, const char *name, in jffs2_security_setxattr()
74 struct dentry *dentry, char *list, in jffs2_security_listxattr()
Dfs.c191 int jffs2_setattr(struct dentry *dentry, struct iattr *iattr) in jffs2_setattr()
207 int jffs2_statfs(struct dentry *dentry, struct kstatfs *buf) in jffs2_statfs()
/linux-4.4.14/fs/ext4/
Dxattr_trusted.c17 struct dentry *dentry, char *list, size_t list_size, in ext4_xattr_trusted_list()
36 struct dentry *dentry, const char *name, void *buffer, in ext4_xattr_trusted_get()
47 struct dentry *dentry, const char *name, in ext4_xattr_trusted_set()
Dxattr_user.c16 struct dentry *dentry, char *list, size_t list_size, in ext4_xattr_user_list()
35 struct dentry *dentry, const char *name, in ext4_xattr_user_get()
48 struct dentry *dentry, const char *name, in ext4_xattr_user_set()
Dxattr_security.c16 struct dentry *dentry, char *list, size_t list_size, in ext4_xattr_security_list()
33 struct dentry *dentry, const char *name, in ext4_xattr_security_get()
44 struct dentry *dentry, const char *name, in ext4_xattr_security_set()
Dfsync.c46 struct dentry *dentry = NULL; in ext4_sync_parent() local
Dsymlink.c26 static const char *ext4_encrypted_follow_link(struct dentry *dentry, void **cookie) in ext4_encrypted_follow_link()
Dnamei.c1555 static struct dentry *ext4_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in ext4_lookup()
1931 struct dentry *dentry, in make_indexed_dir()
2061 static int ext4_add_entry(handle_t *handle, struct dentry *dentry, in ext4_add_entry()
2157 struct dentry *dentry, struct inode *inode) in ext4_dx_add_entry()
2408 struct dentry *dentry, struct inode *inode) in ext4_add_nondir()
2431 static int ext4_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ext4_create()
2464 static int ext4_mknod(struct inode *dir, struct dentry *dentry, in ext4_mknod()
2496 static int ext4_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in ext4_tmpfile()
2608 static int ext4_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ext4_mkdir()
2907 static int ext4_rmdir(struct inode *dir, struct dentry *dentry) in ext4_rmdir()
[all …]
Dxattr.c184 ext4_listxattr(struct dentry *dentry, char *buffer, size_t size) in ext4_listxattr()
398 ext4_xattr_list_entries(struct dentry *dentry, struct ext4_xattr_entry *entry, in ext4_xattr_list_entries()
423 ext4_xattr_block_list(struct dentry *dentry, char *buffer, size_t buffer_size) in ext4_xattr_block_list()
460 ext4_xattr_ibody_list(struct dentry *dentry, char *buffer, size_t buffer_size) in ext4_xattr_ibody_list()
499 ext4_xattr_list(struct dentry *dentry, char *buffer, size_t buffer_size) in ext4_xattr_list()
/linux-4.4.14/fs/fat/
Dnamei_vfat.c32 static int vfat_revalidate_shortname(struct dentry *dentry) in vfat_revalidate_shortname()
42 static int vfat_revalidate(struct dentry *dentry, unsigned int flags) in vfat_revalidate()
53 static int vfat_revalidate_ci(struct dentry *dentry, unsigned int flags) in vfat_revalidate_ci()
108 static int vfat_hash(const struct dentry *dentry, struct qstr *qstr) in vfat_hash()
120 static int vfat_hashi(const struct dentry *dentry, struct qstr *qstr) in vfat_hashi()
141 static int vfat_cmpi(const struct dentry *parent, const struct dentry *dentry, in vfat_cmpi()
160 static int vfat_cmp(const struct dentry *parent, const struct dentry *dentry, in vfat_cmp()
704 static int vfat_d_anon_disconn(struct dentry *dentry) in vfat_d_anon_disconn()
709 static struct dentry *vfat_lookup(struct inode *dir, struct dentry *dentry, in vfat_lookup()
769 static int vfat_create(struct inode *dir, struct dentry *dentry, umode_t mode, in vfat_create()
[all …]
Dnamei_msdos.c149 static int msdos_hash(const struct dentry *dentry, struct qstr *qstr) in msdos_hash()
165 static int msdos_cmp(const struct dentry *parent, const struct dentry *dentry, in msdos_cmp()
199 static struct dentry *msdos_lookup(struct inode *dir, struct dentry *dentry, in msdos_lookup()
262 static int msdos_create(struct inode *dir, struct dentry *dentry, umode_t mode, in msdos_create()
308 static int msdos_rmdir(struct inode *dir, struct dentry *dentry) in msdos_rmdir()
344 static int msdos_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in msdos_mkdir()
403 static int msdos_unlink(struct inode *dir, struct dentry *dentry) in msdos_unlink()
Dfile.c307 int fat_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in fat_getattr()
378 int fat_setattr(struct dentry *dentry, struct iattr *attr) in fat_setattr()
/linux-4.4.14/fs/kernfs/
Dinode.c112 int kernfs_iop_setattr(struct dentry *dentry, struct iattr *iattr) in kernfs_iop_setattr()
160 int kernfs_iop_setxattr(struct dentry *dentry, const char *name, in kernfs_iop_setxattr()
199 int kernfs_iop_removexattr(struct dentry *dentry, const char *name) in kernfs_iop_removexattr()
211 ssize_t kernfs_iop_getxattr(struct dentry *dentry, const char *name, void *buf, in kernfs_iop_getxattr()
224 ssize_t kernfs_iop_listxattr(struct dentry *dentry, char *buf, size_t size) in kernfs_iop_listxattr()
270 int kernfs_iop_getattr(struct vfsmount *mnt, struct dentry *dentry, in kernfs_iop_getattr()
Dsymlink.c101 static int kernfs_getlink(struct dentry *dentry, char *path) in kernfs_getlink()
115 static const char *kernfs_iop_follow_link(struct dentry *dentry, void **cookie) in kernfs_iop_follow_link()
Ddir.c462 static int kernfs_dop_revalidate(struct dentry *dentry, unsigned int flags) in kernfs_dop_revalidate()
501 static void kernfs_dop_release(struct dentry *dentry) in kernfs_dop_release()
522 struct kernfs_node *kernfs_node_from_dentry(struct dentry *dentry) in kernfs_node_from_dentry()
845 struct dentry *dentry, in kernfs_iop_lookup()
883 static int kernfs_iop_mkdir(struct inode *dir, struct dentry *dentry, in kernfs_iop_mkdir()
902 static int kernfs_iop_rmdir(struct inode *dir, struct dentry *dentry) in kernfs_iop_rmdir()
1434 struct dentry *dentry = file->f_path.dentry; in kernfs_fop_readdir() local
/linux-4.4.14/fs/ubifs/
Ddir.c184 static struct dentry *ubifs_lookup(struct inode *dir, struct dentry *dentry, in ubifs_lookup()
245 static int ubifs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ubifs_create()
500 struct dentry *dentry) in ubifs_link()
555 static int ubifs_unlink(struct inode *dir, struct dentry *dentry) in ubifs_unlink()
647 static int ubifs_rmdir(struct inode *dir, struct dentry *dentry) in ubifs_rmdir()
709 static int ubifs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ubifs_mkdir()
770 static int ubifs_mknod(struct inode *dir, struct dentry *dentry, in ubifs_mknod()
847 static int ubifs_symlink(struct inode *dir, struct dentry *dentry, in ubifs_symlink()
1134 int ubifs_getattr(struct vfsmount *mnt, struct dentry *dentry, in ubifs_getattr()
Dxattr.c367 int ubifs_setxattr(struct dentry *dentry, const char *name, in ubifs_setxattr()
376 ssize_t ubifs_getxattr(struct dentry *dentry, const char *name, void *buf, in ubifs_getxattr()
438 ssize_t ubifs_listxattr(struct dentry *dentry, char *buffer, size_t size) in ubifs_listxattr()
542 int ubifs_removexattr(struct dentry *dentry, const char *name) in ubifs_removexattr()
616 int ubifs_init_security(struct inode *dentry, struct inode *inode, in ubifs_init_security()
/linux-4.4.14/fs/afs/
Ddir.c426 static int afs_do_lookup(struct inode *dir, struct dentry *dentry, in afs_do_lookup()
462 int ret, struct dentry *dentry, struct inode *dir, struct key *key, in afs_try_auto_mntpt()
494 static struct dentry *afs_lookup(struct inode *dir, struct dentry *dentry, in afs_lookup()
577 static int afs_d_revalidate(struct dentry *dentry, unsigned int flags) in afs_d_revalidate()
699 static int afs_d_delete(const struct dentry *dentry) in afs_d_delete()
722 static void afs_d_release(struct dentry *dentry) in afs_d_release()
730 static int afs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in afs_mkdir()
796 static int afs_rmdir(struct inode *dir, struct dentry *dentry) in afs_rmdir()
838 static int afs_unlink(struct inode *dir, struct dentry *dentry) in afs_unlink()
906 static int afs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in afs_create()
[all …]
Dinode.c377 int afs_getattr(struct vfsmount *mnt, struct dentry *dentry, in afs_getattr()
459 int afs_setattr(struct dentry *dentry, struct iattr *attr) in afs_setattr()
/linux-4.4.14/fs/hostfs/
Dhostfs_kern.c84 static char *__dentry_name(struct dentry *dentry, char *name) in __dentry_name()
115 static char *dentry_name(struct dentry *dentry) in dentry_name()
126 struct dentry *dentry; in inode_name() local
193 static int hostfs_statfs(struct dentry *dentry, struct kstatfs *sf) in hostfs_statfs()
566 static int hostfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in hostfs_create()
605 static struct dentry *hostfs_lookup(struct inode *ino, struct dentry *dentry, in hostfs_lookup()
661 static int hostfs_unlink(struct inode *ino, struct dentry *dentry) in hostfs_unlink()
677 static int hostfs_symlink(struct inode *ino, struct dentry *dentry, in hostfs_symlink()
690 static int hostfs_mkdir(struct inode *ino, struct dentry *dentry, umode_t mode) in hostfs_mkdir()
702 static int hostfs_rmdir(struct inode *ino, struct dentry *dentry) in hostfs_rmdir()
[all …]
/linux-4.4.14/fs/hfs/
Dattr.c16 int hfs_setxattr(struct dentry *dentry, const char *name, in hfs_setxattr()
59 ssize_t hfs_getxattr(struct dentry *dentry, const char *name, in hfs_getxattr()
106 ssize_t hfs_listxattr(struct dentry *dentry, char *buffer, size_t size) in hfs_listxattr()
Ddir.c20 static struct dentry *hfs_lookup(struct inode *dir, struct dentry *dentry, in hfs_lookup()
192 static int hfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in hfs_create()
222 static int hfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in hfs_mkdir()
254 static int hfs_remove(struct inode *dir, struct dentry *dentry) in hfs_remove()
Dstring.c54 int hfs_hash_dentry(const struct dentry *dentry, struct qstr *this) in hfs_hash_dentry()
95 int hfs_compare_dentry(const struct dentry *parent, const struct dentry *dentry, in hfs_compare_dentry()
Dsysdep.c16 static int hfs_revalidate_dentry(struct dentry *dentry, unsigned int flags) in hfs_revalidate_dentry()
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
Dinode.c112 spufs_setattr(struct dentry *dentry, struct iattr *attr) in spufs_setattr()
126 spufs_new_file(struct super_block *sb, struct dentry *dentry, in spufs_new_file()
164 struct dentry *dentry, *tmp; in spufs_prune_dir() local
205 struct dentry *dentry = d_alloc_name(dir, files->name); in spufs_fill_dir() local
247 spufs_mkdir(struct inode *dir, struct dentry *dentry, unsigned int flags, in spufs_mkdir()
422 spufs_create_context(struct inode *inode, struct dentry *dentry, in spufs_create_context()
480 spufs_mkgang(struct inode *dir, struct dentry *dentry, umode_t mode) in spufs_mkgang()
541 struct dentry *dentry, in spufs_create_gang()
561 long spufs_create(struct path *path, struct dentry *dentry, in spufs_create()
Dsyscalls.c66 struct dentry *dentry; in do_spu_create() local
/linux-4.4.14/fs/udf/
Dnamei.c286 static struct dentry *udf_lookup(struct inode *dir, struct dentry *dentry, in udf_lookup()
333 struct dentry *dentry, in udf_add_entry()
589 static int udf_add_nondir(struct dentry *dentry, struct inode *inode) in udf_add_nondir()
620 static int udf_create(struct inode *dir, struct dentry *dentry, umode_t mode, in udf_create()
639 static int udf_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in udf_tmpfile()
658 static int udf_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, in udf_mknod()
674 static int udf_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in udf_mkdir()
805 static int udf_rmdir(struct inode *dir, struct dentry *dentry) in udf_rmdir()
850 static int udf_unlink(struct inode *dir, struct dentry *dentry) in udf_unlink()
896 static int udf_symlink(struct inode *dir, struct dentry *dentry, in udf_symlink()
[all …]
/linux-4.4.14/fs/omfs/
Ddir.c111 static int omfs_add_link(struct dentry *dentry, struct inode *inode) in omfs_add_link()
156 static int omfs_delete_entry(struct dentry *dentry) in omfs_delete_entry()
238 static int omfs_remove(struct inode *dir, struct dentry *dentry) in omfs_remove()
258 static int omfs_add_node(struct inode *dir, struct dentry *dentry, umode_t mode) in omfs_add_node()
282 static int omfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in omfs_mkdir()
287 static int omfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in omfs_create()
293 static struct dentry *omfs_lookup(struct inode *dir, struct dentry *dentry, in omfs_lookup()
/linux-4.4.14/arch/s390/hypfs/
Dinode.c59 static void hypfs_add_dentry(struct dentry *dentry) in hypfs_add_dentry()
65 static void hypfs_remove(struct dentry *dentry) in hypfs_remove()
331 struct dentry *dentry; in hypfs_create_file() local
368 struct dentry *dentry; in hypfs_mkdir() local
379 struct dentry *dentry; in hypfs_create_update_file() local
396 struct dentry *dentry; in hypfs_create_u64() local
416 struct dentry *dentry; in hypfs_create_str() local
Dhypfs.h68 struct dentry *dentry; member
/linux-4.4.14/fs/isofs/
Dnamei.c18 isofs_cmp(struct dentry *dentry, const char *compare, int dlen) in isofs_cmp()
35 isofs_find_entry(struct inode *dir, struct dentry *dentry, in isofs_find_entry()
151 struct dentry *isofs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in isofs_lookup()
Dinode.c232 isofs_hashi(const struct dentry *dentry, struct qstr *qstr) in isofs_hashi()
238 isofs_dentry_cmpi(const struct dentry *parent, const struct dentry *dentry, in isofs_dentry_cmpi()
267 isofs_hash_ms(const struct dentry *dentry, struct qstr *qstr) in isofs_hash_ms()
273 isofs_hashi_ms(const struct dentry *dentry, struct qstr *qstr) in isofs_hashi_ms()
279 isofs_dentry_cmp_ms(const struct dentry *parent, const struct dentry *dentry, in isofs_dentry_cmp_ms()
286 isofs_dentry_cmpi_ms(const struct dentry *parent, const struct dentry *dentry, in isofs_dentry_cmpi_ms()
967 static int isofs_statfs (struct dentry *dentry, struct kstatfs *buf) in isofs_statfs()
/linux-4.4.14/fs/hpfs/
Dnamei.c22 static int hpfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in hpfs_mkdir()
130 static int hpfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in hpfs_create()
217 static int hpfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in hpfs_mknod()
291 static int hpfs_symlink(struct inode *dir, struct dentry *dentry, const char *symlink) in hpfs_symlink()
369 static int hpfs_unlink(struct inode *dir, struct dentry *dentry) in hpfs_unlink()
420 static int hpfs_rmdir(struct inode *dir, struct dentry *dentry) in hpfs_rmdir()
Ddentry.c15 static int hpfs_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in hpfs_hash_dentry()
37 static int hpfs_compare_dentry(const struct dentry *parent, const struct dentry *dentry, in hpfs_compare_dentry()
/linux-4.4.14/kernel/bpf/
Dinode.c122 static bool bpf_dname_reserved(const struct dentry *dentry) in bpf_dname_reserved()
127 static int bpf_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in bpf_mkdir()
150 static int bpf_mkobj_ops(struct inode *dir, struct dentry *dentry, in bpf_mkobj_ops()
171 static int bpf_mkobj(struct inode *dir, struct dentry *dentry, umode_t mode, in bpf_mkobj()
201 struct dentry *dentry; in bpf_obj_do_pin() local
/linux-4.4.14/fs/nfs/blocklayout/
Drpc_pipefs.c148 struct dentry *dir, *dentry; in nfs4blocklayout_register_sb() local
171 struct dentry *dentry; in rpc_pipefs_event() local
211 struct dentry *dentry; in nfs4blocklayout_register_net() local
236 struct dentry *dentry; in nfs4blocklayout_net_init() local
/linux-4.4.14/fs/ramfs/
Dinode.c93 ramfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in ramfs_mknod()
107 static int ramfs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ramfs_mkdir()
115 static int ramfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in ramfs_create()
120 static int ramfs_symlink(struct inode * dir, struct dentry *dentry, const char * symname) in ramfs_symlink()
/linux-4.4.14/security/
Dsecurity.c201 int security_quota_on(struct dentry *dentry) in security_quota_on()
300 int security_sb_statfs(struct dentry *dentry) in security_sb_statfs()
357 int security_dentry_init_security(struct dentry *dentry, int mode, in security_dentry_init_security()
413 int security_path_mknod(struct path *dir, struct dentry *dentry, umode_t mode, in security_path_mknod()
422 int security_path_mkdir(struct path *dir, struct dentry *dentry, umode_t mode) in security_path_mkdir()
430 int security_path_rmdir(struct path *dir, struct dentry *dentry) in security_path_rmdir()
437 int security_path_unlink(struct path *dir, struct dentry *dentry) in security_path_unlink()
445 int security_path_symlink(struct path *dir, struct dentry *dentry, in security_path_symlink()
508 int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in security_inode_create()
524 int security_inode_unlink(struct inode *dir, struct dentry *dentry) in security_inode_unlink()
[all …]
Dcommoncap.c308 int cap_inode_need_killpriv(struct dentry *dentry) in cap_inode_need_killpriv()
330 int cap_inode_killpriv(struct dentry *dentry) in cap_inode_killpriv()
387 int get_vfs_caps_from_disk(const struct dentry *dentry, struct cpu_vfs_cap_data *cpu_caps) in get_vfs_caps_from_disk()
656 int cap_inode_setxattr(struct dentry *dentry, const char *name, in cap_inode_setxattr()
683 int cap_inode_removexattr(struct dentry *dentry, const char *name) in cap_inode_removexattr()
Dinode.c81 struct dentry *dentry; in securityfs_create_file() local
187 void securityfs_remove(struct dentry *dentry) in securityfs_remove()
/linux-4.4.14/security/apparmor/
Dlsm.c176 struct dentry *dentry, u32 mask, in common_perm_dir_dentry()
194 struct dentry *dentry, u32 mask) in common_perm_mnt_dentry()
214 struct dentry *dentry, u32 mask) in common_perm_rm()
238 static int common_perm_create(int op, struct path *dir, struct dentry *dentry, in common_perm_create()
249 static int apparmor_path_unlink(struct path *dir, struct dentry *dentry) in apparmor_path_unlink()
254 static int apparmor_path_mkdir(struct path *dir, struct dentry *dentry, in apparmor_path_mkdir()
261 static int apparmor_path_rmdir(struct path *dir, struct dentry *dentry) in apparmor_path_rmdir()
266 static int apparmor_path_mknod(struct path *dir, struct dentry *dentry, in apparmor_path_mknod()
285 static int apparmor_path_symlink(struct path *dir, struct dentry *dentry, in apparmor_path_symlink()
/linux-4.4.14/security/tomoyo/
Dtomoyo.c166 static int tomoyo_path_unlink(struct path *parent, struct dentry *dentry) in tomoyo_path_unlink()
181 static int tomoyo_path_mkdir(struct path *parent, struct dentry *dentry, in tomoyo_path_mkdir()
197 static int tomoyo_path_rmdir(struct path *parent, struct dentry *dentry) in tomoyo_path_rmdir()
212 static int tomoyo_path_symlink(struct path *parent, struct dentry *dentry, in tomoyo_path_symlink()
229 static int tomoyo_path_mknod(struct path *parent, struct dentry *dentry, in tomoyo_path_mknod()
Drealpath.c121 static char *tomoyo_get_dentry_path(struct dentry *dentry, char * const buffer, in tomoyo_get_dentry_path()
147 static char *tomoyo_get_local_path(struct dentry *dentry, char * const buffer, in tomoyo_get_local_path()
255 struct dentry *dentry = path->dentry; in tomoyo_realpath_from_path() local
/linux-4.4.14/fs/btrfs/
Dxattr.c261 ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size) in btrfs_listxattr()
400 ssize_t btrfs_getxattr(struct dentry *dentry, const char *name, in btrfs_getxattr()
419 int btrfs_setxattr(struct dentry *dentry, const char *name, const void *value, in btrfs_setxattr()
455 int btrfs_removexattr(struct dentry *dentry, const char *name) in btrfs_removexattr()
/linux-4.4.14/fs/efivarfs/
Dsuper.c49 const struct dentry *dentry, in efivarfs_d_compare()
66 static int efivarfs_d_hash(const struct dentry *dentry, struct qstr *qstr) in efivarfs_d_hash()
118 struct dentry *dentry, *root = sb->s_root; in efivarfs_callback() local
Dinode.c104 static int efivarfs_create(struct inode *dir, struct dentry *dentry, in efivarfs_create()
154 static int efivarfs_unlink(struct inode *dir, struct dentry *dentry) in efivarfs_unlink()
/linux-4.4.14/fs/ocfs2/dlmfs/
Ddlmfs.c208 static int dlmfs_file_setattr(struct dentry *dentry, struct iattr *attr) in dlmfs_file_setattr()
412 struct dentry *dentry, in dlmfs_get_inode()
467 struct dentry * dentry, in dlmfs_mkdir()
515 struct dentry *dentry, in dlmfs_create()
549 struct dentry *dentry) in dlmfs_unlink()
/linux-4.4.14/drivers/base/
Ddevtmpfs.c152 struct dentry *dentry; in dev_mkdir() local
198 struct dentry *dentry; in handle_create() local
232 struct dentry *dentry; in dev_rmdir() local
301 struct dentry *dentry; in handle_remove() local
/linux-4.4.14/mm/
Dshmem.c547 static int shmem_getattr(struct vfsmount *mnt, struct dentry *dentry, in shmem_getattr()
562 static int shmem_setattr(struct dentry *dentry, struct iattr *attr) in shmem_setattr()
2195 static int shmem_statfs(struct dentry *dentry, struct kstatfs *buf) in shmem_statfs()
2220 shmem_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in shmem_mknod()
2249 shmem_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in shmem_tmpfile()
2272 static int shmem_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in shmem_mkdir()
2282 static int shmem_create(struct inode *dir, struct dentry *dentry, umode_t mode, in shmem_create()
2291 static int shmem_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) in shmem_link()
2315 static int shmem_unlink(struct inode *dir, struct dentry *dentry) in shmem_unlink()
2329 static int shmem_rmdir(struct inode *dir, struct dentry *dentry) in shmem_rmdir()
[all …]
Dhwpoison-inject.c80 struct dentry *dentry; in pfn_inject_init() local
/linux-4.4.14/fs/cifs/
Dexport.c49 static struct dentry *cifs_get_parent(struct dentry *dentry) in cifs_get_parent()
Dinode.c921 struct dentry *dentry; local
1087 cifs_rename_pending_delete(const char *full_path, struct dentry *dentry,
1229 int cifs_unlink(struct inode *dir, struct dentry *dentry)
1340 cifs_mkdir_qinfo(struct inode *parent, struct dentry *dentry, umode_t mode,
1412 cifs_posix_mkdir(struct inode *inode, struct dentry *dentry, umode_t mode,
1890 int cifs_revalidate_dentry_attr(struct dentry *dentry)
1943 int cifs_revalidate_dentry(struct dentry *dentry)
1955 int cifs_getattr(struct vfsmount *mnt, struct dentry *dentry,
/linux-4.4.14/fs/bfs/
Ddir.c78 static int bfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in bfs_create()
126 static struct dentry *bfs_lookup(struct inode *dir, struct dentry *dentry, in bfs_lookup()
176 static int bfs_unlink(struct inode *dir, struct dentry *dentry) in bfs_unlink()
/linux-4.4.14/fs/adfs/
Ddir.c230 adfs_compare(const struct dentry *parent, const struct dentry *dentry, in adfs_compare()
261 adfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in adfs_lookup()
/linux-4.4.14/fs/devpts/
Dinode.c245 struct dentry *dentry; in mknod_ptmx() local
610 struct dentry *dentry; in devpts_pty_new() local
662 struct dentry *dentry; in devpts_get_priv() local
690 struct dentry *dentry; in devpts_pty_kill() local
/linux-4.4.14/fs/qnx6/
Dnamei.c15 struct dentry *qnx6_lookup(struct inode *dir, struct dentry *dentry, in qnx6_lookup()
/linux-4.4.14/fs/coda/
Dinode.c258 int coda_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in coda_getattr()
294 static int coda_statfs(struct dentry *dentry, struct kstatfs *buf) in coda_statfs()
/linux-4.4.14/kernel/
Drelay.c315 static int remove_buf_file_default_callback(struct dentry *dentry) in remove_buf_file_default_callback()
404 struct dentry *dentry) in relay_set_buf_dentry()
414 struct dentry *dentry; in relay_create_buf_file() local
440 struct dentry *dentry; in relay_open_buf() local
623 struct dentry *dentry; member
652 struct dentry *dentry; in relay_late_setup_files() local
/linux-4.4.14/net/wimax/
Ddebugfs.c44 struct dentry *dentry; in wimax_debugfs_add() local
/linux-4.4.14/drivers/block/drbd/
Ddrbd_debugfs.c476 struct dentry *dentry; in drbd_debugfs_resource_add() local
647 struct dentry *dentry; in drbd_debugfs_connection_add() local
807 struct dentry *dentry; in drbd_debugfs_device_attr() local
863 struct dentry *dentry; in drbd_debugfs_peer_device_add() local
921 struct dentry *dentry; in drbd_debugfs_init() local
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/
Ddebug.h26 struct dentry *dentry; member
/linux-4.4.14/fs/hugetlbfs/
Dinode.c660 static int hugetlbfs_setattr(struct dentry *dentry, struct iattr *attr) in hugetlbfs_setattr()
779 struct dentry *dentry, umode_t mode, dev_t dev) in hugetlbfs_mknod()
794 static int hugetlbfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in hugetlbfs_mkdir()
802 static int hugetlbfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in hugetlbfs_create()
808 struct dentry *dentry, const char *symname) in hugetlbfs_symlink()
853 static int hugetlbfs_statfs(struct dentry *dentry, struct kstatfs *buf) in hugetlbfs_statfs()
/linux-4.4.14/security/selinux/
Dhooks.c1252 static int selinux_genfs_get_sid(struct dentry *dentry, in selinux_genfs_get_sid()
1290 struct dentry *dentry; in inode_doinit_with_dentry() local
1635 struct dentry *dentry, in dentry_has_perm()
1740 struct dentry *dentry, in may_create()
1793 struct dentry *dentry, in may_link()
2113 static int selinux_quota_on(struct dentry *dentry) in selinux_quota_on()
2689 static int selinux_sb_statfs(struct dentry *dentry) in selinux_sb_statfs()
2734 static int selinux_dentry_init_security(struct dentry *dentry, int mode, in selinux_dentry_init_security()
2800 static int selinux_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in selinux_inode_create()
2810 static int selinux_inode_unlink(struct inode *dir, struct dentry *dentry) in selinux_inode_unlink()
[all …]
Dselinuxfs.c1200 struct dentry *dentry = NULL; in sel_make_bools() local
1446 struct dentry *dentry; in sel_make_avc_files() local
1492 struct dentry *dentry; in sel_make_initcon_files() local
1588 struct dentry *dentry; in sel_make_perm_files() local
1616 struct dentry *dentry = NULL; in sel_make_class_dir_entries() local
1683 struct dentry *dentry = NULL; in sel_make_policycap() local
1713 struct dentry *dentry = d_alloc_name(dir, name); in sel_make_dir() local
1740 struct dentry *dentry; in sel_fill_super() local
/linux-4.4.14/fs/befs/
Dlinuxvfs.c158 befs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in befs_lookup()
467 befs_follow_link(struct dentry *dentry, void **cookie) in befs_follow_link()
887 befs_statfs(struct dentry *dentry, struct kstatfs *buf) in befs_statfs()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_fs.c48 static int ipathfs_mknod(struct inode *dir, struct dentry *dentry, in ipathfs_mknod()
80 struct dentry *parent, struct dentry **dentry, in create_file()
/linux-4.4.14/drivers/oprofile/
Doprofilefs.c138 struct dentry *dentry; in __oprofilefs_create_file() local
215 struct dentry *dentry; in oprofilefs_mkdir() local
/linux-4.4.14/fs/romfs/
Dsuper.c211 static struct dentry *romfs_lookup(struct inode *dir, struct dentry *dentry, in romfs_lookup()
415 static int romfs_statfs(struct dentry *dentry, struct kstatfs *buf) in romfs_statfs()
/linux-4.4.14/fs/qnx4/
Dnamei.c94 struct dentry * qnx4_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in qnx4_lookup()
/linux-4.4.14/security/apparmor/include/
Dapparmor.h115 static inline bool mediated_filesystem(struct dentry *dentry) in mediated_filesystem()

123