Home
last modified time | relevance | path

Searched defs:dentry (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/linux-3.3/include/linux/
Ddcache.h88 struct dentry { struct
91 seqcount_t d_seq; /* per dentry seqlock */ argument
93 struct dentry *d_parent; /* parent directory */ argument
101 spinlock_t d_lock; /* per dentry lock */ argument
102 const struct dentry_operations *d_op; argument
103 struct super_block *d_sb; /* The root of the dentry tree */ argument
120 * dentry->d_lock spinlock nesting subclasses: argument
196 static inline int dname_external(struct dentry *dentry) in dname_external()
297 static inline int __d_rcu_to_refcount(struct dentry *dentry, unsigned seq) in __d_rcu_to_refcount()
335 static inline struct dentry *dget_dlock(struct dentry *dentry) in dget_dlock()
[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()
/linux-3.3/fs/
Ddcache.c162 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local
173 static void d_free(struct dentry *dentry) in d_free()
194 static inline void dentry_rcuwalk_barrier(struct dentry *dentry) in dentry_rcuwalk_barrier()
206 static void dentry_iput(struct dentry * dentry) in dentry_iput()
231 static void dentry_unlink_inode(struct dentry * dentry) in dentry_unlink_inode()
252 static void dentry_lru_add(struct dentry *dentry) in dentry_lru_add()
263 static void __dentry_lru_del(struct dentry *dentry) in __dentry_lru_del()
274 static void dentry_lru_del(struct dentry *dentry) in dentry_lru_del()
288 static void dentry_lru_prune(struct dentry *dentry) in dentry_lru_prune()
300 static void dentry_lru_move_list(struct dentry *dentry, struct list_head *list) in dentry_lru_move_list()
[all …]
/linux-3.3/fs/autofs4/
Dautofs_i.h61 struct dentry *dentry; member
133 static inline struct autofs_info *autofs4_dentry_ino(struct dentry *dentry) in autofs4_dentry_ino()
147 static inline int autofs4_ispending(struct dentry *dentry) in autofs4_ispending()
195 static inline void __managed_dentry_set_automount(struct dentry *dentry) in __managed_dentry_set_automount()
200 static inline void managed_dentry_set_automount(struct dentry *dentry) in managed_dentry_set_automount()
207 static inline void __managed_dentry_clear_automount(struct dentry *dentry) in __managed_dentry_clear_automount()
212 static inline void managed_dentry_clear_automount(struct dentry *dentry) in managed_dentry_clear_automount()
219 static inline void __managed_dentry_set_transit(struct dentry *dentry) in __managed_dentry_set_transit()
224 static inline void managed_dentry_set_transit(struct dentry *dentry) in managed_dentry_set_transit()
231 static inline void __managed_dentry_clear_transit(struct dentry *dentry) in __managed_dentry_clear_transit()
[all …]
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
162 static struct dentry *autofs4_lookup_active(struct dentry *dentry) in autofs4_lookup_active()
214 static struct dentry *autofs4_lookup_expiring(struct dentry *dentry) in autofs4_lookup_expiring()
266 static int autofs4_mount_wait(struct dentry *dentry) in autofs4_mount_wait()
282 static int do_expire_wait(struct dentry *dentry) in do_expire_wait()
304 struct dentry *dentry = path->dentry; in autofs4_mountpoint_changed() local
327 struct dentry *dentry = path->dentry; in autofs4_d_automount() local
430 int autofs4_d_manage(struct dentry *dentry, bool rcu_walk) in autofs4_d_manage()
[all …]
/linux-3.3/security/integrity/evm/
Devm_main.c50 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs()
86 static enum integrity_status evm_verify_hmac(struct dentry *dentry, in evm_verify_hmac()
200 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr()
225 static enum integrity_status evm_verify_current_integrity(struct dentry *dentry) in evm_verify_current_integrity()
246 static int evm_protect_xattr(struct dentry *dentry, const char *xattr_name, in evm_protect_xattr()
277 int evm_inode_setxattr(struct dentry *dentry, const char *xattr_name, in evm_inode_setxattr()
292 int evm_inode_removexattr(struct dentry *dentry, const char *xattr_name) in evm_inode_removexattr()
310 void evm_inode_post_setxattr(struct dentry *dentry, const char *xattr_name, in evm_inode_post_setxattr()
328 void evm_inode_post_removexattr(struct dentry *dentry, const char *xattr_name) in evm_inode_post_removexattr()
345 int evm_inode_setattr(struct dentry *dentry, struct iattr *attr) in evm_inode_setattr()
[all …]
/linux-3.3/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, const struct inode *inode, in sysv_hash()
46 static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, struct nameidata *nd) in sysv_lookup()
64 static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t mode, dev_t rdev) in sysv_mknod()
83 static int sysv_create(struct inode * dir, struct dentry * dentry, umode_t mode, struct nameidata *… in sysv_create()
88 static int sysv_symlink(struct inode * dir, struct dentry * dentry, in sysv_symlink()
120 struct dentry * dentry) in sysv_link()
134 static int sysv_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in sysv_mkdir()
173 static int sysv_unlink(struct inode * dir, struct dentry * dentry) in sysv_unlink()
194 static int sysv_rmdir(struct inode * dir, struct dentry * dentry) in sysv_rmdir()
/linux-3.3/fs/9p/
Dfid.c44 int v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid) in v9fs_fid_add()
77 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, u32 uid, int any) in v9fs_fid_find()
106 struct dentry *dentry, char ***names) in build_path_from_dentry()
128 static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry, in v9fs_fid_lookup_with_uid()
234 struct p9_fid *v9fs_fid_lookup(struct dentry *dentry) in v9fs_fid_lookup()
263 struct p9_fid *v9fs_fid_clone(struct dentry *dentry) in v9fs_fid_clone()
275 static struct p9_fid *v9fs_fid_clone_with_uid(struct dentry *dentry, uid_t uid) in v9fs_fid_clone_with_uid()
287 struct p9_fid *v9fs_writeback_fid(struct dentry *dentry) in v9fs_writeback_fid()
Dvfs_dentry.c54 static int v9fs_dentry_delete(const struct dentry *dentry) in v9fs_dentry_delete()
67 static int v9fs_cached_dentry_delete(const struct dentry *dentry) in v9fs_cached_dentry_delete()
84 static void v9fs_dentry_release(struct dentry *dentry) in v9fs_dentry_release()
103 static int v9fs_lookup_revalidate(struct dentry *dentry, struct nameidata *nd) in v9fs_lookup_revalidate()
/linux-3.3/fs/ceph/
Ddir.c36 int ceph_init_dentry(struct dentry *dentry) in ceph_init_dentry()
74 struct inode *ceph_get_dentry_parent_inode(struct dentry *dentry) in ceph_get_dentry_parent_inode()
122 struct dentry *dentry, *last; in __dcache_readdir() local
511 struct dentry *dentry, int err) in ceph_handle_snapdir()
543 struct dentry *dentry, int err) in ceph_finish_lookup()
568 static int is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry()
578 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup()
649 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create()
668 static int ceph_mknod(struct inode *dir, struct dentry *dentry, in ceph_mknod()
702 static int ceph_create(struct inode *dir, struct dentry *dentry, umode_t mode, in ceph_create()
[all …]
/linux-3.3/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, struct nameidata *nd) 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_create(struct inode *dir, struct dentry *dentry, umode_t mode, in minix_create()
63 static int minix_symlink(struct inode * dir, struct dentry *dentry, in minix_symlink()
93 struct dentry *dentry) in minix_link()
106 static int minix_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode) in minix_mkdir()
145 static int minix_unlink(struct inode * dir, struct dentry *dentry) in minix_unlink()
166 static int minix_rmdir(struct inode * dir, struct dentry *dentry) in minix_rmdir()
/linux-3.3/fs/ufs/
Dnamei.c37 static inline int ufs_add_nondir(struct dentry *dentry, struct inode *inode) in ufs_add_nondir()
49 static struct dentry *ufs_lookup(struct inode * dir, struct dentry *dentry, struct nameidata *nd) in ufs_lookup()
73 static int ufs_create (struct inode * dir, struct dentry * dentry, umode_t mode, in ufs_create()
97 static int ufs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ufs_mknod()
118 static int ufs_symlink (struct inode * dir, struct dentry * dentry, in ufs_symlink()
163 struct dentry *dentry) in ufs_link()
183 static int ufs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ufs_mkdir()
228 static int ufs_unlink(struct inode *dir, struct dentry *dentry) in ufs_unlink()
250 static int ufs_rmdir (struct inode * dir, struct dentry *dentry) in ufs_rmdir()
/linux-3.3/fs/ext2/
Dnamei.c40 static inline int ext2_add_nondir(struct dentry *dentry, struct inode *inode) in ext2_add_nondir()
58 static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, struct nameidata *nd) in ext2_lookup()
97 static int ext2_create (struct inode * dir, struct dentry * dentry, umode_t mode, struct nameidata … in ext2_create()
122 static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev) in ext2_mknod()
145 static int ext2_symlink (struct inode * dir, struct dentry * dentry, in ext2_symlink()
193 struct dentry *dentry) in ext2_link()
217 static int ext2_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode) in ext2_mkdir()
266 static int ext2_unlink(struct inode * dir, struct dentry *dentry) in ext2_unlink()
290 static int ext2_rmdir (struct inode * dir, struct dentry *dentry) in ext2_rmdir()
/linux-3.3/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()
156 static int exofs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in exofs_mkdir()
198 static int exofs_unlink(struct inode *dir, struct dentry *dentry) in exofs_unlink()
220 static int exofs_rmdir(struct inode *dir, struct dentry *dentry) in exofs_rmdir()
/linux-3.3/fs/affs/
Dnamei.c89 affs_hash_dentry(const struct dentry *dentry, const struct inode *inode, in affs_hash_dentry()
95 affs_intl_hash_dentry(const struct dentry *dentry, const struct inode *inode, in affs_intl_hash_dentry()
135 const struct dentry *dentry, const struct inode *inode, in affs_compare_dentry()
142 const struct dentry *dentry, const struct inode *inode, in affs_intl_compare_dentry()
153 affs_match(struct dentry *dentry, const u8 *name2, toupper_t toupper) in affs_match()
185 affs_find_entry(struct inode *dir, struct dentry *dentry) in affs_find_entry()
214 affs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) in affs_lookup()
248 affs_unlink(struct inode *dir, struct dentry *dentry) in affs_unlink()
258 affs_create(struct inode *dir, struct dentry *dentry, umode_t mode, struct nameidata *nd) in affs_create()
288 affs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in affs_mkdir()
[all …]
/linux-3.3/fs/ecryptfs/
Dinode.c39 static struct dentry *lock_parent(struct dentry *dentry) in lock_parent()
135 struct dentry *dentry, struct super_block *sb) in ecryptfs_interpose()
279 static int ecryptfs_i_size_read(struct dentry *dentry, struct inode *inode) in ecryptfs_i_size_read()
313 static int ecryptfs_lookup_interpose(struct dentry *dentry, in ecryptfs_lookup_interpose()
478 static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry) in ecryptfs_unlink()
503 static int ecryptfs_symlink(struct inode *dir, struct dentry *dentry, in ecryptfs_symlink()
543 static int ecryptfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in ecryptfs_mkdir()
567 static int ecryptfs_rmdir(struct inode *dir, struct dentry *dentry) in ecryptfs_rmdir()
591 ecryptfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) in ecryptfs_mknod()
658 static int ecryptfs_readlink_lower(struct dentry *dentry, char **buf, in ecryptfs_readlink_lower()
[all …]
/linux-3.3/fs/reiserfs/
Dxattr.c62 static int xattr_create(struct inode *dir, struct dentry *dentry, int mode) in xattr_create()
69 static int xattr_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in xattr_mkdir()
79 static int xattr_unlink(struct inode *dir, struct dentry *dentry) in xattr_unlink()
94 static int xattr_rmdir(struct inode *dir, struct dentry *dentry) in xattr_rmdir()
184 struct dentry *dentry; in fill_with_dentries() local
221 int (*action)(struct dentry *, void *), in reiserfs_for_each_xattr()
258 struct dentry *dentry = buf.dentries[i]; in reiserfs_for_each_xattr() local
307 static int delete_one_xattr(struct dentry *dentry, void *data) in delete_one_xattr()
318 static int chown_one_xattr(struct dentry *dentry, void *data) in chown_one_xattr()
434 struct dentry *dentry, *xadir; in lookup_and_delete_xattr() local
[all …]
/linux-3.3/net/sunrpc/
Drpc_pipe.c460 static int rpc_delete_dentry(const struct dentry *dentry) in rpc_delete_dentry()
489 static int __rpc_create_common(struct inode *dir, struct dentry *dentry, in __rpc_create_common()
514 static int __rpc_create(struct inode *dir, struct dentry *dentry, in __rpc_create()
528 static int __rpc_mkdir(struct inode *dir, struct dentry *dentry, in __rpc_mkdir()
543 static int __rpc_mkpipe(struct inode *dir, struct dentry *dentry, in __rpc_mkpipe()
565 static int __rpc_rmdir(struct inode *dir, struct dentry *dentry) in __rpc_rmdir()
576 static int __rpc_unlink(struct inode *dir, struct dentry *dentry) in __rpc_unlink()
587 static int __rpc_rmpipe(struct inode *dir, struct dentry *dentry) in __rpc_rmpipe()
602 struct dentry *dentry; in __rpc_lookup_create() local
621 struct dentry *dentry; in __rpc_lookup_create_exclusive() local
[all …]
/linux-3.3/fs/debugfs/
Dinode.c71 static int debugfs_mknod(struct inode *dir, struct dentry *dentry, in debugfs_mknod()
90 static int debugfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode, in debugfs_mkdir()
104 static int debugfs_link(struct inode *dir, struct dentry *dentry, umode_t mode, in debugfs_link()
111 static int debugfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in debugfs_create()
123 static inline int debugfs_positive(struct dentry *dentry) in debugfs_positive()
151 struct dentry **dentry, in debugfs_create_by_name()
221 struct dentry *dentry = NULL; in debugfs_create_file() local
310 static int __debugfs_remove(struct dentry *dentry, struct dentry *parent) in __debugfs_remove()
349 void debugfs_remove(struct dentry *dentry) in debugfs_remove()
381 void debugfs_remove_recursive(struct dentry *dentry) in debugfs_remove_recursive()
[all …]
/linux-3.3/fs/cachefiles/
Dxattr.c31 struct dentry *dentry = object->dentry; in cachefiles_check_object_type() local
109 struct dentry *dentry = object->dentry; in cachefiles_set_object_xattr() local
138 struct dentry *dentry = object->dentry; in cachefiles_update_object_xattr() local
169 struct dentry *dentry = object->dentry; in cachefiles_check_object_xattr() local
275 struct dentry *dentry) in cachefiles_remove_object_xattr()
/linux-3.3/fs/ocfs2/
Ddcache.c43 void ocfs2_dentry_attach_gen(struct dentry *dentry) in ocfs2_dentry_attach_gen()
52 static int ocfs2_dentry_revalidate(struct dentry *dentry, in ocfs2_dentry_revalidate()
129 static int ocfs2_match_dentry(struct dentry *dentry, in ocfs2_match_dentry()
174 struct dentry *dentry = NULL; in ocfs2_find_local_alias() local
233 int ocfs2_dentry_attach_lock(struct dentry *dentry, in ocfs2_dentry_attach_lock()
455 static void ocfs2_dentry_iput(struct dentry *dentry, struct inode *inode) in ocfs2_dentry_iput()
507 void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, in ocfs2_dentry_move()
/linux-3.3/fs/nfsd/
Dnfsfh.c26 static int nfsd_acceptable(void *expv, struct dentry *dentry) in nfsd_acceptable()
102 struct dentry *dentry, struct svc_export *exp) in check_pseudo_root()
141 struct dentry *dentry; in nfsd_set_fh_dentry() local
299 struct dentry *dentry; in fh_verify() local
385 struct dentry *dentry) in _fh_update()
404 static inline void _fh_update_old(struct dentry *dentry, in _fh_update_old()
505 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose()
591 struct dentry *dentry; in fh_update() local
627 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
/linux-3.3/fs/nilfs2/
Dnamei.c49 static inline int nilfs_add_nondir(struct dentry *dentry, struct inode *inode) in nilfs_add_nondir()
66 nilfs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) in nilfs_lookup()
87 static int nilfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, in nilfs_create()
115 nilfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) in nilfs_mknod()
142 static int nilfs_symlink(struct inode *dir, struct dentry *dentry, in nilfs_symlink()
190 struct dentry *dentry) in nilfs_link()
216 static int nilfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in nilfs_mkdir()
271 static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry) in nilfs_do_unlink()
305 static int nilfs_unlink(struct inode *dir, struct dentry *dentry) in nilfs_unlink()
326 static int nilfs_rmdir(struct inode *dir, struct dentry *dentry) in nilfs_rmdir()
[all …]
/linux-3.3/fs/configfs/
Ddir.c53 static void configfs_d_iput(struct dentry * dentry, in configfs_d_iput()
73 static int configfs_d_delete(const struct dentry *dentry) in configfs_d_delete()
227 struct dentry * dentry, void * element, in configfs_make_dirent()
305 static int configfs_create_dir(struct config_item * item, struct dentry *dentry) in configfs_create_dir()
365 struct dentry *dentry) in configfs_create_link()
418 struct dentry * dentry = dget(item->ci_dentry); in configfs_remove_dir() local
434 static int configfs_attach_attr(struct configfs_dirent * sd, struct dentry * dentry) in configfs_attach_attr()
454 struct dentry *dentry, in configfs_lookup()
510 static int configfs_detach_prep(struct dentry *dentry, struct mutex **wait_mutex) in configfs_detach_prep()
557 static void configfs_detach_rollback(struct dentry *dentry) in configfs_detach_rollback()
[all …]
/linux-3.3/fs/xfs/
Dxfs_iops.c142 struct dentry *dentry) in xfs_dentry_to_name()
152 struct dentry *dentry) in xfs_cleanup_inode()
170 struct dentry *dentry, in xfs_vn_mknod()
233 struct dentry *dentry, in xfs_vn_create()
243 struct dentry *dentry, in xfs_vn_mkdir()
252 struct dentry *dentry, in xfs_vn_lookup()
277 struct dentry *dentry, in xfs_vn_ci_lookup()
318 struct dentry *dentry) in xfs_vn_link()
338 struct dentry *dentry) in xfs_vn_unlink()
362 struct dentry *dentry, in xfs_vn_symlink()
[all …]

12345678910>>...16