Home
last modified time | relevance | path

Searched refs:dentry (Results 1 – 25 of 1883) sorted by relevance

12345678910>>...76

/linux-6.15/include/linux/
H A Ddcache.h236 extern void __d_drop(struct dentry *dentry);
237 extern void d_drop(struct dentry *dentry);
248 extern bool d_same_name(const struct dentry *dentry, const struct dentry *parent,
281 extern struct dentry *d_ancestor(struct dentry *, struct dentry *);
291 ino_t d_parent_ino(struct dentry *dentry);
317 static inline struct dentry *dget_dlock(struct dentry *dentry) in dget_dlock() argument
342 static inline struct dentry *dget(struct dentry *dentry) in dget() argument
349 extern struct dentry *dget_parent(struct dentry *dentry);
569 static inline struct dentry *d_real(struct dentry *dentry, enum d_real_type type) in d_real() argument
597 static inline struct dentry *d_first_child(const struct dentry *dentry) in d_first_child() argument
[all …]
H A Ddebugfs.h78 struct dentry *debugfs_lookup(const char *name, struct dentry *parent);
150 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
152 struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent,
160 void debugfs_remove(struct dentry *dentry);
168 int debugfs_file_get(struct dentry *dentry);
169 void debugfs_file_put(struct dentry *dentry);
322 static inline void debugfs_remove(struct dentry *dentry) in debugfs_remove() argument
325 static inline void debugfs_remove_recursive(struct dentry *dentry) in debugfs_remove_recursive() argument
335 static inline int debugfs_file_get(struct dentry *dentry) in debugfs_file_get() argument
340 static inline void debugfs_file_put(struct dentry *dentry) in debugfs_file_put() argument
[all …]
H A Dnamei.h57 struct dentry *base,
73 extern struct dentry *try_lookup_one_len(const char *, struct dentry *, int);
74 extern struct dentry *lookup_one_len(const char *, struct dentry *, int);
75 extern struct dentry *lookup_one_len_unlocked(const char *, struct dentry *, int);
76 extern struct dentry *lookup_positive_unlocked(const char *, struct dentry *, int);
77 struct dentry *lookup_one(struct mnt_idmap *, const char *, struct dentry *, int);
79 const char *name, struct dentry *base,
83 struct dentry *base, int len);
89 extern struct dentry *lock_rename(struct dentry *, struct dentry *);
90 extern struct dentry *lock_rename_child(struct dentry *, struct dentry *);
[all …]
/linux-6.15/fs/
H A Ddcache.c938 struct dentry *dget_parent(struct dentry *dentry) in dget_parent() argument
1087 struct dentry *dentry; in d_prune_aliases() local
1116 struct dentry *dentry; in shrink_dentry_list() local
1606 struct dentry *dentry; in shrink_dcache_for_umount() local
1677 struct dentry *dentry; in __d_alloc() local
2172 struct dentry *dentry; in __d_lookup_rcu_op_compare() local
2236 struct dentry *dentry; in __d_lookup_rcu() local
2309 struct dentry *dentry; in d_lookup() local
2343 struct dentry *dentry; in __d_lookup() local
3092 struct dentry *dentry = file->f_path.dentry; in d_mark_tmpfile() local
[all …]
H A Dlibfs.c151 struct dentry *dentry = file->f_path.dentry; in dcache_dir_lseek() local
195 struct dentry *dentry = file->f_path.dentry; in dcache_readdir() local
462 struct dentry *dentry, in find_positive_dentry() argument
469 dentry = d_next_sibling(dentry); in find_positive_dentry()
517 struct dentry *dentry; in offset_iterate_dir() local
1007 struct dentry *dentry; in simple_fill_super() local
2118 struct dentry *dentry; in stashed_dentry_get() local
2133 struct dentry *dentry; in prepare_anon_dentry() local
2173 struct dentry *dentry) in stash_dentry() argument
2214 struct dentry *dentry; in path_from_stashed() local
[all …]
H A Dnamei.c946 struct dentry *dentry = nd->path.dentry; in complete_walk() local
1434 struct dentry *dentry = path->dentry; in follow_automount() local
1571 struct dentry *dentry = path->dentry; in __follow_mount_rcu() local
1620 path->dentry = dentry; in handle_mounts()
1627 path->dentry = dentry; in handle_mounts()
1672 struct dentry *dentry; in lookup_one_qstr_excl_raw() local
1709 struct dentry *dentry; in lookup_one_qstr_excl() local
1742 struct dentry *dentry, *parent = nd->path.dentry; in lookup_fast() local
2123 struct dentry *dentry; in walk_component() local
2944 struct dentry *dentry; in lookup_one_len() local
[all …]
/linux-6.15/fs/overlayfs/
H A Doverlayfs.h216 struct dentry *dentry) in ovl_do_unlink() argument
246 struct dentry *dentry, in ovl_do_mkdir() argument
423 struct dentry *ovl_workdir(struct dentry *dentry);
456 struct dentry *ovl_dentry_upper(struct dentry *dentry);
457 struct dentry *ovl_dentry_lower(struct dentry *dentry);
458 struct dentry *ovl_dentry_lowerdata(struct dentry *dentry);
462 struct dentry *ovl_dentry_real(struct dentry *dentry);
529 int ovl_set_impure(struct dentry *dentry, struct dentry *upperdentry);
691 struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry,
830 struct dentry *dentry);
[all …]
H A Dutil.c28 void ovl_start_write(struct dentry *dentry) in ovl_start_write() argument
34 int ovl_want_write(struct dentry *dentry) in ovl_want_write() argument
46 void ovl_end_write(struct dentry *dentry) in ovl_end_write() argument
58 struct dentry *ovl_workdir(struct dentry *dentry) in ovl_workdir() argument
254 path->dentry = lowerpath->dentry; in ovl_path_lower()
306 struct dentry *ovl_dentry_upper(struct dentry *dentry) in ovl_dentry_upper() argument
311 struct dentry *ovl_dentry_lower(struct dentry *dentry) in ovl_dentry_lower() argument
331 struct dentry *ovl_dentry_lowerdata(struct dentry *dentry) in ovl_dentry_lowerdata() argument
359 struct dentry *ovl_dentry_real(struct dentry *dentry) in ovl_dentry_real() argument
375 path->dentry = lowerpath->dentry; in ovl_i_path_real()
[all …]
H A Ddir.c111 struct dentry *dentry) in ovl_cleanup_and_whiteout() argument
206 static int ovl_set_opaque_xerr(struct dentry *dentry, struct dentry *upper, in ovl_set_opaque_xerr() argument
219 static int ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) in ovl_set_opaque() argument
334 static struct dentry *ovl_clear_empty(struct dentry *dentry, in ovl_clear_empty() argument
338 struct dentry *workdir = ovl_workdir(dentry); in ovl_clear_empty()
422 struct dentry *workdir = ovl_workdir(dentry); in ovl_create_over_whiteout()
566 struct dentry *parent = dentry->d_parent; in ovl_create_or_link()
663 struct dentry *dentry, umode_t mode) in ovl_mkdir() argument
735 static bool ovl_matches_upper(struct dentry *dentry, struct dentry *upper) in ovl_matches_upper() argument
744 struct dentry *workdir = ovl_workdir(dentry); in ovl_remove_and_whiteout()
[all …]
H A Dexport.c19 static int ovl_encode_maybe_copy_up(struct dentry *dentry) in ovl_encode_maybe_copy_up() argument
72 static int ovl_connectable_layer(struct dentry *dentry) in ovl_connectable_layer() argument
77 if (dentry == dentry->d_sb->s_root) in ovl_connectable_layer()
100 static int ovl_connect_layer(struct dentry *dentry) in ovl_connect_layer() argument
107 if (WARN_ON(dentry == dentry->d_sb->s_root) || in ovl_connect_layer()
183 struct dentry *dentry; in ovl_check_encode_origin() local
335 static struct dentry *ovl_dentry_real_at(struct dentry *dentry, int idx) in ovl_dentry_real_at() argument
677 struct dentry *dentry; in ovl_upper_fh_to_d() local
699 struct dentry *dentry = NULL; in ovl_lower_fh_to_d() local
799 struct dentry *dentry = NULL; in ovl_fh_to_dentry() local
[all …]
H A Dcopy_up.c47 struct dentry *dentry, const char *acl_name) in ovl_copy_acl() argument
77 struct dentry *old = oldpath->dentry; in ovl_copy_xattr()
527 struct dentry *indexdir = ovl_indexdir(dentry->d_sb); in ovl_create_index()
580 struct dentry *dentry; member
941 struct dentry *origin = c->lowerpath.dentry; in ovl_do_copy_up()
1136 static int ovl_copy_up_one(struct dentry *parent, struct dentry *dentry, in ovl_copy_up_one() argument
1144 .dentry = dentry, in ovl_copy_up_one()
1214 static int ovl_copy_up_flags(struct dentry *dentry, int flags) in ovl_copy_up_flags() argument
1282 int ovl_maybe_copy_up(struct dentry *dentry, int flags) in ovl_maybe_copy_up() argument
1290 int ovl_copy_up_with_data(struct dentry *dentry) in ovl_copy_up_with_data() argument
[all …]
/linux-6.15/drivers/net/wireless/ti/wl1251/
H A Dwl1251.h146 struct dentry *rootdir;
153 struct dentry *rx_hw_stuck;
154 struct dentry *rx_dropped;
155 struct dentry *rx_fcs_err;
166 struct dentry *isr_fiqs;
169 struct dentry *isr_rx_rdys;
170 struct dentry *isr_irqs;
180 struct dentry *isr_pci_pm;
181 struct dentry *isr_wakeups;
189 struct dentry *wep_packets;
[all …]
/linux-6.15/fs/autofs/
H A Droot.c80 struct dentry *dentry = file->f_path.dentry; in autofs_dir_open() local
131 static struct dentry *autofs_lookup_active(struct dentry *dentry) in autofs_lookup_active() argument
134 struct dentry *parent = dentry->d_parent; in autofs_lookup_active()
185 static struct dentry *autofs_lookup_expiring(struct dentry *dentry, in autofs_lookup_expiring() argument
189 struct dentry *parent = dentry->d_parent; in autofs_lookup_expiring()
267 struct dentry *dentry = path->dentry; in do_expire_wait() local
291 struct dentry *dentry = path->dentry; in autofs_mountpoint_changed() local
316 struct dentry *parent = dentry->d_parent; in autofs_mountpoint_changed()
333 struct dentry *dentry = path->dentry; in autofs_d_automount() local
421 struct dentry *dentry = path->dentry; in autofs_d_manage() local
[all …]
H A Dexpire.c11 static inline int autofs_can_expire(struct dentry *dentry, in autofs_can_expire() argument
30 struct dentry *dentry, unsigned int how) in autofs_mount_busy() argument
32 struct dentry *top = dentry; in autofs_mount_busy()
33 struct path path = {.mnt = mnt, .dentry = dentry}; in autofs_mount_busy()
36 pr_debug("dentry %p %pd\n", dentry, dentry); in autofs_mount_busy()
74 static struct dentry *positive_after(struct dentry *p, struct dentry *child) in positive_after()
318 static struct dentry *should_expire(struct dentry *dentry, in should_expire() argument
424 struct dentry *dentry; in autofs_expire_indirect() local
491 struct dentry *dentry = path->dentry; in autofs_expire_wait() local
543 struct dentry *dentry; in autofs_expire_run() local
[all …]
/linux-6.15/fs/debugfs/
H A Dinode.c46 struct dentry *dentry, struct iattr *ia) in debugfs_setattr() argument
341 struct dentry *dentry; in debugfs_lookup() local
358 struct dentry *dentry; in start_creating() local
411 static struct dentry *failed_creating(struct dentry *dentry) in failed_creating() argument
419 static struct dentry *end_creating(struct dentry *dentry) in end_creating() argument
431 struct dentry *dentry; in __debugfs_create_file() local
465 fsnotify_create(d_inode(dentry->d_parent), dentry); in __debugfs_create_file()
612 fsnotify_mkdir(d_inode(dentry->d_parent), dentry); in debugfs_create_dir()
690 struct dentry *dentry; in debugfs_create_symlink() local
799 void debugfs_remove(struct dentry *dentry) in debugfs_remove() argument
[all …]
/linux-6.15/fs/ocfs2/
H A Ddcache.c26 void ocfs2_dentry_attach_gen(struct dentry *dentry) in ocfs2_dentry_attach_gen() argument
36 struct dentry *dentry, unsigned int flags) in ocfs2_dentry_revalidate() argument
108 static int ocfs2_match_dentry(struct dentry *dentry, in ocfs2_match_dentry() argument
145 struct dentry *dentry; in ocfs2_find_local_alias() local
157 return dentry; in ocfs2_find_local_alias()
199 int ocfs2_dentry_attach_lock(struct dentry *dentry, in ocfs2_dentry_attach_lock() argument
219 if (d_really_is_negative(dentry) && dentry->d_fsdata) { in ocfs2_dentry_attach_lock()
228 dentry, in ocfs2_dentry_attach_lock()
254 dentry, in ocfs2_dentry_attach_lock()
395 ino, dentry->d_flags, dentry); in ocfs2_dentry_iput()
[all …]
/linux-6.15/fs/exportfs/
H A Dexpfs.c44 int (*acceptable)(void *context, struct dentry *dentry), in find_acceptable_alias() argument
47 struct dentry *dentry, *toput = NULL; in find_acceptable_alias() local
60 if (dentry != result && acceptable(context, dentry)) { in find_acceptable_alias()
74 static bool dentry_connected(struct dentry *dentry) in dentry_connected() argument
76 dget(dentry); in dentry_connected()
78 struct dentry *parent = dget_parent(dentry); in dentry_connected()
87 dput(dentry); in dentry_connected()
91 static void clear_disconnected(struct dentry *dentry) in clear_disconnected() argument
95 struct dentry *parent = dget_parent(dentry); in clear_disconnected()
122 struct dentry *dentry, char *nbuf) in reconnect_one() argument
[all …]
/linux-6.15/fs/ecryptfs/
H A Dinode.c27 static int lock_parent(struct dentry *dentry, in lock_parent() argument
126 struct dentry *dentry, struct super_block *sb) in ecryptfs_interpose() argument
327 static struct dentry *ecryptfs_lookup_interpose(struct dentry *dentry, in ecryptfs_lookup_interpose() argument
468 struct inode *dir, struct dentry *dentry, in ecryptfs_symlink() argument
507 struct dentry *dentry, umode_t mode) in ecryptfs_mkdir() argument
904 struct dentry *dentry, struct iattr *ia) in ecryptfs_setattr() argument
995 struct dentry *dentry = path->dentry; in ecryptfs_getattr_link() local
1021 struct dentry *dentry = path->dentry; in ecryptfs_getattr() local
1131 struct dentry *dentry, struct fileattr *fa) in ecryptfs_fileattr_set() argument
1143 struct dentry *dentry, int type) in ecryptfs_get_acl() argument
[all …]
/linux-6.15/fs/ceph/
H A Ddir.c48 di->dentry = dentry; in ceph_d_init()
136 struct dentry *dentry; in __dcache_find_get_entry() local
269 dentry, dentry, d_inode(dentry)); in __dcache_readdir()
346 struct dentry *dentry = file->f_path.dentry; in ceph_readdir() local
724 struct dentry *dentry) in ceph_handle_snapdir() argument
808 dentry, dentry); in ceph_lookup()
1189 struct dentry *dentry) in ceph_link() argument
1257 dentry, dentry); in ceph_async_unlink_cb()
1653 dentry = di->dentry; in __dentry_leases_walk()
1700 dentry = di->dentry; in __dentry_leases_walk()
[all …]
/linux-6.15/security/integrity/evm/
H A Devm_main.c131 static int evm_find_protected_xattrs(struct dentry *dentry) in evm_find_protected_xattrs() argument
154 static int is_unsupported_hmac_fs(struct dentry *dentry) in is_unsupported_hmac_fs() argument
358 rc = __vfs_getxattr(dentry, d_backing_inode(dentry), in evm_read_protected_xattrs()
462 struct dentry *dentry, const char *xattr_name, in evm_xattr_change() argument
498 struct dentry *dentry, const char *xattr_name, in evm_protect_xattr() argument
540 dentry->d_inode, dentry->d_name.name, in evm_protect_xattr()
633 struct dentry *dentry, const char *name, in evm_inode_set_acl_change() argument
652 struct dentry *dentry, in evm_inode_set_acl_change() argument
879 struct dentry *dentry, in evm_inode_post_remove_acl() argument
886 struct dentry *dentry, struct iattr *attr) in evm_attr_change() argument
[all …]
/linux-6.15/fs/tracefs/
H A Dinode.c97 static char *get_dname(struct dentry *dentry) in get_dname() argument
113 struct inode *inode, struct dentry *dentry, in tracefs_syscall_mkdir() argument
454 static void tracefs_d_release(struct dentry *dentry) in tracefs_d_release() argument
461 struct dentry *dentry, unsigned int flags) in tracefs_d_revalidate() argument
536 struct dentry *dentry; in tracefs_start_creating() local
559 if (!IS_ERR(dentry) && d_inode(dentry)) { in tracefs_start_creating()
572 struct dentry *tracefs_failed_creating(struct dentry *dentry) in tracefs_failed_creating() argument
580 struct dentry *tracefs_end_creating(struct dentry *dentry) in tracefs_end_creating() argument
637 struct dentry *dentry; in tracefs_create_file() local
748 struct dentry *dentry; in tracefs_create_instance_dir() local
[all …]
/linux-6.15/fs/9p/
H A Dfid.c21 static inline void __add_fid(struct dentry *dentry, struct p9_fid *fid) in __add_fid() argument
33 void v9fs_fid_add(struct dentry *dentry, struct p9_fid **pfid) in v9fs_fid_add() argument
38 __add_fid(dentry, fid); in v9fs_fid_add()
118 dentry, dentry, from_kuid(&init_user_ns, uid), in v9fs_fid_find()
147 struct dentry *dentry, const unsigned char ***names) in build_path_from_dentry() argument
151 struct dentry *ds; in build_path_from_dentry()
169 static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry, in v9fs_fid_lookup_with_uid() argument
172 struct dentry *ds; in v9fs_fid_lookup_with_uid()
189 ds = dentry->d_parent; in v9fs_fid_lookup_with_uid()
222 if (dentry->d_sb->s_root == dentry) in v9fs_fid_lookup_with_uid()
[all …]
H A Dvfs_dentry.c31 static int v9fs_cached_dentry_delete(const struct dentry *dentry) in v9fs_cached_dentry_delete() argument
34 dentry, dentry); in v9fs_cached_dentry_delete()
48 static void v9fs_dentry_release(struct dentry *dentry) in v9fs_dentry_release() argument
54 dentry, dentry); in v9fs_dentry_release()
56 spin_lock(&dentry->d_lock); in v9fs_dentry_release()
58 spin_unlock(&dentry->d_lock); in v9fs_dentry_release()
64 static int __v9fs_lookup_revalidate(struct dentry *dentry, unsigned int flags) in __v9fs_lookup_revalidate() argument
73 inode = d_inode(dentry); in __v9fs_lookup_revalidate()
103 struct dentry *dentry, unsigned int flags) in v9fs_lookup_revalidate() argument
108 static bool v9fs_dentry_unalias_trylock(const struct dentry *dentry) in v9fs_dentry_unalias_trylock() argument
[all …]
/linux-6.15/fs/configfs/
H A Ddir.c298 struct dentry *p = dentry->d_parent; in configfs_create_dir()
370 struct dentry *dentry, char *body) in configfs_create_link() argument
438 struct dentry *dentry, in configfs_lookup() argument
641 struct dentry *dentry,
842 struct dentry *dentry, in configfs_attach_item() argument
877 struct dentry *dentry, in configfs_attach_group() argument
1593 struct dentry * dentry = file->f_path.dentry; in configfs_dir_open() local
1617 struct dentry * dentry = file->f_path.dentry; in configfs_dir_close() local
1633 struct dentry *dentry = file->f_path.dentry; in configfs_readdir() local
1695 struct dentry * dentry = file->f_path.dentry; in configfs_dir_lseek() local
[all …]
/linux-6.15/arch/s390/hypfs/
H A Dinode.c62 static void hypfs_add_dentry(struct dentry *dentry) in hypfs_add_dentry() argument
68 static void hypfs_remove(struct dentry *dentry) in hypfs_remove() argument
341 struct dentry *dentry; in hypfs_create_file() local
378 struct dentry *dentry; in hypfs_mkdir() local
389 struct dentry *dentry; in hypfs_create_update_file() local
401 struct dentry *hypfs_create_u64(struct dentry *dir, in hypfs_create_u64()
406 struct dentry *dentry; in hypfs_create_u64() local
412 dentry = in hypfs_create_u64()
422 struct dentry *hypfs_create_str(struct dentry *dir, in hypfs_create_str()
426 struct dentry *dentry; in hypfs_create_str() local
[all …]

12345678910>>...76