Home
last modified time | relevance | path

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

12345678910>>...17

/linux/include/linux/
H A Ddcache.h92 struct dentry { struct
95 seqcount_spinlock_t d_seq; /* per dentry seqlock */ argument
97 struct dentry *d_parent; /* parent directory */ argument
105 const struct dentry_operations *d_op; argument
106 struct super_block *d_sb; /* The root of the dentry tree */ argument
110 struct lockref d_lockref; /* per-dentry lock and refcount argument
132 * dentry->d_lock spinlock nesting subclasses: argument
288 static inline unsigned d_count(const struct dentry *dentry) in d_count()
319 static inline struct dentry *dget_dlock(struct dentry *dentry) in dget_dlock()
344 static inline struct dentry *dget(struct dentry *dentry) in dget()
[all …]
H A Dfsnotify.h58 static inline void fsnotify_dirent(struct inode *dir, struct dentry *dentry, in fsnotify_dirent() argument
76 static inline int fsnotify_parent(struct dentry *dentry, __u32 mask, in fsnotify_parent() argument
106 fsnotify_dentry(struct dentry * dentry,__u32 mask) fsnotify_dentry() argument
344 fsnotify_create(struct inode * dir,struct dentry * dentry) fsnotify_create() argument
377 fsnotify_delete(struct inode * dir,struct inode * inode,struct dentry * dentry) fsnotify_delete() argument
395 d_delete_notify(struct inode * dir,struct dentry * dentry) d_delete_notify() argument
410 fsnotify_unlink(struct inode * dir,struct dentry * dentry) fsnotify_unlink() argument
425 fsnotify_mkdir(struct inode * dir,struct dentry * dentry) fsnotify_mkdir() argument
437 fsnotify_rmdir(struct inode * dir,struct dentry * dentry) fsnotify_rmdir() argument
488 fsnotify_xattr(struct dentry * dentry) fsnotify_xattr() argument
497 fsnotify_change(struct dentry * dentry,unsigned int ia_valid) fsnotify_change() argument
[all...]
/linux/fs/
H A Ddcache.c301 static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount) in dentry_cmp()
336 static inline struct external_name *external_name(struct dentry *dentry) in external_name()
343 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free() local
350 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); in __d_free_external() local
355 static inline int dname_external(const struct dentry *dentry) in dname_external()
360 void take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry) in take_dentry_name_snapshot()
400 static inline void __d_set_inode_and_type(struct dentry *dentry, in __d_set_inode_and_type()
413 static inline void __d_clear_type_and_inode(struct dentry *dentry) in __d_clear_type_and_inode()
428 static void dentry_free(struct dentry *dentry) in dentry_free()
449 static void dentry_unlink_inode(struct dentry * dentry) in dentry_unlink_inode()
[all …]
H A Dlibfs.c43 int simple_statfs(struct dentry *dentry, struct kstatfs *buf) in simple_statfs()
59 int always_delete_dentry(const struct dentry *dentry) in always_delete_dentry()
69 struct dentry *simple_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in simple_lookup()
113 struct dentry *dentry = cursor->d_parent, *found = NULL; in scan_positives() local
148 struct dentry *dentry = file->f_path.dentry; in dcache_dir_lseek() local
192 struct dentry *dentry = file->f_path.dentry; in dcache_readdir() local
257 static void offset_set(struct dentry *dentry, long offset) in offset_set()
262 static long dentry2offset(struct dentry *dentry) in dentry2offset()
289 int simple_offset_add(struct offset_ctx *octx, struct dentry *dentry) in simple_offset_add()
307 static int simple_offset_replace(struct offset_ctx *octx, struct dentry *dentry, in simple_offset_replace()
[all …]
/linux/fs/overlayfs/
H A Dutil.c22 int ovl_get_write_access(struct dentry *dentry) in ovl_get_write_access()
29 void ovl_start_write(struct dentry *dentry) in ovl_start_write()
35 int ovl_want_write(struct dentry *dentry) in ovl_want_write()
41 void ovl_put_write_access(struct dentry *dentry) in ovl_put_write_access()
47 void ovl_end_write(struct dentry *dentry) in ovl_end_write()
53 void ovl_drop_write(struct dentry *dentry) in ovl_drop_write()
59 struct dentry *ovl_workdir(struct dentry *dentry) in ovl_workdir()
166 bool ovl_dentry_remote(struct dentry *dentry) in ovl_dentry_remote()
171 void ovl_dentry_update_reval(struct dentry *dentry, struct dentry *realdentry) in ovl_dentry_update_reval()
181 void ovl_dentry_init_reval(struct dentry *dentry, struct dentry *upperdentry, in ovl_dentry_init_reval()
[all …]
H A Ddir.c132 struct dentry *dentry) in ovl_cleanup_and_whiteout()
235 static int ovl_set_opaque_xerr(struct dentry *dentry, struct dentry *upper, in ovl_set_opaque_xerr()
248 static int ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) in ovl_set_opaque()
263 static int ovl_instantiate(struct dentry *dentry, struct inode *inode, in ovl_instantiate()
315 static bool ovl_type_merge(struct dentry *dentry) in ovl_type_merge()
320 static bool ovl_type_origin(struct dentry *dentry) in ovl_type_origin()
325 static int ovl_create_upper(struct dentry *dentry, struct inode *inode, in ovl_create_upper()
361 static struct dentry *ovl_clear_empty(struct dentry *dentry, in ovl_clear_empty()
441 static int ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode, in ovl_create_over_whiteout()
551 static const struct cred *ovl_setup_cred_for_create(struct dentry *dentry, in ovl_setup_cred_for_create()
[all …]
H A Dnamei.c19 struct dentry *dentry; member
72 static int ovl_acceptable(void *ctx, struct dentry *dentry) in ovl_acceptable()
354 struct dentry *dentry = NULL; in ovl_lookup_layer() local
390 static int ovl_lookup_data_layer(struct dentry *dentry, const char *redirect, in ovl_lookup_data_layer()
423 static int ovl_lookup_data_layers(struct dentry *dentry, const char *redirect, in ovl_lookup_data_layers()
522 static int ovl_verify_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_fh()
541 int ovl_verify_set_fh(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_set_fh()
562 int ovl_verify_origin_xattr(struct ovl_fs *ofs, struct dentry *dentry, in ovl_verify_origin_xattr()
896 int ovl_path_next(int idx, struct dentry *dentry, struct path *path, in ovl_path_next()
920 static int ovl_fix_origin(struct ovl_fs *ofs, struct dentry *dentry, in ovl_fix_origin()
[all …]
/linux/security/integrity/evm/
H A Devm_main.c131 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs()
154 static int is_unsupported_hmac_fs(struct dentry *dentry) in is_unsupported_hmac_fs()
178 static enum integrity_status evm_verify_hmac(struct dentry *dentry, in evm_verify_hmac()
351 int evm_read_protected_xattrs(struct dentry *dentry, u8 *buffer, in evm_read_protected_xattrs()
421 enum integrity_status evm_verifyxattr(struct dentry *dentry, in evm_verifyxattr()
440 static enum integrity_status evm_verify_current_integrity(struct dentry *dentry) in evm_verify_current_integrity()
462 struct dentry *dentry, const char *xattr_name, in evm_xattr_change()
498 struct dentry *dentry, const char *xattr_name, in evm_protect_xattr()
587 static int evm_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, in evm_inode_setxattr()
619 static int evm_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, in evm_inode_removexattr()
[all …]
/linux/fs/ecryptfs/
H A Dinode.c27 static int lock_parent(struct dentry *dentry, in lock_parent()
126 struct dentry *dentry, struct super_block *sb) in ecryptfs_interpose()
137 static int ecryptfs_do_unlink(struct inode *dir, struct dentry *dentry, in ecryptfs_do_unlink()
293 static int ecryptfs_i_size_read(struct dentry *dentry, struct inode *inode) in ecryptfs_i_size_read()
327 static struct dentry *ecryptfs_lookup_interpose(struct dentry *dentry, in ecryptfs_lookup_interpose()
464 static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry) in ecryptfs_unlink()
470 struct inode *dir, struct dentry *dentry, in ecryptfs_symlink()
509 struct dentry *dentry, umode_t mode) in ecryptfs_mkdir()
540 static int ecryptfs_rmdir(struct inode *dir, struct dentry *dentry) in ecryptfs_rmdir()
568 struct dentry *dentry, umode_t mode, dev_t dev) in ecryptfs_mknod()
[all …]
/linux/fs/ceph/
H A Ddir.c39 static int ceph_d_init(struct dentry *dentry) in ceph_d_init()
136 struct dentry *dentry; in __dcache_find_get_entry() local
194 struct dentry *dentry, *last = NULL; in __dcache_readdir() local
346 struct dentry *dentry = file->f_path.dentry; in ceph_readdir() local
723 struct dentry *dentry) in ceph_handle_snapdir()
757 struct dentry *dentry, int err) in ceph_finish_lookup()
785 static bool is_root_ceph_dentry(struct inode *inode, struct dentry *dentry) in is_root_ceph_dentry()
795 static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry, in ceph_lookup()
888 int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry) in ceph_handle_notrace_create()
912 struct dentry *dentry, umode_t mode, dev_t rdev) in ceph_mknod()
[all …]
/linux/fs/9p/
H A Dvfs_dentry.c31 static int v9fs_cached_dentry_delete(const struct dentry *dentry) in v9fs_cached_dentry_delete()
48 static void v9fs_dentry_release(struct dentry *dentry) in v9fs_dentry_release()
64 static int __v9fs_lookup_revalidate(struct dentry *dentry, unsigned int flags) in __v9fs_lookup_revalidate()
103 struct dentry *dentry, unsigned int flags) in v9fs_lookup_revalidate()
108 static bool v9fs_dentry_unalias_trylock(const struct dentry *dentry) in v9fs_dentry_unalias_trylock()
114 static void v9fs_dentry_unalias_unlock(const struct dentry *dentry) in v9fs_dentry_unalias_unlock()
H A Dfid.c21 static inline void __add_fid(struct dentry *dentry, struct p9_fid *fid) in __add_fid()
33 void v9fs_fid_add(struct dentry *dentry, struct p9_fid **pfid) in v9fs_fid_add()
113 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any) in v9fs_fid_find()
147 struct dentry *dentry, const unsigned char ***names) in build_path_from_dentry()
169 static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry, in v9fs_fid_lookup_with_uid()
287 struct p9_fid *v9fs_fid_lookup(struct dentry *dentry) in v9fs_fid_lookup()
/linux/fs/ocfs2/
H A Ddcache.c26 void ocfs2_dentry_attach_gen(struct dentry *dentry) in ocfs2_dentry_attach_gen()
36 struct dentry *dentry, unsigned int flags) in ocfs2_dentry_revalidate()
108 static int ocfs2_match_dentry(struct dentry *dentry, in ocfs2_match_dentry()
145 struct dentry *dentry; in ocfs2_find_local_alias() local
199 int ocfs2_dentry_attach_lock(struct dentry *dentry, in ocfs2_dentry_attach_lock()
379 static void ocfs2_dentry_iput(struct dentry *dentry, struct inode *inode) in ocfs2_dentry_iput()
429 void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, in ocfs2_dentry_move()
/linux/fs/configfs/
H A Ddir.c45 static void configfs_d_iput(struct dentry * dentry, in configfs_d_iput()
232 static int configfs_dirent_exists(struct dentry *dentry) in configfs_dirent_exists()
253 struct dentry * dentry, void * element, in configfs_make_dirent()
270 static void configfs_remove_dirent(struct dentry *dentry) in configfs_remove_dirent()
292 static int configfs_create_dir(struct config_item *item, struct dentry *dentry, in configfs_create_dir()
369 struct dentry *dentry, char *body) in configfs_create_link()
424 struct dentry * dentry = dget(item->ci_dentry); in configfs_remove_dir() local
437 struct dentry *dentry, in configfs_lookup()
510 static int configfs_detach_prep(struct dentry *dentry, struct dentry **wait) in configfs_detach_prep()
557 static void configfs_detach_rollback(struct dentry *dentry) in configfs_detach_rollback()
[all …]
/linux/fs/xfs/
H A Dxfs_iops.c98 struct dentry *dentry) in xfs_dentry_to_name()
108 struct dentry *dentry, in xfs_dentry_mode_to_name()
125 struct dentry *dentry) in xfs_cleanup_inode()
174 struct dentry *dentry, in xfs_generic_create()
284 struct dentry *dentry, in xfs_vn_mknod()
295 struct dentry *dentry, in xfs_vn_create()
306 struct dentry *dentry, in xfs_vn_mkdir()
315 struct dentry *dentry, in xfs_vn_lookup()
340 struct dentry *dentry, in xfs_vn_ci_lookup()
381 struct dentry *dentry) in xfs_vn_link()
[all …]
/linux/fs/ntfs3/
H A Dnamei.c67 static struct dentry *ntfs_lookup(struct inode *dir, struct dentry *dentry, in ntfs_lookup()
108 struct dentry *dentry, umode_t mode, bool excl) in ntfs_create()
118 struct dentry *dentry, umode_t mode, dev_t rdev) in ntfs_mknod()
169 static int ntfs_unlink(struct inode *dir, struct dentry *dentry) in ntfs_unlink()
194 struct dentry *dentry, const char *symname) in ntfs_symlink()
213 struct dentry *dentry, umode_t mode) in ntfs_mkdir()
222 static int ntfs_rmdir(struct inode *dir, struct dentry *dentry) in ntfs_rmdir()
247 struct dentry *dentry, struct inode *new_dir, in ntfs_rename()
381 static int ntfs_d_hash(const struct dentry *dentry, struct qstr *name) in ntfs_d_hash()
439 static int ntfs_d_compare(const struct dentry *dentry, unsigned int len1, in ntfs_d_compare()
/linux/fs/debugfs/
H A Dinode.c46 struct dentry *dentry, struct iattr *ia) in debugfs_setattr()
245 static void debugfs_release_dentry(struct dentry *dentry) in debugfs_release_dentry()
350 struct dentry *dentry; in debugfs_lookup() local
367 struct dentry *dentry; in start_creating() local
405 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating()
413 static struct dentry *end_creating(struct dentry *dentry) in end_creating()
425 struct dentry *dentry; in __debugfs_create_file() local
580 struct dentry *dentry = start_creating(name, parent); in debugfs_create_dir() local
627 struct dentry *dentry = start_creating(name, parent); in debugfs_create_automount() local
684 struct dentry *dentry; in debugfs_create_symlink() local
[all …]
/linux/fs/exfat/
H A Dnamei.c15 static inline unsigned long exfat_d_version(struct dentry *dentry) in exfat_d_version()
20 static inline void exfat_d_version_set(struct dentry *dentry, in exfat_d_version_set()
35 struct dentry *dentry, unsigned int flags) in exfat_d_revalidate()
79 static int exfat_d_hash(const struct dentry *dentry, struct qstr *qstr) in exfat_d_hash()
101 static int exfat_d_cmp(const struct dentry *dentry, unsigned int len, in exfat_d_cmp()
136 static int exfat_utf8_d_hash(const struct dentry *dentry, struct qstr *qstr) in exfat_utf8_d_hash()
162 static int exfat_utf8_d_cmp(const struct dentry *dentry, unsigned int len, in exfat_utf8_d_cmp()
207 int i, dentry, ret; in exfat_search_empty_slot() local
307 int dentry; in exfat_find_empty_entry() local
470 int ret, dentry, num_entries; in exfat_add_entry() local
[all …]
/linux/fs/tracefs/
H A Dinode.c97 static char *get_dname(struct dentry *dentry) in get_dname()
113 struct inode *inode, struct dentry *dentry, in tracefs_syscall_mkdir()
147 static int tracefs_syscall_rmdir(struct inode *inode, struct dentry *dentry) in tracefs_syscall_rmdir()
233 static int tracefs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, in tracefs_setattr()
454 static void tracefs_d_release(struct dentry *dentry) in tracefs_d_release()
461 struct dentry *dentry, unsigned int flags) in tracefs_d_revalidate()
468 static int tracefs_d_delete(const struct dentry *dentry) in tracefs_d_delete()
547 struct dentry *dentry; in tracefs_start_creating() local
572 struct dentry *tracefs_failed_creating(struct dentry *dentry) in tracefs_failed_creating()
580 struct dentry *tracefs_end_creating(struct dentry *dentry) in tracefs_end_creating()
[all …]
/linux/fs/nfs/
H A Ddir.c641 int nfs_same_file(struct dentry *dentry, struct nfs_entry *entry) in nfs_same_file()
731 struct dentry *dentry; in nfs_prime_dcache() local
1225 struct dentry *dentry = file_dentry(file); in nfs_readdir() local
1430 static bool nfs_verifier_is_delegated(struct dentry *dentry) in nfs_verifier_is_delegated()
1435 static void nfs_set_verifier_locked(struct dentry *dentry, unsigned long verf) in nfs_set_verifier_locked()
1457 void nfs_set_verifier(struct dentry *dentry, unsigned long verf) in nfs_set_verifier()
1494 static int nfs_dentry_verify_change(struct inode *dir, struct dentry *dentry) in nfs_dentry_verify_change()
1508 static int nfs_check_verifier(struct inode *dir, struct dentry *dentry, in nfs_check_verifier()
1613 int nfs_neg_need_reval(struct inode *dir, struct dentry *dentry, in nfs_neg_need_reval()
1627 nfs_lookup_revalidate_done(struct inode *dir, struct dentry *dentry, in nfs_lookup_revalidate_done()
[all …]
/linux/fs/exportfs/
H A Dexpfs.c44 int (*acceptable)(void *context, struct dentry *dentry), in find_acceptable_alias()
47 struct dentry *dentry, *toput = NULL; in find_acceptable_alias() local
74 static bool dentry_connected(struct dentry *dentry) in dentry_connected()
91 static void clear_disconnected(struct dentry *dentry) in clear_disconnected()
122 struct dentry *dentry, char *nbuf) in reconnect_one()
212 struct dentry *dentry, *parent; in reconnect_path() local
414 int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, int *max_len, in exportfs_encode_fh()
440 int (*acceptable)(void *, struct dentry *), in exportfs_decode_fh_raw()
593 int (*acceptable)(void *, struct dentry *), in exportfs_decode_fh()
/linux/security/integrity/ima/
H A Dima_appraise.c88 static int ima_fix_xattr(struct dentry *dentry, struct ima_iint_cache *iint) in ima_fix_xattr()
225 int ima_read_xattr(struct dentry *dentry, in ima_read_xattr()
500 struct dentry *dentry = file_dentry(file); in ima_appraise_measurement() local
630 struct dentry *dentry = file_dentry(file); in ima_update_xattr() local
662 struct dentry *dentry, int ia_valid) in ima_inode_post_setattr()
686 static int ima_protect_xattr(struct dentry *dentry, const char *xattr_name, in ima_protect_xattr()
728 static int validate_hash_algo(struct dentry *dentry, in validate_hash_algo()
775 static int ima_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_setxattr()
806 static int ima_inode_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_set_acl()
815 static int ima_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, in ima_inode_removexattr()
[all …]
/linux/fs/nfsd/
H A Dnfsfh.c28 static int nfsd_acceptable(void *expv, struct dentry *dentry) in nfsd_acceptable()
65 nfsd_mode_check(struct dentry *dentry, umode_t requested) in nfsd_mode_check()
118 static inline __be32 check_pseudo_root(struct dentry *dentry, in check_pseudo_root()
154 struct dentry *dentry; in nfsd_set_fh_dentry() local
325 struct dentry *dentry; in __fh_verify() local
464 struct dentry *dentry) in _fh_update()
573 fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, in fh_compose()
641 struct dentry *dentry; in fh_update() local
749 struct dentry * dentry = fhp->fh_dentry; in fh_put() local
/linux/fs/crypto/
H A Dhooks.c35 struct dentry *dentry, *dentry_parent; in fscrypt_file_open() local
75 struct dentry *dentry) in __fscrypt_prepare_link()
119 int __fscrypt_prepare_lookup(struct inode *dir, struct dentry *dentry, in __fscrypt_prepare_lookup()
150 int fscrypt_prepare_lookup_partial(struct inode *dir, struct dentry *dentry) in fscrypt_prepare_lookup_partial()
167 int __fscrypt_prepare_setattr(struct dentry *dentry, struct iattr *attr) in __fscrypt_prepare_setattr()
453 struct dentry *dentry = path->dentry; in fscrypt_symlink_getattr() local
/linux/fs/efivarfs/
H A Dinode.c78 struct dentry *dentry, umode_t mode, bool excl) in efivarfs_create()
122 static int efivarfs_unlink(struct inode *dir, struct dentry *dentry) in efivarfs_unlink()
141 efivarfs_fileattr_get(struct dentry *dentry, struct file_kattr *fa) in efivarfs_fileattr_get()
157 struct dentry *dentry, struct file_kattr *fa) in efivarfs_fileattr_set()
176 static int efivarfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, in efivarfs_setattr()

12345678910>>...17