Home
last modified time | relevance | path

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

123

/linux-4.1.27/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
322 static inline unsigned d_count(const struct dentry *dentry) in d_count()
349 static inline struct dentry *dget_dlock(struct dentry *dentry) in dget_dlock()
356 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()
Dfsnotify_backend.h263 static inline void __fsnotify_update_dcache_flags(struct dentry *dentry) in __fsnotify_update_dcache_flags()
286 static inline void __fsnotify_d_instantiate(struct dentry *dentry, struct inode *inode) in __fsnotify_d_instantiate()
376 static inline int __fsnotify_parent(struct path *path, struct dentry *dentry, __u32 mask) in __fsnotify_parent()
387 static inline void __fsnotify_update_dcache_flags(struct dentry *dentry) in __fsnotify_update_dcache_flags()
390 static inline void __fsnotify_d_instantiate(struct dentry *dentry, struct inode *inode) in __fsnotify_d_instantiate()
Dsecurity.h2032 static inline int security_quota_on(struct dentry *dentry) in security_quota_on()
2105 static inline int security_sb_statfs(struct dentry *dentry) in security_sb_statfs()
2155 static inline int security_dentry_init_security(struct dentry *dentry, in security_dentry_init_security()
2184 struct dentry *dentry, in security_inode_create()
2198 struct dentry *dentry) in security_inode_unlink()
2204 struct dentry *dentry, in security_inode_symlink()
2211 struct dentry *dentry, in security_inode_mkdir()
2218 struct dentry *dentry) in security_inode_rmdir()
2224 struct dentry *dentry, in security_inode_mknod()
2239 static inline int security_inode_readlink(struct dentry *dentry) in security_inode_readlink()
[all …]
Daudit.h180 const struct dentry *dentry, in audit_inode()
195 const struct dentry *dentry) in audit_inode_parent_hidden()
202 const struct dentry *dentry, in audit_inode_child()
355 const struct dentry *dentry, in __audit_inode()
359 const struct dentry *dentry, in __audit_inode_child()
363 const struct dentry *dentry, in audit_inode()
370 const struct dentry *dentry) in audit_inode_parent_hidden()
373 const struct dentry *dentry, in audit_inode_child()
Dpath.h9 struct dentry *dentry; member
/linux-4.1.27/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 static inline int simple_positive(struct dentry *dentry) in simple_positive()
28 int simple_getattr(struct vfsmount *mnt, struct dentry *dentry, in simple_getattr()
38 int simple_statfs(struct dentry *dentry, struct kstatfs *buf) in simple_statfs()
51 int always_delete_dentry(const struct dentry *dentry) in always_delete_dentry()
66 struct dentry *simple_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in simple_lookup()
96 struct dentry *dentry = file->f_path.dentry; in dcache_dir_lseek() local
151 struct dentry *dentry = file->f_path.dentry; in dcache_readdir() local
221 struct dentry *dentry; in mount_pseudo() local
271 int simple_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) in simple_link()
284 int simple_empty(struct dentry *dentry) in simple_empty()
[all …]
Dnamei.c547 static int unlazy_walk(struct nameidata *nd, struct dentry *dentry) in unlazy_walk()
622 static inline int d_revalidate(struct dentry *dentry, unsigned int flags) in d_revalidate()
639 struct dentry *dentry = nd->path.dentry; in complete_walk() local
873 struct dentry *dentry = link->dentry; in follow_link() local
1143 static inline int managed_dentry_rcu(struct dentry *dentry) in managed_dentry_rcu()
1353 struct dentry *dentry; in lookup_dcache() local
1390 static struct dentry *lookup_real(struct inode *dir, struct dentry *dentry, in lookup_real()
1413 struct dentry *dentry; in __lookup_hash() local
1431 struct dentry *dentry, *parent = nd->path.dentry; in lookup_fast() local
1531 struct dentry *dentry, *parent; in lookup_slow() local
[all …]
Dnsfs.c14 static char *ns_dname(struct dentry *dentry, char *buffer, int buflen) in ns_dname()
23 static void ns_prune_dentry(struct dentry *dentry) in ns_prune_dentry()
51 struct dentry *dentry; in ns_get_path() local
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()
618 struct mount *__lookup_mnt(struct vfsmount *mnt, struct dentry *dentry) in __lookup_mnt()
633 struct mount *__lookup_mnt_last(struct vfsmount *mnt, struct dentry *dentry) in __lookup_mnt_last()
698 bool __is_local_mountpoint(struct dentry *dentry) in __is_local_mountpoint()
718 static struct mountpoint *lookup_mountpoint(struct dentry *dentry) in lookup_mountpoint()
735 static struct mountpoint *new_mountpoint(struct dentry *dentry) in new_mountpoint()
761 struct dentry *dentry = mp->m_dentry; in put_mountpoint() local
1543 void __detach_mounts(struct dentry *dentry) in __detach_mounts()
1636 static bool is_mnt_ns_file(struct dentry *dentry) in is_mnt_ns_file()
[all …]
Dopen.c37 int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs, in do_truncate()
155 struct dentry *dentry; in do_sys_ftruncate() local
788 int finish_open(struct file *file, struct dentry *dentry, in finish_open()
819 int finish_no_open(struct file *file, struct dentry *dentry) in finish_no_open()
835 struct dentry *dentry = path->dentry; in vfs_open() local
989 struct file *file_open_root(struct dentry *dentry, struct vfsmount *mnt, in file_open_root()
Dattr.c190 int notify_change(struct dentry * dentry, struct iattr * attr, struct inode **delegated_inode) in notify_change()
/linux-4.1.27/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()
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()
1233 static int v9fs_readlink(struct dentry *dentry, char *buffer, int buflen) in v9fs_readlink()
1280 static void *v9fs_vfs_follow_link(struct dentry *dentry, struct nameidata *nd) in v9fs_vfs_follow_link()
[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()
912 v9fs_vfs_follow_link_dotl(struct dentry *dentry, struct nameidata *nd) in v9fs_vfs_follow_link_dotl()
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()
Dxattr_user.c22 static int v9fs_xattr_user_get(struct dentry *dentry, const char *name, in v9fs_xattr_user_get()
49 static int v9fs_xattr_user_set(struct dentry *dentry, const char *name, in v9fs_xattr_user_set()
Dxattr_security.c22 static int v9fs_xattr_security_get(struct dentry *dentry, const char *name, in v9fs_xattr_security_get()
49 static int v9fs_xattr_security_set(struct dentry *dentry, const char *name, in v9fs_xattr_security_set()
Dxattr_trusted.c22 static int v9fs_xattr_trusted_get(struct dentry *dentry, const char *name, in v9fs_xattr_trusted_get()
49 static int v9fs_xattr_trusted_set(struct dentry *dentry, const char *name, in v9fs_xattr_trusted_set()
Dacl.c215 static int v9fs_remote_get_acl(struct dentry *dentry, const char *name, in v9fs_remote_get_acl()
233 static int v9fs_xattr_get_acl(struct dentry *dentry, const char *name, in v9fs_xattr_get_acl()
261 static int v9fs_remote_set_acl(struct dentry *dentry, const char *name, in v9fs_remote_set_acl()
281 static int v9fs_xattr_set_acl(struct dentry *dentry, const char *name, in v9fs_xattr_set_acl()
/linux-4.1.27/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()
Dsymlink.c11 static void *sysv_follow_link(struct dentry *dentry, struct nameidata *nd) in sysv_follow_link()
Dfile.c31 static int sysv_setattr(struct dentry *dentry, struct iattr *attr) in sysv_setattr()
Ddir.c131 struct sysv_dir_entry *sysv_find_entry(struct dentry *dentry, struct page **res_page) in sysv_find_entry()
177 int sysv_add_link(struct dentry *dentry, struct inode *inode) in sysv_add_link()
361 ino_t sysv_inode_by_name(struct dentry *dentry) in sysv_inode_by_name()
/linux-4.1.27/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 int simple_positive(struct dentry *dentry) in simple_positive()
246 static inline void __autofs4_add_expiring(struct dentry *dentry) in __autofs4_add_expiring()
257 static inline void autofs4_add_expiring(struct dentry *dentry) in autofs4_add_expiring()
270 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 void *autofs4_follow_link(struct dentry *dentry, struct nameidata *nd) in autofs4_follow_link()
/linux-4.1.27/fs/overlayfs/
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 …]
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 …]
Dinode.c15 static int ovl_copy_up_last(struct dentry *dentry, struct iattr *attr, in ovl_copy_up_last()
43 int ovl_setattr(struct dentry *dentry, struct iattr *attr) in ovl_setattr()
80 static int ovl_getattr(struct vfsmount *mnt, struct dentry *dentry, in ovl_getattr()
158 static void *ovl_follow_link(struct dentry *dentry, struct nameidata *nd) in ovl_follow_link()
191 static void ovl_put_link(struct dentry *dentry, struct nameidata *nd, void *c) in ovl_put_link()
204 static int ovl_readlink(struct dentry *dentry, char __user *buf, int bufsiz) in ovl_readlink()
226 int ovl_setxattr(struct dentry *dentry, const char *name, in ovl_setxattr()
253 static bool ovl_need_xattr_filter(struct dentry *dentry, in ovl_need_xattr_filter()
262 ssize_t ovl_getxattr(struct dentry *dentry, const char *name, in ovl_getxattr()
274 ssize_t ovl_listxattr(struct dentry *dentry, char *list, size_t size) in ovl_listxattr()
[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()
299 int ovl_copy_up_one(struct dentry *parent, struct dentry *dentry, in ovl_copy_up_one()
389 int ovl_copy_up(struct dentry *dentry) in ovl_copy_up()
/linux-4.1.27/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.c155 minix_dirent *minix_find_entry(struct dentry *dentry, struct page **res_page) in minix_find_entry()
204 int minix_add_link(struct dentry *dentry, struct inode *inode) in minix_add_link()
455 ino_t minix_inode_by_name(struct dentry *dentry) in minix_inode_by_name()
/linux-4.1.27/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()
392 void evm_inode_post_removexattr(struct dentry *dentry, const char *xattr_name) in evm_inode_post_removexattr()
408 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.1.27/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.1.27/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()
75 static int ufs_create (struct inode * dir, struct dentry * dentry, umode_t mode, in ufs_create()
99 static int ufs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ufs_mknod()
120 static int ufs_symlink (struct inode * dir, struct dentry * dentry, in ufs_symlink()
166 struct dentry *dentry) in ufs_link()
187 static int ufs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ufs_mkdir()
231 static int ufs_unlink(struct inode *dir, struct dentry *dentry) in ufs_unlink()
253 static int ufs_rmdir (struct inode * dir, struct dentry *dentry) in ufs_rmdir()
Dsymlink.c35 static void *ufs_follow_link(struct dentry *dentry, struct nameidata *nd) in ufs_follow_link()
/linux-4.1.27/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()
118 static int ext2_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in ext2_tmpfile()
138 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod()
161 static int ext2_symlink (struct inode * dir, struct dentry * dentry, in ext2_symlink()
209 struct dentry *dentry) in ext2_link()
230 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir()
276 static int ext2_unlink(struct inode * dir, struct dentry *dentry) in ext2_unlink()
300 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
Dxattr_user.c14 ext2_xattr_user_list(struct dentry *dentry, char *list, size_t list_size, in ext2_xattr_user_list()
32 ext2_xattr_user_get(struct dentry *dentry, const char *name, in ext2_xattr_user_get()
44 ext2_xattr_user_set(struct dentry *dentry, const char *name, in ext2_xattr_user_set()
Dxattr_trusted.c12 ext2_xattr_trusted_list(struct dentry *dentry, char *list, size_t list_size, in ext2_xattr_trusted_list()
30 ext2_xattr_trusted_get(struct dentry *dentry, const char *name, in ext2_xattr_trusted_get()
40 ext2_xattr_trusted_set(struct dentry *dentry, const char *name, in ext2_xattr_trusted_set()
Dxattr_security.c11 ext2_xattr_security_list(struct dentry *dentry, char *list, size_t list_size, in ext2_xattr_security_list()
26 ext2_xattr_security_get(struct dentry *dentry, const char *name, in ext2_xattr_security_get()
36 ext2_xattr_security_set(struct dentry *dentry, const char *name, in ext2_xattr_security_set()
Dsymlink.c24 static void *ext2_follow_link(struct dentry *dentry, struct nameidata *nd) in ext2_follow_link()
/linux-4.1.27/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()
127 struct dentry *dentry, *last; in __dcache_readdir() local
543 struct dentry *dentry, int err) in ceph_handle_snapdir()
575 struct dentry *dentry, int err) in ceph_finish_lookup()
600 static int is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry()
610 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup()
674 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create()
697 static int ceph_mknod(struct inode *dir, struct dentry *dentry, in ceph_mknod()
744 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()
1002 int ceph_setxattr(struct dentry *dentry, const char *name, in ceph_setxattr()
1017 static int ceph_send_removexattr(struct dentry *dentry, const char *name) in ceph_send_removexattr()
1042 int __ceph_removexattr(struct dentry *dentry, const char *name) in __ceph_removexattr()
1108 int ceph_removexattr(struct dentry *dentry, const char *name) in ceph_removexattr()
/linux-4.1.27/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()
96 static int exofs_symlink(struct inode *dir, struct dentry *dentry, in exofs_symlink()
142 struct dentry *dentry) in exofs_link()
153 static int exofs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in exofs_mkdir()
192 static int exofs_unlink(struct inode *dir, struct dentry *dentry) in exofs_unlink()
214 static int exofs_rmdir(struct inode *dir, struct dentry *dentry) in exofs_rmdir()
Dsymlink.c38 static void *exofs_follow_link(struct dentry *dentry, struct nameidata *nd) in exofs_follow_link()
/linux-4.1.27/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.c112 static struct dentry *ocfs2_lookup(struct inode *dir, struct dentry *dentry, in ocfs2_lookup()
221 struct dentry *dentry, struct inode *inode) in ocfs2_cleanup_add_entry_failure()
236 struct dentry *dentry, in ocfs2_mknod()
638 struct dentry *dentry, in ocfs2_mkdir()
653 struct dentry *dentry, in ocfs2_create()
670 struct dentry *dentry) in ocfs2_link()
831 static int ocfs2_remote_dentry_delete(struct dentry *dentry) in ocfs2_remote_dentry_delete()
858 struct dentry *dentry) in ocfs2_unlink()
1747 struct dentry *dentry, in ocfs2_symlink()
2743 struct dentry *dentry) in ocfs2_mv_orphaned_inode_to_new()
/linux-4.1.27/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()
151 struct dentry *dentry; in cachefiles_mark_object_active() local
/linux-4.1.27/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(struct dentry *dentry, const char *name, void *buffer, size_t size, in user_get()
22 user_set(struct dentry *dentry, const char *name, const void *buffer, in user_set()
33 static size_t user_list(struct dentry *dentry, char *list, size_t list_size, in user_list()
Dxattr_trusted.c11 trusted_get(struct dentry *dentry, const char *name, void *buffer, size_t size, in trusted_get()
24 trusted_set(struct dentry *dentry, const char *name, const void *buffer, in trusted_set()
36 static size_t trusted_list(struct dentry *dentry, char *list, size_t list_size, in trusted_list()
Dxattr_security.c12 security_get(struct dentry *dentry, const char *name, void *buffer, size_t size, in security_get()
25 security_set(struct dentry *dentry, const char *name, const void *buffer, in security_set()
37 static size_t security_list(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()
620 static int reiserfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in reiserfs_create()
694 static int reiserfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, in reiserfs_mknod()
775 static int reiserfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in reiserfs_mkdir()
883 static int reiserfs_rmdir(struct inode *dir, struct dentry *dentry) in reiserfs_rmdir()
978 static int reiserfs_unlink(struct inode *dir, struct dentry *dentry) in reiserfs_unlink()
1080 struct dentry *dentry, const char *symname) in reiserfs_symlink()
1174 struct dentry *dentry) in reiserfs_link()
/linux-4.1.27/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()
297 static int ecryptfs_i_size_read(struct dentry *dentry, struct inode *inode) in ecryptfs_i_size_read()
331 static int ecryptfs_lookup_interpose(struct dentry *dentry, in ecryptfs_lookup_interpose()
486 static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry) in ecryptfs_unlink()
491 static int ecryptfs_symlink(struct inode *dir, struct dentry *dentry, in ecryptfs_symlink()
531 static int ecryptfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ecryptfs_mkdir()
555 static int ecryptfs_rmdir(struct inode *dir, struct dentry *dentry) in ecryptfs_rmdir()
579 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.1.27/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
401 struct dentry *dentry; in nfsd_setattr() local
496 int nfsd4_is_junction(struct dentry *dentry) in nfsd4_is_junction()
516 struct dentry *dentry; in nfsd4_set_nfs4_label() local
607 struct dentry *dentry; in nfsd_access() local
1196 struct dentry *dentry, *dchild = NULL; in nfsd_create() local
1337 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
313 struct dentry *dir, *dentry; in nfsd4_unlink_clid_dir() local
772 struct dentry *dir, *dentry; in nfsd4_cld_register_sb() local
793 struct dentry *dentry; in nfsd4_cld_register_net() local
820 struct dentry *dentry; in nfsd4_init_cld_pipe() local
1505 struct dentry *dentry; in rpc_pipefs_event() local
/linux-4.1.27/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
348 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating()
356 static struct dentry *end_creating(struct dentry *dentry) in end_creating()
392 struct dentry *dentry; in tracefs_create_file() local
418 struct dentry *dentry = start_creating(name, parent); in __create_dir() local
483 struct dentry *dentry; in tracefs_create_instance_dir() local
499 static inline int tracefs_positive(struct dentry *dentry) in tracefs_positive()
[all …]
/linux-4.1.27/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()
390 int ima_inode_removexattr(struct dentry *dentry, const char *xattr_name) in ima_inode_removexattr()
/linux-4.1.27/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 void *configfs_follow_link(struct dentry *dentry, struct nameidata *nd) in configfs_follow_link()
299 static void configfs_put_link(struct dentry *dentry, struct nameidata *nd, in configfs_put_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.1.27/fs/debugfs/
Dinode.c47 static inline int debugfs_positive(struct dentry *dentry) in debugfs_positive()
252 struct dentry *dentry; in start_creating() local
288 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating()
296 static struct dentry *end_creating(struct dentry *dentry) in end_creating()
332 struct dentry *dentry; in debugfs_create_file() local
416 struct dentry *dentry = start_creating(name, parent); in debugfs_create_dir() local
455 struct dentry *dentry = start_creating(name, parent); in debugfs_create_automount() local
500 struct dentry *dentry; in debugfs_create_symlink() local
525 static int __debugfs_remove(struct dentry *dentry, struct dentry *parent) in __debugfs_remove()
555 void debugfs_remove(struct dentry *dentry) in debugfs_remove()
[all …]
/linux-4.1.27/fs/xfs/
Dxfs_iops.c101 struct dentry *dentry, in xfs_dentry_to_name()
113 struct dentry *dentry) in xfs_cleanup_inode()
130 struct dentry *dentry, in xfs_generic_create()
210 struct dentry *dentry, in xfs_vn_mknod()
220 struct dentry *dentry, in xfs_vn_create()
230 struct dentry *dentry, in xfs_vn_mkdir()
239 struct dentry *dentry, in xfs_vn_lookup()
264 struct dentry *dentry, in xfs_vn_ci_lookup()
305 struct dentry *dentry) in xfs_vn_link()
325 struct dentry *dentry) in xfs_vn_unlink()
[all …]
Dxfs_xattr.c35 xfs_xattr_get(struct dentry *dentry, const char *name, in xfs_xattr_get()
57 xfs_xattr_set(struct dentry *dentry, const char *name, const void *value, in xfs_xattr_set()
196 xfs_vn_listxattr(struct dentry *dentry, char *data, size_t size) in xfs_vn_listxattr()
Dxfs_ioctl.c144 struct dentry *dentry) in xfs_handle_acceptable()
203 struct dentry *dentry; in xfs_open_by_handle() local
277 struct dentry *dentry; in xfs_readlink_by_handle() local
362 struct dentry *dentry; in xfs_fssetdm_by_handle() local
406 struct dentry *dentry; in xfs_attrlist_by_handle() local
517 struct dentry *dentry; in xfs_attrmulti_by_handle() local
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
/linux-4.1.27/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
875 struct dentry *dentry = file->f_path.dentry; in nfs_readdir() local
1011 static int nfs_check_verifier(struct inode *dir, struct dentry *dentry, in nfs_check_verifier()
1090 int nfs_neg_need_reval(struct inode *dir, struct dentry *dentry, in nfs_neg_need_reval()
1112 static int nfs_lookup_revalidate(struct dentry *dentry, unsigned int flags) in nfs_lookup_revalidate()
1256 static int nfs_weak_revalidate(struct dentry *dentry, unsigned int flags) in nfs_weak_revalidate()
1287 static int nfs_dentry_delete(const struct dentry *dentry) in nfs_dentry_delete()
1324 static void nfs_dentry_iput(struct dentry *dentry, struct inode *inode) in nfs_dentry_iput()
1337 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.c46 static void *nfs_follow_link(struct dentry *dentry, struct nameidata *nd) in nfs_follow_link()
/linux-4.1.27/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
/linux-4.1.27/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.c14 static int hfsplus_trusted_getxattr(struct dentry *dentry, const char *name, in hfsplus_trusted_getxattr()
22 static int hfsplus_trusted_setxattr(struct dentry *dentry, const char *name, in hfsplus_trusted_setxattr()
29 static size_t hfsplus_trusted_listxattr(struct dentry *dentry, char *list, in hfsplus_trusted_listxattr()
Dxattr_user.c14 static int hfsplus_user_getxattr(struct dentry *dentry, const char *name, in hfsplus_user_getxattr()
22 static int hfsplus_user_setxattr(struct dentry *dentry, const char *name, in hfsplus_user_setxattr()
29 static size_t hfsplus_user_listxattr(struct dentry *dentry, char *list, in hfsplus_user_listxattr()
Dxattr_security.c16 static int hfsplus_security_getxattr(struct dentry *dentry, const char *name, in hfsplus_security_getxattr()
24 static int hfsplus_security_setxattr(struct dentry *dentry, const char *name, in hfsplus_security_setxattr()
32 static size_t hfsplus_security_listxattr(struct dentry *dentry, char *list, in hfsplus_security_listxattr()
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()
852 static int hfsplus_osx_getxattr(struct dentry *dentry, const char *name, in hfsplus_osx_getxattr()
874 static int hfsplus_osx_setxattr(struct dentry *dentry, const char *name, in hfsplus_osx_setxattr()
896 static size_t hfsplus_osx_listxattr(struct dentry *dentry, char *list, in hfsplus_osx_listxattr()
/linux-4.1.27/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()
144 static int nilfs_symlink(struct inode *dir, struct dentry *dentry, in nilfs_symlink()
193 struct dentry *dentry) in nilfs_link()
220 static int nilfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in nilfs_mkdir()
274 static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry) in nilfs_do_unlink()
308 static int nilfs_unlink(struct inode *dir, struct dentry *dentry) in nilfs_unlink()
329 static int nilfs_rmdir(struct inode *dir, struct dentry *dentry) in nilfs_rmdir()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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()
309 proc_fdinfo_instantiate(struct inode *dir, struct dentry *dentry, in proc_fdinfo_instantiate()
337 proc_lookupfdinfo(struct inode *dir, struct dentry *dentry, unsigned int flags) in proc_lookupfdinfo()
Dnamespaces.c33 static void *proc_ns_follow_link(struct dentry *dentry, struct nameidata *nd) 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.c10 static int proc_self_readlink(struct dentry *dentry, char __user *buffer, in proc_self_readlink()
22 static void *proc_self_follow_link(struct dentry *dentry, struct nameidata *nd) in proc_self_follow_link()
Dthread_self.c10 static int proc_thread_self_readlink(struct dentry *dentry, char __user *buffer, in proc_thread_self_readlink()
23 static void *proc_thread_self_follow_link(struct dentry *dentry, struct nameidata *nd) in proc_thread_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()
512 int proc_setattr(struct dentry *dentry, struct iattr *attr) in proc_setattr()
1357 static int proc_exe_link(struct dentry *dentry, struct path *exe_path) in proc_exe_link()
1381 static void *proc_pid_follow_link(struct dentry *dentry, struct nameidata *nd) in proc_pid_follow_link()
1425 static int proc_pid_readlink(struct dentry * dentry, char __user * buffer, int buflen) in proc_pid_readlink()
1496 int pid_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in pid_getattr()
1546 int pid_revalidate(struct dentry *dentry, unsigned int flags) in pid_revalidate()
1583 int pid_delete_dentry(const struct dentry *dentry) in pid_delete_dentry()
1648 static int dname_to_vma_addr(struct dentry *dentry, in dname_to_vma_addr()
[all …]
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()
Droot.c199 static int proc_root_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat in proc_root_getattr()
207 static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int fla… in proc_root_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()
/linux-4.1.27/fs/f2fs/
Dnamei.c109 static int f2fs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in f2fs_create()
152 struct dentry *dentry) in f2fs_link()
229 static struct dentry *f2fs_lookup(struct inode *dir, struct dentry *dentry, in f2fs_lookup()
263 static int f2fs_unlink(struct inode *dir, struct dentry *dentry) in f2fs_unlink()
299 static void *f2fs_follow_link(struct dentry *dentry, struct nameidata *nd) in f2fs_follow_link()
314 static int f2fs_symlink(struct inode *dir, struct dentry *dentry, in f2fs_symlink()
362 static int f2fs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in f2fs_mkdir()
402 static int f2fs_rmdir(struct inode *dir, struct dentry *dentry) in f2fs_rmdir()
410 static int f2fs_mknod(struct inode *dir, struct dentry *dentry, in f2fs_mknod()
740 static int f2fs_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in f2fs_tmpfile()
Dxattr.c28 static size_t f2fs_xattr_generic_list(struct dentry *dentry, char *list, in f2fs_xattr_generic_list()
65 static int f2fs_xattr_generic_get(struct dentry *dentry, const char *name, in f2fs_xattr_generic_get()
89 static int f2fs_xattr_generic_set(struct dentry *dentry, const char *name, in f2fs_xattr_generic_set()
115 static size_t f2fs_xattr_advise_list(struct dentry *dentry, char *list, in f2fs_xattr_advise_list()
130 static int f2fs_xattr_advise_get(struct dentry *dentry, const char *name, in f2fs_xattr_advise_get()
143 static int f2fs_xattr_advise_set(struct dentry *dentry, const char *name, in f2fs_xattr_advise_set()
445 ssize_t f2fs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) in f2fs_listxattr()
/linux-4.1.27/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.1.27/drivers/staging/lustre/lustre/llite/
Dnamei.c146 struct dentry *dentry, *tmp_subdir; in ll_invalidate_negative_children() local
334 static struct dentry *ll_find_alias(struct inode *inode, struct dentry *dentry) in ll_find_alias()
479 static struct dentry *ll_lookup_it(struct inode *parent, struct dentry *dentry, in ll_lookup_it()
565 static struct dentry *ll_lookup_nd(struct inode *parent, struct dentry *dentry, in ll_lookup_nd()
595 static int ll_atomic_open(struct inode *dir, struct dentry *dentry, in ll_atomic_open()
720 static int ll_create_it(struct inode *dir, struct dentry *dentry, int mode, in ll_create_it()
760 static int ll_new_node(struct inode *dir, struct dentry *dentry, in ll_new_node()
844 static int ll_create_nd(struct inode *dir, struct dentry *dentry, in ll_create_nd()
979 static int ll_unlink(struct inode *dir, struct dentry *dentry) in ll_unlink()
1011 static int ll_mkdir(struct inode *dir, struct dentry *dentry, ll_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
309 static int ll_revalidate_dentry(struct dentry *dentry, in ll_revalidate_dentry()
340 static int ll_revalidate_nd(struct dentry *dentry, unsigned int flags) in ll_revalidate_nd()
Dsymlink.c121 static void *ll_follow_link(struct dentry *dentry, struct nameidata *nd) in ll_follow_link()
154 static void ll_put_link(struct dentry *dentry, struct nameidata *nd, void *cookie) in ll_put_link()
Dxattr.c214 int ll_setxattr(struct dentry *dentry, const char *name, in ll_setxattr()
268 int ll_removexattr(struct dentry *dentry, const char *name) in ll_removexattr()
457 ssize_t ll_getxattr(struct dentry *dentry, const char *name, in ll_getxattr()
546 ssize_t ll_listxattr(struct dentry *dentry, char *buffer, size_t size) in ll_listxattr()
/linux-4.1.27/fs/jfs/
Dnamei.c75 static int jfs_create(struct inode *dip, struct dentry *dentry, umode_t mode, in jfs_create()
208 static int jfs_mkdir(struct inode *dip, struct dentry *dentry, umode_t mode) in jfs_mkdir()
345 static int jfs_rmdir(struct inode *dip, struct dentry *dentry) in jfs_rmdir()
471 static int jfs_unlink(struct inode *dip, struct dentry *dentry) in jfs_unlink()
790 struct inode *dir, struct dentry *dentry) in jfs_link()
873 static int jfs_symlink(struct inode *dip, struct dentry *dentry, in jfs_symlink()
1340 static int jfs_mknod(struct inode *dir, struct dentry *dentry, in jfs_mknod()
1437 static struct dentry *jfs_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags) in jfs_lookup()
1498 struct dentry *jfs_get_parent(struct dentry *dentry) in jfs_get_parent()
1553 static int jfs_ci_compare(const struct dentry *parent, const struct dentry *dentry, in jfs_ci_compare()
[all …]
Dsymlink.c25 static void *jfs_follow_link(struct dentry *dentry, struct nameidata *nd) in jfs_follow_link()
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.1.27/fs/jffs2/
Dxattr_trusted.c19 static int jffs2_trusted_getxattr(struct dentry *dentry, const char *name, in jffs2_trusted_getxattr()
28 static int jffs2_trusted_setxattr(struct dentry *dentry, const char *name, in jffs2_trusted_setxattr()
37 static size_t jffs2_trusted_listxattr(struct dentry *dentry, char *list, in jffs2_trusted_listxattr()
Dxattr_user.c19 static int jffs2_user_getxattr(struct dentry *dentry, const char *name, in jffs2_user_getxattr()
28 static int jffs2_user_setxattr(struct dentry *dentry, const char *name, in jffs2_user_setxattr()
37 static size_t jffs2_user_listxattr(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()
440 static int jffs2_mkdir (struct inode *dir_i, struct dentry *dentry, umode_t mode) in jffs2_mkdir()
584 static int jffs2_rmdir (struct inode *dir_i, struct dentry *dentry) in jffs2_rmdir()
608 static int jffs2_mknod (struct inode *dir_i, struct dentry *dentry, umode_t mode, dev_t rdev) in jffs2_mknod()
Dsecurity.c51 static int jffs2_security_getxattr(struct dentry *dentry, const char *name, in jffs2_security_getxattr()
61 static int jffs2_security_setxattr(struct dentry *dentry, const char *name, in jffs2_security_setxattr()
71 static size_t jffs2_security_listxattr(struct dentry *dentry, char *list, in jffs2_security_listxattr()
Dsymlink.c32 static void *jffs2_follow_link(struct dentry *dentry, struct nameidata *nd) in jffs2_follow_link()
/linux-4.1.27/fs/ext4/
Dxattr_user.c15 ext4_xattr_user_list(struct dentry *dentry, char *list, size_t list_size, in ext4_xattr_user_list()
33 ext4_xattr_user_get(struct dentry *dentry, const char *name, in ext4_xattr_user_get()
45 ext4_xattr_user_set(struct dentry *dentry, const char *name, in ext4_xattr_user_set()
Dxattr_trusted.c16 ext4_xattr_trusted_list(struct dentry *dentry, char *list, size_t list_size, in ext4_xattr_trusted_list()
34 ext4_xattr_trusted_get(struct dentry *dentry, const char *name, void *buffer, in ext4_xattr_trusted_get()
44 ext4_xattr_trusted_set(struct dentry *dentry, const char *name, in ext4_xattr_trusted_set()
Dsymlink.c26 static void *ext4_follow_link(struct dentry *dentry, struct nameidata *nd) in ext4_follow_link()
100 static void ext4_put_link(struct dentry *dentry, struct nameidata *nd, in ext4_put_link()
114 static void *ext4_follow_fast_link(struct dentry *dentry, struct nameidata *nd) in ext4_follow_fast_link()
Dxattr_security.c15 ext4_xattr_security_list(struct dentry *dentry, char *list, size_t list_size, in ext4_xattr_security_list()
31 ext4_xattr_security_get(struct dentry *dentry, const char *name, in ext4_xattr_security_get()
41 ext4_xattr_security_set(struct dentry *dentry, const char *name, in ext4_xattr_security_set()
Dfsync.c46 struct dentry *dentry = NULL; in ext4_sync_parent() local
Dnamei.c1559 static struct dentry *ext4_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in ext4_lookup()
1927 static int add_dirent_to_buf(handle_t *handle, struct dentry *dentry, in add_dirent_to_buf()
1988 static int make_indexed_dir(handle_t *handle, struct dentry *dentry, in make_indexed_dir()
2142 static int ext4_add_entry(handle_t *handle, struct dentry *dentry, in ext4_add_entry()
2223 static int ext4_dx_add_entry(handle_t *handle, struct dentry *dentry, in ext4_dx_add_entry()
2477 struct dentry *dentry, struct inode *inode) in ext4_add_nondir()
2500 static int ext4_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ext4_create()
2544 static int ext4_mknod(struct inode *dir, struct dentry *dentry, in ext4_mknod()
2577 static int ext4_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in ext4_tmpfile()
2687 static int ext4_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ext4_mkdir()
[all …]
/linux-4.1.27/fs/ext3/
Dxattr_trusted.c12 ext3_xattr_trusted_list(struct dentry *dentry, char *list, size_t list_size, in ext3_xattr_trusted_list()
30 ext3_xattr_trusted_get(struct dentry *dentry, const char *name, in ext3_xattr_trusted_get()
40 ext3_xattr_trusted_set(struct dentry *dentry, const char *name, in ext3_xattr_trusted_set()
Dxattr_user.c12 ext3_xattr_user_list(struct dentry *dentry, char *list, size_t list_size, in ext3_xattr_user_list()
30 ext3_xattr_user_get(struct dentry *dentry, const char *name, void *buffer, in ext3_xattr_user_get()
42 ext3_xattr_user_set(struct dentry *dentry, const char *name, in ext3_xattr_user_set()
Dxattr_security.c11 ext3_xattr_security_list(struct dentry *dentry, char *list, size_t list_size, in ext3_xattr_security_list()
27 ext3_xattr_security_get(struct dentry *dentry, const char *name, in ext3_xattr_security_get()
37 ext3_xattr_security_set(struct dentry *dentry, const char *name, in ext3_xattr_security_set()
Dnamei.c1014 static struct dentry *ext3_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags) in ext3_lookup()
1242 static int add_dirent_to_buf(handle_t *handle, struct dentry *dentry, in add_dirent_to_buf()
1330 static int make_indexed_dir(handle_t *handle, struct dentry *dentry, in make_indexed_dir()
1435 static int ext3_add_entry (handle_t *handle, struct dentry *dentry, in ext3_add_entry()
1485 static int ext3_dx_add_entry(handle_t *handle, struct dentry *dentry, in ext3_dx_add_entry()
1669 struct dentry *dentry, struct inode *inode) in ext3_add_nondir()
1692 static int ext3_create (struct inode * dir, struct dentry * dentry, umode_t mode, in ext3_create()
1725 static int ext3_mknod (struct inode * dir, struct dentry *dentry, in ext3_mknod()
1762 static int ext3_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in ext3_tmpfile()
1800 static int ext3_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ext3_mkdir()
[all …]
Dsymlink.c24 static void * ext3_follow_link(struct dentry *dentry, struct nameidata *nd) in ext3_follow_link()
Dxattr.c143 ext3_listxattr(struct dentry *dentry, char *buffer, size_t size) in ext3_listxattr()
330 ext3_xattr_list_entries(struct dentry *dentry, struct ext3_xattr_entry *entry, in ext3_xattr_list_entries()
356 ext3_xattr_block_list(struct dentry *dentry, char *buffer, size_t buffer_size) in ext3_xattr_block_list()
392 ext3_xattr_ibody_list(struct dentry *dentry, char *buffer, size_t buffer_size) in ext3_xattr_ibody_list()
431 ext3_xattr_list(struct dentry *dentry, char *buffer, size_t buffer_size) in ext3_xattr_list()
/linux-4.1.27/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.1.27/arch/s390/hypfs/
Dinode.c59 static void hypfs_add_dentry(struct dentry *dentry) in hypfs_add_dentry()
65 static inline int hypfs_positive(struct dentry *dentry) in hypfs_positive()
70 static void hypfs_remove(struct dentry *dentry) in hypfs_remove()
336 struct dentry *dentry; in hypfs_create_file() local
373 struct dentry *dentry; in hypfs_mkdir() local
384 struct dentry *dentry; in hypfs_create_update_file() local
401 struct dentry *dentry; in hypfs_create_u64() local
421 struct dentry *dentry; in hypfs_create_str() local
Dhypfs.h68 struct dentry *dentry; member
/linux-4.1.27/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.c306 int fat_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) in fat_getattr()
377 int fat_setattr(struct dentry *dentry, struct iattr *attr) in fat_setattr()
/linux-4.1.27/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 void *kernfs_iop_follow_link(struct dentry *dentry, struct nameidata *nd) in kernfs_iop_follow_link()
128 static void kernfs_iop_put_link(struct dentry *dentry, struct nameidata *nd, in kernfs_iop_put_link()
Ddir.c439 static int kernfs_dop_revalidate(struct dentry *dentry, unsigned int flags) in kernfs_dop_revalidate()
478 static void kernfs_dop_release(struct dentry *dentry) in kernfs_dop_release()
499 struct kernfs_node *kernfs_node_from_dentry(struct dentry *dentry) in kernfs_node_from_dentry()
822 struct dentry *dentry, in kernfs_iop_lookup()
860 static int kernfs_iop_mkdir(struct inode *dir, struct dentry *dentry, in kernfs_iop_mkdir()
879 static int kernfs_iop_rmdir(struct inode *dir, struct dentry *dentry) in kernfs_iop_rmdir()
1411 struct dentry *dentry = file->f_path.dentry; in kernfs_fop_readdir() local
/linux-4.1.27/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()
499 struct dentry *dentry) in ubifs_link()
554 static int ubifs_unlink(struct inode *dir, struct dentry *dentry) in ubifs_unlink()
646 static int ubifs_rmdir(struct inode *dir, struct dentry *dentry) in ubifs_rmdir()
708 static int ubifs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ubifs_mkdir()
769 static int ubifs_mknod(struct inode *dir, struct dentry *dentry, in ubifs_mknod()
849 static int ubifs_symlink(struct inode *dir, struct dentry *dentry, in ubifs_symlink()
1135 int ubifs_getattr(struct vfsmount *mnt, struct dentry *dentry, in ubifs_getattr()
Dxattr.c363 int ubifs_setxattr(struct dentry *dentry, const char *name, in ubifs_setxattr()
372 ssize_t ubifs_getxattr(struct dentry *dentry, const char *name, void *buf, in ubifs_getxattr()
432 ssize_t ubifs_listxattr(struct dentry *dentry, char *buffer, size_t size) in ubifs_listxattr()
536 int ubifs_removexattr(struct dentry *dentry, const char *name) in ubifs_removexattr()
650 int ubifs_init_security(struct inode *dentry, struct inode *inode, in ubifs_init_security()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/fs/udf/
Dnamei.c253 static struct dentry *udf_lookup(struct inode *dir, struct dentry *dentry, in udf_lookup()
295 struct dentry *dentry, in udf_add_entry()
551 static int udf_add_nondir(struct dentry *dentry, struct inode *inode) in udf_add_nondir()
582 static int udf_create(struct inode *dir, struct dentry *dentry, umode_t mode, in udf_create()
601 static int udf_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in udf_tmpfile()
620 static int udf_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, in udf_mknod()
636 static int udf_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in udf_mkdir()
767 static int udf_rmdir(struct inode *dir, struct dentry *dentry) in udf_rmdir()
809 static int udf_unlink(struct inode *dir, struct dentry *dentry) in udf_unlink()
851 static int udf_symlink(struct inode *dir, struct dentry *dentry, in udf_symlink()
[all …]
/linux-4.1.27/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.1.27/security/
Dinode.c28 static inline int positive(struct dentry *dentry) in positive()
86 struct dentry *dentry; in securityfs_create_file() local
192 void securityfs_remove(struct dentry *dentry) in securityfs_remove()
Dcapability.c48 static int cap_quota_on(struct dentry *dentry) in cap_quota_on()
95 static int cap_sb_statfs(struct dentry *dentry) in cap_sb_statfs()
138 static int cap_dentry_init_security(struct dentry *dentry, int mode, in cap_dentry_init_security()
161 static int cap_inode_create(struct inode *inode, struct dentry *dentry, in cap_inode_create()
173 static int cap_inode_unlink(struct inode *inode, struct dentry *dentry) in cap_inode_unlink()
178 static int cap_inode_symlink(struct inode *inode, struct dentry *dentry, in cap_inode_symlink()
184 static int cap_inode_mkdir(struct inode *inode, struct dentry *dentry, in cap_inode_mkdir()
190 static int cap_inode_rmdir(struct inode *inode, struct dentry *dentry) in cap_inode_rmdir()
195 static int cap_inode_mknod(struct inode *inode, struct dentry *dentry, in cap_inode_mknod()
207 static int cap_inode_readlink(struct dentry *dentry) in cap_inode_readlink()
[all …]
Dsecurity.c217 int security_quota_on(struct dentry *dentry) in security_quota_on()
298 int security_sb_statfs(struct dentry *dentry) in security_sb_statfs()
354 int security_dentry_init_security(struct dentry *dentry, int mode, in security_dentry_init_security()
410 int security_path_mknod(struct path *dir, struct dentry *dentry, umode_t mode, in security_path_mknod()
419 int security_path_mkdir(struct path *dir, struct dentry *dentry, umode_t mode) in security_path_mkdir()
427 int security_path_rmdir(struct path *dir, struct dentry *dentry) in security_path_rmdir()
434 int security_path_unlink(struct path *dir, struct dentry *dentry) in security_path_unlink()
442 int security_path_symlink(struct path *dir, struct dentry *dentry, in security_path_symlink()
505 int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in security_inode_create()
521 int security_inode_unlink(struct inode *dir, struct dentry *dentry) in security_inode_unlink()
[all …]
Dcommoncap.c303 int cap_inode_need_killpriv(struct dentry *dentry) in cap_inode_need_killpriv()
325 int cap_inode_killpriv(struct dentry *dentry) in cap_inode_killpriv()
381 int get_vfs_caps_from_disk(const struct dentry *dentry, struct cpu_vfs_cap_data *cpu_caps) in get_vfs_caps_from_disk()
624 int cap_inode_setxattr(struct dentry *dentry, const char *name, in cap_inode_setxattr()
651 int cap_inode_removexattr(struct dentry *dentry, const char *name) in cap_inode_removexattr()
/linux-4.1.27/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.1.27/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()
293 static int hpfs_symlink(struct inode *dir, struct dentry *dentry, const char *symlink) in hpfs_symlink()
371 static int hpfs_unlink(struct inode *dir, struct dentry *dentry) in hpfs_unlink()
422 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.1.27/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.1.27/fs/hppfs/
Dhppfs.c51 static int is_pid(struct dentry *dentry) in is_pid()
67 static char *dentry_name(struct dentry *dentry, int extra) in dentry_name()
111 static int file_removed(struct dentry *dentry, const char *file) in file_removed()
141 static struct dentry *hppfs_lookup(struct inode *ino, struct dentry *dentry, in hppfs_lookup()
548 struct dentry *dentry; member
588 static int hppfs_statfs(struct dentry *dentry, struct kstatfs *sf) in hppfs_statfs()
637 static int hppfs_readlink(struct dentry *dentry, char __user *buffer, in hppfs_readlink()
645 static void *hppfs_follow_link(struct dentry *dentry, struct nameidata *nd) in hppfs_follow_link()
652 static void hppfs_put_link(struct dentry *dentry, struct nameidata *nd, in hppfs_put_link()
671 static struct inode *get_inode(struct super_block *sb, struct dentry *dentry) in get_inode()
/linux-4.1.27/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.1.27/security/tomoyo/
Dtomoyo.c172 static int tomoyo_path_unlink(struct path *parent, struct dentry *dentry) in tomoyo_path_unlink()
187 static int tomoyo_path_mkdir(struct path *parent, struct dentry *dentry, in tomoyo_path_mkdir()
203 static int tomoyo_path_rmdir(struct path *parent, struct dentry *dentry) in tomoyo_path_rmdir()
218 static int tomoyo_path_symlink(struct path *parent, struct dentry *dentry, in tomoyo_path_symlink()
235 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.1.27/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.1.27/security/apparmor/
Dlsm.c186 struct dentry *dentry, u32 mask, in common_perm_dir_dentry()
204 struct dentry *dentry, u32 mask) in common_perm_mnt_dentry()
224 struct dentry *dentry, u32 mask) in common_perm_rm()
248 static int common_perm_create(int op, struct path *dir, struct dentry *dentry, in common_perm_create()
259 static int apparmor_path_unlink(struct path *dir, struct dentry *dentry) in apparmor_path_unlink()
264 static int apparmor_path_mkdir(struct path *dir, struct dentry *dentry, in apparmor_path_mkdir()
271 static int apparmor_path_rmdir(struct path *dir, struct dentry *dentry) in apparmor_path_rmdir()
276 static int apparmor_path_mknod(struct path *dir, struct dentry *dentry, in apparmor_path_mknod()
295 static int apparmor_path_symlink(struct path *dir, struct dentry *dentry, in apparmor_path_symlink()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/mm/
Dshmem.c545 static int shmem_setattr(struct dentry *dentry, struct iattr *attr) in shmem_setattr()
2179 static int shmem_statfs(struct dentry *dentry, struct kstatfs *buf) in shmem_statfs()
2204 shmem_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in shmem_mknod()
2233 shmem_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode) in shmem_tmpfile()
2256 static int shmem_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in shmem_mkdir()
2266 static int shmem_create(struct inode *dir, struct dentry *dentry, umode_t mode, in shmem_create()
2275 static int shmem_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) in shmem_link()
2299 static int shmem_unlink(struct inode *dir, struct dentry *dentry) in shmem_unlink()
2313 static int shmem_rmdir(struct inode *dir, struct dentry *dentry) in shmem_rmdir()
2418 static int shmem_symlink(struct inode *dir, struct dentry *dentry, const char *symname) in shmem_symlink()
[all …]
Dhwpoison-inject.c83 struct dentry *dentry; in pfn_inject_init() local
/linux-4.1.27/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.1.27/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.1.27/drivers/block/drbd/
Ddrbd_debugfs.c425 static inline int debugfs_positive(struct dentry *dentry) in debugfs_positive()
484 struct dentry *dentry; in drbd_debugfs_resource_add() local
655 struct dentry *dentry; in drbd_debugfs_connection_add() local
815 struct dentry *dentry; in drbd_debugfs_device_attr() local
871 struct dentry *dentry; in drbd_debugfs_peer_device_add() local
929 struct dentry *dentry; in drbd_debugfs_init() local
/linux-4.1.27/fs/qnx6/
Dnamei.c15 struct dentry *qnx6_lookup(struct inode *dir, struct dentry *dentry, in qnx6_lookup()
/linux-4.1.27/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.1.27/fs/befs/
Dlinuxvfs.c164 befs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in befs_lookup()
471 befs_follow_link(struct dentry *dentry, struct nameidata *nd) in befs_follow_link()
502 befs_fast_follow_link(struct dentry *dentry, struct nameidata *nd) in befs_fast_follow_link()
904 befs_statfs(struct dentry *dentry, struct kstatfs *buf) in befs_statfs()
/linux-4.1.27/fs/devpts/
Dinode.c243 struct dentry *dentry; in mknod_ptmx() local
604 struct dentry *dentry; in devpts_pty_new() local
649 struct dentry *dentry; in devpts_get_priv() local
677 struct dentry *dentry; in devpts_pty_kill() local
/linux-4.1.27/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.1.27/kernel/
Drelay.c318 static int remove_buf_file_default_callback(struct dentry *dentry) in remove_buf_file_default_callback()
407 struct dentry *dentry) in relay_set_buf_dentry()
417 struct dentry *dentry; in relay_create_buf_file() local
443 struct dentry *dentry; in relay_open_buf() local
626 struct dentry *dentry; member
655 struct dentry *dentry; in relay_late_setup_files() local
/linux-4.1.27/fs/hugetlbfs/
Dinode.c394 static int hugetlbfs_setattr(struct dentry *dentry, struct iattr *attr) in hugetlbfs_setattr()
513 struct dentry *dentry, umode_t mode, dev_t dev) in hugetlbfs_mknod()
528 static int hugetlbfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in hugetlbfs_mkdir()
536 static int hugetlbfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) in hugetlbfs_create()
542 struct dentry *dentry, const char *symname) in hugetlbfs_symlink()
587 static int hugetlbfs_statfs(struct dentry *dentry, struct kstatfs *buf) in hugetlbfs_statfs()
/linux-4.1.27/net/wimax/
Ddebugfs.c44 struct dentry *dentry; in wimax_debugfs_add() local
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/
Ddebug.h26 struct dentry *dentry; member
/linux-4.1.27/security/selinux/
Dhooks.c1225 static int selinux_proc_get_sid(struct dentry *dentry, in selinux_proc_get_sid()
1253 static int selinux_proc_get_sid(struct dentry *dentry, in selinux_proc_get_sid()
1267 struct dentry *dentry; in inode_doinit_with_dentry() local
1611 struct dentry *dentry, in dentry_has_perm()
1690 struct dentry *dentry, in may_create()
1746 struct dentry *dentry, in may_link()
2097 static int selinux_quota_on(struct dentry *dentry) in selinux_quota_on()
2678 static int selinux_sb_statfs(struct dentry *dentry) in selinux_sb_statfs()
2723 static int selinux_dentry_init_security(struct dentry *dentry, int mode, in selinux_dentry_init_security()
2817 static int selinux_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) in selinux_inode_create()
[all …]

123