Home
last modified time | relevance | path

Searched refs:dentry (Results 1 - 25 of 3266) sorted by relevance

12345678910>>...131

/kernel/linux/linux-6.6/include/linux/
H A Ddcache.h47 * dentry.
66 * Try to keep struct dentry aligned on 64 byte cachelines (this will
82 struct dentry { struct
85 seqcount_spinlock_t d_seq; /* per dentry seqlock */
87 struct dentry *d_parent; /* parent directory */
94 struct lockref d_lockref; /* per-dentry lock and refcount */
96 struct super_block *d_sb; /* The root of the dentry tree */
117 * dentry->d_lock spinlock nesting subclasses:
129 int (*d_revalidate)(struct dentry *, unsigned int);
130 int (*d_weak_revalidate)(struct dentry *, unsigne
283 d_count(const struct dentry *dentry) d_count() argument
310 dget_dlock(struct dentry *dentry) dget_dlock() argument
317 dget(struct dentry *dentry) dget() argument
333 d_unhashed(const struct dentry *dentry) d_unhashed() argument
338 d_unlinked(const struct dentry *dentry) d_unlinked() argument
343 cant_mount(const struct dentry *dentry) cant_mount() argument
348 dont_mount(struct dentry *dentry) dont_mount() argument
357 d_in_lookup(const struct dentry *dentry) d_in_lookup() argument
362 d_lookup_done(struct dentry *dentry) d_lookup_done() argument
370 d_managed(const struct dentry *dentry) d_managed() argument
375 d_mountpoint(const struct dentry *dentry) d_mountpoint() argument
383 __d_entry_type(const struct dentry *dentry) __d_entry_type() argument
388 d_is_miss(const struct dentry *dentry) d_is_miss() argument
393 d_is_whiteout(const struct dentry *dentry) d_is_whiteout() argument
398 d_can_lookup(const struct dentry *dentry) d_can_lookup() argument
403 d_is_autodir(const struct dentry *dentry) d_is_autodir() argument
408 d_is_dir(const struct dentry *dentry) d_is_dir() argument
413 d_is_symlink(const struct dentry *dentry) d_is_symlink() argument
418 d_is_reg(const struct dentry *dentry) d_is_reg() argument
423 d_is_special(const struct dentry *dentry) d_is_special() argument
428 d_is_file(const struct dentry *dentry) d_is_file() argument
433 d_is_negative(const struct dentry *dentry) d_is_negative() argument
444 d_is_positive(const struct dentry *dentry) d_is_positive() argument
464 d_really_is_negative(const struct dentry *dentry) d_really_is_negative() argument
482 d_really_is_positive(const struct dentry *dentry) d_really_is_positive() argument
487 simple_positive(const struct dentry *dentry) simple_positive() argument
494 d_is_fallthru(const struct dentry *dentry) d_is_fallthru() argument
514 d_inode(const struct dentry *dentry) d_inode() argument
526 d_inode_rcu(const struct dentry *dentry) d_inode_rcu() argument
573 d_real(struct dentry *dentry, const struct inode *inode) d_real() argument
589 d_real_inode(const struct dentry *dentry) d_real_inode() argument
[all...]
H A Devm.h19 extern enum integrity_status evm_verifyxattr(struct dentry *dentry,
25 struct dentry *dentry, struct iattr *attr);
26 extern void evm_inode_post_setattr(struct dentry *dentry, int ia_valid);
28 struct dentry *dentry, const char *name,
30 extern void evm_inode_post_setxattr(struct dentry *dentry,
38 evm_inode_post_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name) evm_inode_post_remove_acl() argument
47 evm_inode_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name) evm_inode_remove_acl() argument
53 evm_inode_post_set_acl(struct dentry *dentry, const char *acl_name, struct posix_acl *kacl) evm_inode_post_set_acl() argument
84 evm_verifyxattr(struct dentry *dentry, const char *xattr_name, void *xattr_value, size_t xattr_value_len, struct integrity_iint_cache *iint) evm_verifyxattr() argument
94 evm_inode_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr) evm_inode_setattr() argument
100 evm_inode_post_setattr(struct dentry *dentry, int ia_valid) evm_inode_post_setattr() argument
105 evm_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, const void *value, size_t size) evm_inode_setxattr() argument
112 evm_inode_post_setxattr(struct dentry *dentry, const char *xattr_name, const void *xattr_value, size_t xattr_value_len) evm_inode_post_setxattr() argument
120 evm_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, const char *xattr_name) evm_inode_removexattr() argument
127 evm_inode_post_removexattr(struct dentry *dentry, const char *xattr_name) evm_inode_post_removexattr() argument
133 evm_inode_post_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name) evm_inode_post_remove_acl() argument
140 evm_inode_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl) evm_inode_set_acl() argument
147 evm_inode_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name) evm_inode_remove_acl() argument
154 evm_inode_post_set_acl(struct dentry *dentry, const char *acl_name, struct posix_acl *kacl) evm_inode_post_set_acl() argument
179 evm_read_protected_xattrs(struct dentry *dentry, u8 *buffer, int buffer_size, char type, bool canonical_fmt) evm_read_protected_xattrs() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Ddcache.h45 * dentry.
73 * Try to keep struct dentry aligned on 64 byte cachelines (this will
89 struct dentry { struct
92 seqcount_spinlock_t d_seq; /* per dentry seqlock */
94 struct dentry *d_parent; /* parent directory */
101 struct lockref d_lockref; /* per-dentry lock and refcount */
103 struct super_block *d_sb; /* The root of the dentry tree */
124 * dentry->d_lock spinlock nesting subclasses:
136 int (*d_revalidate)(struct dentry *, unsigned int);
137 int (*d_weak_revalidate)(struct dentry *, unsigne
286 d_count(const struct dentry *dentry) d_count() argument
313 dget_dlock(struct dentry *dentry) dget_dlock() argument
320 dget(struct dentry *dentry) dget() argument
336 d_unhashed(const struct dentry *dentry) d_unhashed() argument
341 d_unlinked(const struct dentry *dentry) d_unlinked() argument
346 cant_mount(const struct dentry *dentry) cant_mount() argument
351 dont_mount(struct dentry *dentry) dont_mount() argument
360 d_in_lookup(const struct dentry *dentry) d_in_lookup() argument
365 d_lookup_done(struct dentry *dentry) d_lookup_done() argument
376 d_managed(const struct dentry *dentry) d_managed() argument
381 d_mountpoint(const struct dentry *dentry) d_mountpoint() argument
389 __d_entry_type(const struct dentry *dentry) __d_entry_type() argument
394 d_is_miss(const struct dentry *dentry) d_is_miss() argument
399 d_is_whiteout(const struct dentry *dentry) d_is_whiteout() argument
404 d_can_lookup(const struct dentry *dentry) d_can_lookup() argument
409 d_is_autodir(const struct dentry *dentry) d_is_autodir() argument
414 d_is_dir(const struct dentry *dentry) d_is_dir() argument
419 d_is_symlink(const struct dentry *dentry) d_is_symlink() argument
424 d_is_reg(const struct dentry *dentry) d_is_reg() argument
429 d_is_special(const struct dentry *dentry) d_is_special() argument
434 d_is_file(const struct dentry *dentry) d_is_file() argument
439 d_is_negative(const struct dentry *dentry) d_is_negative() argument
450 d_is_positive(const struct dentry *dentry) d_is_positive() argument
470 d_really_is_negative(const struct dentry *dentry) d_really_is_negative() argument
488 d_really_is_positive(const struct dentry *dentry) d_really_is_positive() argument
493 simple_positive(const struct dentry *dentry) simple_positive() argument
500 d_is_fallthru(const struct dentry *dentry) d_is_fallthru() argument
520 d_inode(const struct dentry *dentry) d_inode() argument
532 d_inode_rcu(const struct dentry *dentry) d_inode_rcu() argument
579 d_real(struct dentry *dentry, const struct inode *inode) d_real() argument
595 d_real_inode(const struct dentry *dentry) d_real_inode() argument
[all...]
/kernel/linux/linux-5.10/fs/overlayfs/
H A Doverlayfs.h122 static inline int ovl_do_rmdir(struct inode *dir, struct dentry *dentry) in ovl_do_rmdir() argument
124 int err = vfs_rmdir(dir, dentry); in ovl_do_rmdir()
126 pr_debug("rmdir(%pd2) = %i\n", dentry, err); in ovl_do_rmdir()
130 static inline int ovl_do_unlink(struct inode *dir, struct dentry *dentry) in ovl_do_unlink() argument
132 int err = vfs_unlink(dir, dentry, NULL); in ovl_do_unlink()
134 pr_debug("unlink(%pd2) = %i\n", dentry, err); in ovl_do_unlink()
138 static inline int ovl_do_link(struct dentry *old_dentry, struct inode *dir, in ovl_do_link()
139 struct dentry *new_dentr in ovl_do_link()
147 ovl_do_create(struct inode *dir, struct dentry *dentry, umode_t mode) ovl_do_create() argument
156 ovl_do_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) ovl_do_mkdir() argument
164 ovl_do_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) ovl_do_mknod() argument
173 ovl_do_symlink(struct inode *dir, struct dentry *dentry, const char *oldname) ovl_do_symlink() argument
182 ovl_do_getxattr(struct ovl_fs *ofs, struct dentry *dentry, enum ovl_xattr ox, void *value, size_t size) ovl_do_getxattr() argument
190 ovl_do_setxattr(struct ovl_fs *ofs, struct dentry *dentry, enum ovl_xattr ox, const void *value, size_t size) ovl_do_setxattr() argument
201 ovl_do_removexattr(struct ovl_fs *ofs, struct dentry *dentry, enum ovl_xattr ox) ovl_do_removexattr() argument
225 ovl_do_whiteout(struct inode *dir, struct dentry *dentry) ovl_do_whiteout() argument
232 ovl_do_tmpfile(struct dentry *dentry, umode_t mode) ovl_do_tmpfile() argument
341 ovl_is_impuredir(struct super_block *sb, struct dentry *dentry) ovl_is_impuredir() argument
[all...]
H A Dutil.c18 int ovl_want_write(struct dentry *dentry) in ovl_want_write() argument
20 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_want_write()
24 void ovl_drop_write(struct dentry *dentry) in ovl_drop_write() argument
26 struct ovl_fs *ofs = dentry->d_sb->s_fs_info; in ovl_drop_write()
30 struct dentry *ovl_workdir(struct dentry *dentry) in ovl_workdir() argument
32 struct ovl_fs *ofs = dentry in ovl_workdir()
95 ovl_dentry_remote(struct dentry *dentry) ovl_dentry_remote() argument
100 ovl_dentry_update_reval(struct dentry *dentry, struct dentry *realdentry) ovl_dentry_update_reval() argument
110 ovl_dentry_init_reval(struct dentry *dentry, struct dentry *upperdentry) ovl_dentry_init_reval() argument
115 ovl_dentry_init_flags(struct dentry *dentry, struct dentry *upperdentry, unsigned int mask) ovl_dentry_init_flags() argument
132 ovl_dentry_weird(struct dentry *dentry) ovl_dentry_weird() argument
140 ovl_path_type(struct dentry *dentry) ovl_path_type() argument
165 ovl_path_upper(struct dentry *dentry, struct path *path) ovl_path_upper() argument
173 ovl_path_lower(struct dentry *dentry, struct path *path) ovl_path_lower() argument
185 ovl_path_lowerdata(struct dentry *dentry, struct path *path) ovl_path_lowerdata() argument
197 ovl_path_real(struct dentry *dentry, struct path *path) ovl_path_real() argument
209 ovl_dentry_upper(struct dentry *dentry) ovl_dentry_upper() argument
214 ovl_dentry_lower(struct dentry *dentry) ovl_dentry_lower() argument
221 ovl_layer_lower(struct dentry *dentry) ovl_layer_lower() argument
234 ovl_dentry_lowerdata(struct dentry *dentry) ovl_dentry_lowerdata() argument
241 ovl_dentry_real(struct dentry *dentry) ovl_dentry_real() argument
299 ovl_dentry_set_flag(unsigned long flag, struct dentry *dentry) ovl_dentry_set_flag() argument
304 ovl_dentry_clear_flag(unsigned long flag, struct dentry *dentry) ovl_dentry_clear_flag() argument
309 ovl_dentry_test_flag(unsigned long flag, struct dentry *dentry) ovl_dentry_test_flag() argument
314 ovl_dentry_is_opaque(struct dentry *dentry) ovl_dentry_is_opaque() argument
319 ovl_dentry_is_whiteout(struct dentry *dentry) ovl_dentry_is_whiteout() argument
324 ovl_dentry_set_opaque(struct dentry *dentry) ovl_dentry_set_opaque() argument
335 ovl_dentry_has_upper_alias(struct dentry *dentry) ovl_dentry_has_upper_alias() argument
340 ovl_dentry_set_upper_alias(struct dentry *dentry) ovl_dentry_set_upper_alias() argument
385 ovl_dentry_needs_data_copy_up_locked(struct dentry *dentry, int flags) ovl_dentry_needs_data_copy_up_locked() argument
393 ovl_dentry_needs_data_copy_up(struct dentry *dentry, int flags) ovl_dentry_needs_data_copy_up() argument
408 ovl_dentry_get_redirect(struct dentry *dentry) ovl_dentry_get_redirect() argument
413 ovl_dentry_set_redirect(struct dentry *dentry, const char *redirect) ovl_dentry_set_redirect() argument
438 ovl_dir_version_inc(struct dentry *dentry, bool impurity) ovl_dir_version_inc() argument
455 ovl_dir_modified(struct dentry *dentry, bool impurity) ovl_dir_modified() argument
463 ovl_dentry_version_get(struct dentry *dentry) ovl_dentry_version_get() argument
471 ovl_is_whiteout(struct dentry *dentry) ovl_is_whiteout() argument
509 ovl_already_copied_up_locked(struct dentry *dentry, int flags) ovl_already_copied_up_locked() argument
521 ovl_already_copied_up(struct dentry *dentry, int flags) ovl_already_copied_up() argument
546 ovl_copy_up_start(struct dentry *dentry, int flags) ovl_copy_up_start() argument
560 ovl_copy_up_end(struct dentry *dentry) ovl_copy_up_end() argument
565 ovl_check_origin_xattr(struct ovl_fs *ofs, struct dentry *dentry) ovl_check_origin_xattr() argument
578 ovl_check_dir_xattr(struct super_block *sb, struct dentry *dentry, enum ovl_xattr ox) ovl_check_dir_xattr() argument
615 ovl_check_setxattr(struct dentry *dentry, struct dentry *upperdentry, enum ovl_xattr ox, const void *value, size_t size, int xerr) ovl_check_setxattr() argument
636 ovl_set_impure(struct dentry *dentry, struct dentry *upperdentry) ovl_set_impure() argument
659 ovl_inuse_trylock(struct dentry *dentry) ovl_inuse_trylock() argument
674 ovl_inuse_unlock(struct dentry *dentry) ovl_inuse_unlock() argument
686 ovl_is_inuse(struct dentry *dentry) ovl_is_inuse() argument
701 ovl_need_index(struct dentry *dentry) ovl_need_index() argument
720 ovl_cleanup_index(struct dentry *dentry) ovl_cleanup_index() argument
785 ovl_nlink_start(struct dentry *dentry) ovl_nlink_start() argument
838 ovl_nlink_end(struct dentry *dentry) ovl_nlink_end() argument
873 ovl_check_metacopy_xattr(struct ovl_fs *ofs, struct dentry *dentry) ovl_check_metacopy_xattr() argument
894 ovl_is_metacopy_dentry(struct dentry *dentry) ovl_is_metacopy_dentry() argument
910 ovl_get_redirect_xattr(struct ovl_fs *ofs, struct dentry *dentry, int padding) ovl_get_redirect_xattr() argument
[all...]
H A Dexport.c19 static int ovl_encode_maybe_copy_up(struct dentry *dentry) in ovl_encode_maybe_copy_up() argument
23 if (ovl_dentry_upper(dentry)) in ovl_encode_maybe_copy_up()
26 err = ovl_want_write(dentry); in ovl_encode_maybe_copy_up()
28 err = ovl_copy_up(dentry); in ovl_encode_maybe_copy_up()
29 ovl_drop_write(dentry); in ovl_encode_maybe_copy_up()
34 dentry, err); in ovl_encode_maybe_copy_up()
42 * to check if it will be possible to reconnect an overlay dentry from the real
43 * lower decoded dentry. This is done by following the overlay ancestry up to a
52 * The overlay dentry /
77 ovl_connectable_layer(struct dentry *dentry) ovl_connectable_layer() argument
105 ovl_connect_layer(struct dentry *dentry) ovl_connect_layer() argument
183 ovl_check_encode_origin(struct dentry *dentry) ovl_check_encode_origin() argument
214 ovl_dentry_to_fid(struct dentry *dentry, u32 *fid, int buflen) ovl_dentry_to_fid() argument
252 struct dentry *dentry; ovl_encode_fh() local
285 struct dentry *dentry; ovl_obtain_alias() local
340 ovl_dentry_real_at(struct dentry *dentry, int idx) ovl_dentry_real_at() argument
676 struct dentry *dentry; ovl_upper_fh_to_d() local
698 struct dentry *dentry = NULL; ovl_lower_fh_to_d() local
798 struct dentry *dentry = NULL; ovl_fh_to_dentry() local
853 ovl_get_parent(struct dentry *dentry) ovl_get_parent() argument
[all...]
H A Ddir.c24 static int ovl_set_redirect(struct dentry *dentry, bool samedir);
26 int ovl_cleanup(struct inode *wdir, struct dentry *wdentry) in ovl_cleanup()
45 struct dentry *ovl_lookup_temp(struct dentry *workdir) in ovl_lookup_temp()
47 struct dentry *temp; in ovl_lookup_temp()
65 static struct dentry *ovl_whiteout(struct ovl_fs *ofs) in ovl_whiteout()
68 struct dentry *whiteout; in ovl_whiteout()
69 struct dentry *workdir = ofs->workdir; in ovl_whiteout()
110 struct dentry *dentr in ovl_cleanup_and_whiteout()
109 ovl_cleanup_and_whiteout(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry) ovl_cleanup_and_whiteout() argument
143 struct dentry *d, *dentry = *newdentry; ovl_mkdir_real() local
232 ovl_set_opaque_xerr(struct dentry *dentry, struct dentry *upper, int xerr) ovl_set_opaque_xerr() argument
244 ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) ovl_set_opaque() argument
259 ovl_instantiate(struct dentry *dentry, struct inode *inode, struct dentry *newdentry, bool hardlink) ovl_instantiate() argument
308 ovl_type_merge(struct dentry *dentry) ovl_type_merge() argument
313 ovl_type_origin(struct dentry *dentry) ovl_type_origin() argument
318 ovl_create_upper(struct dentry *dentry, struct inode *inode, struct ovl_cattr *attr) ovl_create_upper() argument
357 ovl_clear_empty(struct dentry *dentry, struct list_head *list) ovl_clear_empty() argument
456 ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode, struct ovl_cattr *cattr) ovl_create_over_whiteout() argument
564 ovl_create_or_link(struct dentry *dentry, struct inode *inode, struct ovl_cattr *attr, bool origin) ovl_create_or_link() argument
629 ovl_create_object(struct dentry *dentry, int mode, dev_t rdev, const char *link) ovl_create_object() argument
667 ovl_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) ovl_create() argument
673 ovl_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) ovl_mkdir() argument
678 ovl_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) ovl_mknod() argument
688 ovl_symlink(struct inode *dir, struct dentry *dentry, const char *link) ovl_symlink() argument
694 ovl_set_link_redirect(struct dentry *dentry) ovl_set_link_redirect() argument
750 ovl_matches_upper(struct dentry *dentry, struct dentry *upper) ovl_matches_upper() argument
755 ovl_remove_and_whiteout(struct dentry *dentry, struct list_head *list) ovl_remove_and_whiteout() argument
809 ovl_remove_upper(struct dentry *dentry, bool is_dir, struct list_head *list) ovl_remove_upper() argument
860 ovl_pure_upper(struct dentry *dentry) ovl_pure_upper() argument
866 ovl_drop_nlink(struct dentry *dentry) ovl_drop_nlink() argument
888 ovl_do_remove(struct dentry *dentry, bool is_dir) ovl_do_remove() argument
946 ovl_unlink(struct inode *dir, struct dentry *dentry) ovl_unlink() argument
951 ovl_rmdir(struct inode *dir, struct dentry *dentry) ovl_rmdir() argument
956 ovl_type_merge_or_lower(struct dentry *dentry) ovl_type_merge_or_lower() argument
963 ovl_can_move(struct dentry *dentry) ovl_can_move() argument
969 ovl_get_redirect(struct dentry *dentry, bool abs_redirect) ovl_get_redirect() argument
1029 ovl_need_absolute_redirect(struct dentry *dentry, bool samedir) ovl_need_absolute_redirect() argument
1056 ovl_set_redirect(struct dentry *dentry, bool samedir) ovl_set_redirect() argument
[all...]
/kernel/linux/linux-6.6/fs/
H A Ddcache.c46 * dentry->d_sb->s_dentry_lru_lock protects:
59 * dentry->d_inode->i_lock
60 * dentry->d_lock
61 * dentry->d_sb->s_dentry_lru_lock
66 * dentry->d_parent->...->d_parent->d_lock
68 * dentry->d_parent->d_lock
69 * dentry->d_lock
111 static inline struct hlist_bl_head *in_lookup_hash(const struct dentry *parent, in in_lookup_hash()
188 .procname = "dentry-state",
213 * NOTE! 'cs' and 'scount' come from a dentry, s
258 dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount) dentry_cmp() argument
289 external_name(struct dentry *dentry) external_name() argument
296 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); __d_free() local
303 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); __d_free_external() local
308 dname_external(const struct dentry *dentry) dname_external() argument
313 take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry) take_dentry_name_snapshot() argument
339 __d_set_inode_and_type(struct dentry *dentry, struct inode *inode, unsigned type_flags) __d_set_inode_and_type() argument
352 __d_clear_type_and_inode(struct dentry *dentry) __d_clear_type_and_inode() argument
363 dentry_free(struct dentry *dentry) dentry_free() argument
391 __d_clear_type_and_inode(dentry); global() variable
424 d_lru_add(struct dentry *dentry) d_lru_add() argument
434 d_lru_del(struct dentry *dentry) d_lru_del() argument
444 d_shrink_del(struct dentry *dentry) d_shrink_del() argument
452 d_shrink_add(struct dentry *dentry, struct list_head *list) d_shrink_add() argument
466 d_lru_isolate(struct list_lru_one *lru, struct dentry *dentry) d_lru_isolate() argument
476 d_lru_shrink_move(struct list_lru_one *lru, struct dentry *dentry, struct list_head *list) d_lru_shrink_move() argument
486 ___d_drop(struct dentry *dentry) ___d_drop() argument
504 __d_drop(struct dentry *dentry) __d_drop() argument
532 d_drop(struct dentry *dentry) d_drop() argument
540 dentry_unlist(struct dentry *dentry, struct dentry *parent) dentry_unlist() argument
578 __dentry_kill(struct dentry *dentry) __dentry_kill() argument
625 __lock_parent(struct dentry *dentry) __lock_parent() argument
653 lock_parent(struct dentry *dentry) lock_parent() argument
663 retain_dentry(struct dentry *dentry) retain_dentry() argument
733 __dentry_kill(dentry); global() variable
745 __dentry_kill(dentry); global() variable
765 fast_dput(struct dentry *dentry) fast_dput() argument
895 dput(struct dentry *dentry) dput() argument
927 d_lru_del(dentry); global() variable
933 dput_to_list(struct dentry *dentry, struct list_head *list) dput_to_list() argument
947 __dget_dlock(struct dentry *dentry) __dget_dlock() argument
952 __dget(struct dentry *dentry) __dget() argument
957 dget_parent(struct dentry *dentry) dget_parent() argument
1105 struct dentry *dentry; d_prune_aliases() local
1137 shrink_lock_dentry(struct dentry *dentry) shrink_lock_dentry() argument
1181 struct dentry *dentry, *parent; shrink_dentry_list() local
1210 struct dentry *dentry = container_of(item, struct dentry, d_lru); dentry_lru_isolate() local
1291 struct dentry *dentry = container_of(item, struct dentry, d_lru); dentry_lru_isolate_shrink() local
1379 struct dentry *dentry = list_entry(tmp, struct dentry, d_child); d_walk() local
1460 path_check_mount(void *data, struct dentry *dentry) path_check_mount() argument
1502 d_set_mounted(struct dentry *dentry) d_set_mounted() argument
1554 select_collect(void *_data, struct dentry *dentry) select_collect() argument
1583 select_collect2(void *_data, struct dentry *dentry) select_collect2() argument
1658 umount_check(void *_data, struct dentry *dentry) umount_check() argument
1680 do_one_tree(struct dentry *dentry) do_one_tree() argument
1693 struct dentry *dentry; shrink_dcache_for_umount() local
1707 find_submount(void *_data, struct dentry *dentry) find_submount() argument
1722 d_invalidate(struct dentry *dentry) d_invalidate() argument
1765 struct dentry *dentry; __d_alloc() local
1849 struct dentry *dentry = __d_alloc(parent->d_sb, name); d_alloc() local
1874 struct dentry *dentry = d_alloc_anon(parent->d_sb); d_alloc_cursor() local
1899 struct dentry *dentry = __d_alloc(sb, name); d_alloc_pseudo() local
1915 d_set_d_op(struct dentry *dentry, const struct dentry_operations *op) d_set_d_op() argument
1953 d_set_fallthru(struct dentry *dentry) d_set_fallthru() argument
1996 __d_instantiate(struct dentry *dentry, struct inode *inode) __d_instantiate() argument
2079 __d_instantiate_anon(struct dentry *dentry, struct inode *inode, bool disconnected) __d_instantiate_anon() argument
2119 d_instantiate_anon(struct dentry *dentry, struct inode *inode) d_instantiate_anon() argument
2213 d_add_ci(struct dentry *dentry, struct inode *inode, struct qstr *name) d_add_ci() argument
2259 d_same_name(const struct dentry *dentry, const struct dentry *parent, const struct qstr *name) d_same_name() argument
2285 struct dentry *dentry; __d_lookup_rcu_op_compare() local
2352 struct dentry *dentry; __d_lookup_rcu() local
2425 struct dentry *dentry; d_lookup() local
2459 struct dentry *dentry; __d_lookup() local
2554 d_delete(struct dentry * dentry) d_delete() argument
2617 d_wait_lookup(struct dentry *dentry) d_wait_lookup() argument
2639 struct dentry *dentry; d_alloc_parallel() local
2746 __d_lookup_unhash(struct dentry *dentry) __d_lookup_unhash() argument
2765 __d_lookup_unhash_wake(struct dentry *dentry) __d_lookup_unhash_wake() argument
2775 __d_add(struct dentry *dentry, struct inode *inode) __d_add() argument
2867 swap_names(struct dentry *dentry, struct dentry *target) swap_names() argument
2910 copy_name(struct dentry *dentry, struct dentry *target) copy_name() argument
2939 __d_move(struct dentry *dentry, struct dentry *target, bool exchange) __d_move() argument
3029 d_move(struct dentry *dentry, struct dentry *target) d_move() argument
3084 __d_unalias(struct inode *inode, struct dentry *dentry, struct dentry *alias) __d_unalias() argument
3136 d_splice_alias(struct inode *inode, struct dentry *dentry) d_splice_alias() argument
3230 d_genocide_kill(void *data, struct dentry *dentry) d_genocide_kill() argument
3252 struct dentry *dentry = file->f_path.dentry; d_tmpfile() local
[all...]
/kernel/linux/linux-5.10/fs/
H A Ddcache.c46 * dentry->d_sb->s_dentry_lru_lock protects:
59 * dentry->d_inode->i_lock
60 * dentry->d_lock
61 * dentry->d_sb->s_dentry_lru_lock
66 * dentry->d_parent->...->d_parent->d_lock
68 * dentry->d_parent->d_lock
69 * dentry->d_lock
109 static inline struct hlist_bl_head *in_lookup_hash(const struct dentry *parent, in in_lookup_hash()
186 * NOTE! 'cs' and 'scount' come from a dentry, so it has a
231 static inline int dentry_cmp(const struct dentry *dentr argument
262 external_name(struct dentry *dentry) external_name() argument
269 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); __d_free() local
276 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu); __d_free_external() local
281 dname_external(const struct dentry *dentry) dname_external() argument
286 take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry) take_dentry_name_snapshot() argument
312 __d_set_inode_and_type(struct dentry *dentry, struct inode *inode, unsigned type_flags) __d_set_inode_and_type() argument
325 __d_clear_type_and_inode(struct dentry *dentry) __d_clear_type_and_inode() argument
336 dentry_free(struct dentry *dentry) dentry_free() argument
364 __d_clear_type_and_inode(dentry); global() variable
397 d_lru_add(struct dentry *dentry) d_lru_add() argument
407 d_lru_del(struct dentry *dentry) d_lru_del() argument
417 d_shrink_del(struct dentry *dentry) d_shrink_del() argument
425 d_shrink_add(struct dentry *dentry, struct list_head *list) d_shrink_add() argument
439 d_lru_isolate(struct list_lru_one *lru, struct dentry *dentry) d_lru_isolate() argument
449 d_lru_shrink_move(struct list_lru_one *lru, struct dentry *dentry, struct list_head *list) d_lru_shrink_move() argument
476 ___d_drop(struct dentry *dentry) ___d_drop() argument
494 __d_drop(struct dentry *dentry) __d_drop() argument
504 d_drop(struct dentry *dentry) d_drop() argument
512 dentry_unlist(struct dentry *dentry, struct dentry *parent) dentry_unlist() argument
550 __dentry_kill(struct dentry *dentry) __dentry_kill() argument
597 __lock_parent(struct dentry *dentry) __lock_parent() argument
625 lock_parent(struct dentry *dentry) lock_parent() argument
635 retain_dentry(struct dentry *dentry) retain_dentry() argument
705 __dentry_kill(dentry); global() variable
717 __dentry_kill(dentry); global() variable
737 fast_dput(struct dentry *dentry) fast_dput() argument
860 dput(struct dentry *dentry) dput() argument
892 d_lru_del(dentry); global() variable
898 dput_to_list(struct dentry *dentry, struct list_head *list) dput_to_list() argument
912 __dget_dlock(struct dentry *dentry) __dget_dlock() argument
917 __dget(struct dentry *dentry) __dget() argument
922 dget_parent(struct dentry *dentry) dget_parent() argument
1045 struct dentry *dentry; d_prune_aliases() local
1077 shrink_lock_dentry(struct dentry *dentry) shrink_lock_dentry() argument
1121 struct dentry *dentry, *parent; shrink_dentry_list() local
1150 struct dentry *dentry = container_of(item, struct dentry, d_lru); dentry_lru_isolate() local
1231 struct dentry *dentry = container_of(item, struct dentry, d_lru); dentry_lru_isolate_shrink() local
1319 struct dentry *dentry = list_entry(tmp, struct dentry, d_child); d_walk() local
1400 path_check_mount(void *data, struct dentry *dentry) path_check_mount() argument
1442 d_set_mounted(struct dentry *dentry) d_set_mounted() argument
1494 select_collect(void *_data, struct dentry *dentry) select_collect() argument
1523 select_collect2(void *_data, struct dentry *dentry) select_collect2() argument
1598 umount_check(void *_data, struct dentry *dentry) umount_check() argument
1621 do_one_tree(struct dentry *dentry) do_one_tree() argument
1634 struct dentry *dentry; shrink_dcache_for_umount() local
1648 find_submount(void *_data, struct dentry *dentry) find_submount() argument
1663 d_invalidate(struct dentry *dentry) d_invalidate() argument
1706 struct dentry *dentry; __d_alloc() local
1789 struct dentry *dentry = __d_alloc(parent->d_sb, name); d_alloc() local
1814 struct dentry *dentry = d_alloc_anon(parent->d_sb); d_alloc_cursor() local
1839 struct dentry *dentry = __d_alloc(sb, name); d_alloc_pseudo() local
1855 d_set_d_op(struct dentry *dentry, const struct dentry_operations *op) d_set_d_op() argument
1893 d_set_fallthru(struct dentry *dentry) d_set_fallthru() argument
1936 __d_instantiate(struct dentry *dentry, struct inode *inode) __d_instantiate() argument
2019 __d_instantiate_anon(struct dentry *dentry, struct inode *inode, bool disconnected) __d_instantiate_anon() argument
2059 d_instantiate_anon(struct dentry *dentry, struct inode *inode) d_instantiate_anon() argument
2153 d_add_ci(struct dentry *dentry, struct inode *inode, struct qstr *name) d_add_ci() argument
2191 d_same_name(const struct dentry *dentry, const struct dentry *parent, const struct qstr *name) d_same_name() argument
2242 struct dentry *dentry; __d_lookup_rcu() local
2331 struct dentry *dentry; d_lookup() local
2365 struct dentry *dentry; __d_lookup() local
2460 d_delete(struct dentry * dentry) d_delete() argument
2520 d_wait_lookup(struct dentry *dentry) d_wait_lookup() argument
2542 struct dentry *dentry; d_alloc_parallel() local
2644 __d_lookup_done(struct dentry *dentry) __d_lookup_done() argument
2661 __d_add(struct dentry *dentry, struct inode *inode) __d_add() argument
2752 swap_names(struct dentry *dentry, struct dentry *target) swap_names() argument
2795 copy_name(struct dentry *dentry, struct dentry *target) copy_name() argument
2824 __d_move(struct dentry *dentry, struct dentry *target, bool exchange) __d_move() argument
2913 d_move(struct dentry *dentry, struct dentry *target) d_move() argument
2968 __d_unalias(struct inode *inode, struct dentry *dentry, struct dentry *alias) __d_unalias() argument
3020 d_splice_alias(struct inode *inode, struct dentry *dentry) d_splice_alias() argument
3114 d_genocide_kill(void *data, struct dentry *dentry) d_genocide_kill() argument
3136 d_tmpfile(struct dentry *dentry, struct inode *inode) d_tmpfile() argument
[all...]
/kernel/linux/linux-6.6/fs/overlayfs/
H A Doverlayfs.h185 struct dentry *upperdentry, in ovl_do_notify_change()
192 struct inode *dir, struct dentry *dentry) in ovl_do_rmdir()
194 int err = vfs_rmdir(ovl_upper_mnt_idmap(ofs), dir, dentry); in ovl_do_rmdir()
196 pr_debug("rmdir(%pd2) = %i\n", dentry, err); in ovl_do_rmdir()
201 struct dentry *dentry) in ovl_do_unlink()
203 int err = vfs_unlink(ovl_upper_mnt_idmap(ofs), dir, dentry, NULL); in ovl_do_unlink()
205 pr_debug("unlink(%pd2) = %i\n", dentry, err); in ovl_do_unlink()
209 static inline int ovl_do_link(struct ovl_fs *ofs, struct dentry *old_dentr
191 ovl_do_rmdir(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry) ovl_do_rmdir() argument
200 ovl_do_unlink(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry) ovl_do_unlink() argument
219 ovl_do_create(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry, umode_t mode) ovl_do_create() argument
229 ovl_do_mkdir(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry, umode_t mode) ovl_do_mkdir() argument
238 ovl_do_mknod(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) ovl_do_mknod() argument
248 ovl_do_symlink(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry, const char *oldname) ovl_do_symlink() argument
295 ovl_do_setxattr(struct ovl_fs *ofs, struct dentry *dentry, const char *name, const void *value, size_t size, int flags) ovl_do_setxattr() argument
307 ovl_setxattr(struct ovl_fs *ofs, struct dentry *dentry, enum ovl_xattr ox, const void *value, size_t size) ovl_setxattr() argument
314 ovl_do_removexattr(struct ovl_fs *ofs, struct dentry *dentry, const char *name) ovl_do_removexattr() argument
322 ovl_removexattr(struct ovl_fs *ofs, struct dentry *dentry, enum ovl_xattr ox) ovl_removexattr() argument
328 ovl_do_set_acl(struct ovl_fs *ofs, struct dentry *dentry, const char *acl_name, struct posix_acl *acl) ovl_do_set_acl() argument
334 ovl_do_remove_acl(struct ovl_fs *ofs, struct dentry *dentry, const char *acl_name) ovl_do_remove_acl() argument
364 ovl_do_whiteout(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry) ovl_do_whiteout() argument
372 ovl_do_tmpfile(struct ovl_fs *ofs, struct dentry *dentry, umode_t mode) ovl_do_tmpfile() argument
716 ovl_get_acl(struct mnt_idmap *idmap, struct dentry *dentry, int type) ovl_get_acl() argument
[all...]
H A Dutil.c20 int ovl_want_write(struct dentry *dentry) in ovl_want_write() argument
22 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_want_write()
26 void ovl_drop_write(struct dentry *dentry) in ovl_drop_write() argument
28 struct ovl_fs *ofs = OVL_FS(dentry->d_sb); in ovl_drop_write()
32 struct dentry *ovl_workdir(struct dentry *dentry) in ovl_workdir() argument
34 struct ovl_fs *ofs = OVL_FS(dentry in ovl_workdir()
134 ovl_dentry_remote(struct dentry *dentry) ovl_dentry_remote() argument
139 ovl_dentry_update_reval(struct dentry *dentry, struct dentry *realdentry) ovl_dentry_update_reval() argument
149 ovl_dentry_init_reval(struct dentry *dentry, struct dentry *upperdentry, struct ovl_entry *oe) ovl_dentry_init_reval() argument
155 ovl_dentry_init_flags(struct dentry *dentry, struct dentry *upperdentry, struct ovl_entry *oe, unsigned int mask) ovl_dentry_init_flags() argument
172 ovl_dentry_weird(struct dentry *dentry) ovl_dentry_weird() argument
180 ovl_path_type(struct dentry *dentry) ovl_path_type() argument
205 ovl_path_upper(struct dentry *dentry, struct path *path) ovl_path_upper() argument
213 ovl_path_lower(struct dentry *dentry, struct path *path) ovl_path_lower() argument
226 ovl_path_lowerdata(struct dentry *dentry, struct path *path) ovl_path_lowerdata() argument
246 ovl_path_real(struct dentry *dentry, struct path *path) ovl_path_real() argument
258 ovl_path_realdata(struct dentry *dentry, struct path *path) ovl_path_realdata() argument
272 ovl_dentry_upper(struct dentry *dentry) ovl_dentry_upper() argument
277 ovl_dentry_lower(struct dentry *dentry) ovl_dentry_lower() argument
284 ovl_layer_lower(struct dentry *dentry) ovl_layer_lower() argument
297 ovl_dentry_lowerdata(struct dentry *dentry) ovl_dentry_lowerdata() argument
302 ovl_dentry_set_lowerdata(struct dentry *dentry, struct ovl_path *datapath) ovl_dentry_set_lowerdata() argument
325 ovl_dentry_real(struct dentry *dentry) ovl_dentry_real() argument
408 ovl_dentry_set_flag(unsigned long flag, struct dentry *dentry) ovl_dentry_set_flag() argument
413 ovl_dentry_clear_flag(unsigned long flag, struct dentry *dentry) ovl_dentry_clear_flag() argument
418 ovl_dentry_test_flag(unsigned long flag, struct dentry *dentry) ovl_dentry_test_flag() argument
423 ovl_dentry_is_opaque(struct dentry *dentry) ovl_dentry_is_opaque() argument
428 ovl_dentry_is_whiteout(struct dentry *dentry) ovl_dentry_is_whiteout() argument
433 ovl_dentry_set_opaque(struct dentry *dentry) ovl_dentry_set_opaque() argument
444 ovl_dentry_has_upper_alias(struct dentry *dentry) ovl_dentry_has_upper_alias() argument
449 ovl_dentry_set_upper_alias(struct dentry *dentry) ovl_dentry_set_upper_alias() argument
494 ovl_dentry_needs_data_copy_up_locked(struct dentry *dentry, int flags) ovl_dentry_needs_data_copy_up_locked() argument
502 ovl_dentry_needs_data_copy_up(struct dentry *dentry, int flags) ovl_dentry_needs_data_copy_up() argument
510 ovl_dentry_get_redirect(struct dentry *dentry) ovl_dentry_get_redirect() argument
515 ovl_dentry_set_redirect(struct dentry *dentry, const char *redirect) ovl_dentry_set_redirect() argument
540 ovl_dir_version_inc(struct dentry *dentry, bool impurity) ovl_dir_version_inc() argument
557 ovl_dir_modified(struct dentry *dentry, bool impurity) ovl_dir_modified() argument
571 ovl_is_whiteout(struct dentry *dentry) ovl_is_whiteout() argument
610 ovl_already_copied_up_locked(struct dentry *dentry, int flags) ovl_already_copied_up_locked() argument
622 ovl_already_copied_up(struct dentry *dentry, int flags) ovl_already_copied_up() argument
647 ovl_copy_up_start(struct dentry *dentry, int flags) ovl_copy_up_start() argument
661 ovl_copy_up_end(struct dentry *dentry) ovl_copy_up_end() argument
800 ovl_set_impure(struct dentry *dentry, struct dentry *upperdentry) ovl_set_impure() argument
905 ovl_inuse_trylock(struct dentry *dentry) ovl_inuse_trylock() argument
920 ovl_inuse_unlock(struct dentry *dentry) ovl_inuse_unlock() argument
932 ovl_is_inuse(struct dentry *dentry) ovl_is_inuse() argument
947 ovl_need_index(struct dentry *dentry) ovl_need_index() argument
966 ovl_cleanup_index(struct dentry *dentry) ovl_cleanup_index() argument
1032 ovl_nlink_start(struct dentry *dentry) ovl_nlink_start() argument
1085 ovl_nlink_end(struct dentry *dentry) ovl_nlink_end() argument
1189 ovl_is_metacopy_dentry(struct dentry *dentry) ovl_is_metacopy_dentry() argument
[all...]
H A Dexport.c19 static int ovl_encode_maybe_copy_up(struct dentry *dentry) in ovl_encode_maybe_copy_up() argument
23 if (ovl_dentry_upper(dentry)) in ovl_encode_maybe_copy_up()
26 err = ovl_want_write(dentry); in ovl_encode_maybe_copy_up()
28 err = ovl_copy_up(dentry); in ovl_encode_maybe_copy_up()
29 ovl_drop_write(dentry); in ovl_encode_maybe_copy_up()
34 dentry, err); in ovl_encode_maybe_copy_up()
42 * to check if it will be possible to reconnect an overlay dentry from the real
43 * lower decoded dentry. This is done by following the overlay ancestry up to a
52 * The overlay dentry /
77 ovl_connectable_layer(struct dentry *dentry) ovl_connectable_layer() argument
105 ovl_connect_layer(struct dentry *dentry) ovl_connect_layer() argument
184 ovl_check_encode_origin(struct dentry *dentry) ovl_check_encode_origin() argument
224 ovl_dentry_to_fid(struct ovl_fs *ofs, struct dentry *dentry, u32 *fid, int buflen) ovl_dentry_to_fid() argument
264 struct dentry *dentry; ovl_encode_fh() local
297 struct dentry *dentry; ovl_obtain_alias() local
352 ovl_dentry_real_at(struct dentry *dentry, int idx) ovl_dentry_real_at() argument
694 struct dentry *dentry; ovl_upper_fh_to_d() local
716 struct dentry *dentry = NULL; ovl_lower_fh_to_d() local
816 struct dentry *dentry = NULL; ovl_fh_to_dentry() local
871 ovl_get_parent(struct dentry *dentry) ovl_get_parent() argument
[all...]
H A Ddir.c24 static int ovl_set_redirect(struct dentry *dentry, bool samedir);
26 int ovl_cleanup(struct ovl_fs *ofs, struct inode *wdir, struct dentry *wdentry) in ovl_cleanup()
45 struct dentry *ovl_lookup_temp(struct ovl_fs *ofs, struct dentry *workdir) in ovl_lookup_temp()
47 struct dentry *temp; in ovl_lookup_temp()
65 static struct dentry *ovl_whiteout(struct ovl_fs *ofs) in ovl_whiteout()
68 struct dentry *whiteout; in ovl_whiteout()
69 struct dentry *workdir = ofs->workdir; in ovl_whiteout()
110 struct dentry *dentr in ovl_cleanup_and_whiteout()
109 ovl_cleanup_and_whiteout(struct ovl_fs *ofs, struct inode *dir, struct dentry *dentry) ovl_cleanup_and_whiteout() argument
144 struct dentry *d, *dentry = *newdentry; ovl_mkdir_real() local
234 ovl_set_opaque_xerr(struct dentry *dentry, struct dentry *upper, int xerr) ovl_set_opaque_xerr() argument
247 ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry) ovl_set_opaque() argument
262 ovl_instantiate(struct dentry *dentry, struct inode *inode, struct dentry *newdentry, bool hardlink) ovl_instantiate() argument
311 ovl_type_merge(struct dentry *dentry) ovl_type_merge() argument
316 ovl_type_origin(struct dentry *dentry) ovl_type_origin() argument
321 ovl_create_upper(struct dentry *dentry, struct inode *inode, struct ovl_cattr *attr) ovl_create_upper() argument
361 ovl_clear_empty(struct dentry *dentry, struct list_head *list) ovl_clear_empty() argument
445 ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode, struct ovl_cattr *cattr) ovl_create_over_whiteout() argument
554 ovl_create_or_link(struct dentry *dentry, struct inode *inode, struct ovl_cattr *attr, bool origin) ovl_create_or_link() argument
619 ovl_create_object(struct dentry *dentry, int mode, dev_t rdev, const char *link) ovl_create_object() argument
657 ovl_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) ovl_create() argument
663 ovl_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) ovl_mkdir() argument
669 ovl_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) ovl_mknod() argument
679 ovl_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *link) ovl_symlink() argument
685 ovl_set_link_redirect(struct dentry *dentry) ovl_set_link_redirect() argument
741 ovl_matches_upper(struct dentry *dentry, struct dentry *upper) ovl_matches_upper() argument
746 ovl_remove_and_whiteout(struct dentry *dentry, struct list_head *list) ovl_remove_and_whiteout() argument
800 ovl_remove_upper(struct dentry *dentry, bool is_dir, struct list_head *list) ovl_remove_upper() argument
852 ovl_pure_upper(struct dentry *dentry) ovl_pure_upper() argument
858 ovl_drop_nlink(struct dentry *dentry) ovl_drop_nlink() argument
880 ovl_do_remove(struct dentry *dentry, bool is_dir) ovl_do_remove() argument
936 ovl_unlink(struct inode *dir, struct dentry *dentry) ovl_unlink() argument
941 ovl_rmdir(struct inode *dir, struct dentry *dentry) ovl_rmdir() argument
946 ovl_type_merge_or_lower(struct dentry *dentry) ovl_type_merge_or_lower() argument
953 ovl_can_move(struct dentry *dentry) ovl_can_move() argument
959 ovl_get_redirect(struct dentry *dentry, bool abs_redirect) ovl_get_redirect() argument
1019 ovl_need_absolute_redirect(struct dentry *dentry, bool samedir) ovl_need_absolute_redirect() argument
1046 ovl_set_redirect(struct dentry *dentry, bool samedir) ovl_set_redirect() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
H A Dwl1251.h146 struct dentry *rootdir;
147 struct dentry *fw_statistics;
149 struct dentry *tx_internal_desc_overflow;
151 struct dentry *rx_out_of_mem;
152 struct dentry *rx_hdr_overflow;
153 struct dentry *rx_hw_stuck;
154 struct dentry *rx_dropped;
155 struct dentry *rx_fcs_err;
156 struct dentry *rx_xfr_hint_trig;
157 struct dentry *rx_path_rese
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/
H A Dwl1251.h146 struct dentry *rootdir;
147 struct dentry *fw_statistics;
149 struct dentry *tx_internal_desc_overflow;
151 struct dentry *rx_out_of_mem;
152 struct dentry *rx_hdr_overflow;
153 struct dentry *rx_hw_stuck;
154 struct dentry *rx_dropped;
155 struct dentry *rx_fcs_err;
156 struct dentry *rx_xfr_hint_trig;
157 struct dentry *rx_path_rese
[all...]
/kernel/linux/linux-5.10/fs/debugfs/
H A Dinode.c45 static int debugfs_setattr(struct dentry *dentry, struct iattr *ia) in debugfs_setattr() argument
54 return simple_setattr(dentry, ia); in debugfs_setattr()
183 static int debugfs_show_options(struct seq_file *m, struct dentry *root) in debugfs_show_options()
214 static void debugfs_release_dentry(struct dentry *dentry) in debugfs_release_dentry() argument
216 struct debugfs_fsdata *fsd = dentry->d_fsdata; in debugfs_release_dentry()
226 struct debugfs_fsdata *fsd = path->dentry->d_fsdata; in debugfs_automount()
228 return fsd->automount(path->dentry, d_inode(path->dentry) in debugfs_automount()
303 struct dentry *dentry; debugfs_lookup() local
320 struct dentry *dentry; start_creating() local
373 failed_creating(struct dentry *dentry) failed_creating() argument
381 end_creating(struct dentry *dentry) end_creating() argument
392 struct dentry *dentry; __debugfs_create_file() local
558 struct dentry *dentry = start_creating(name, parent); debugfs_create_dir() local
605 struct dentry *dentry = start_creating(name, parent); debugfs_create_automount() local
673 struct dentry *dentry; debugfs_create_symlink() local
700 __debugfs_file_removed(struct dentry *dentry) __debugfs_file_removed() argument
738 debugfs_remove(struct dentry *dentry) debugfs_remove() argument
760 struct dentry *dentry; debugfs_lookup_and_remove() local
794 struct dentry *dentry = NULL, *trap; debugfs_rename() local
[all...]
/kernel/linux/linux-6.6/fs/debugfs/
H A Dinode.c46 struct dentry *dentry, struct iattr *ia) in debugfs_setattr()
55 return simple_setattr(&nop_mnt_idmap, dentry, ia); in debugfs_setattr()
206 static int debugfs_show_options(struct seq_file *m, struct dentry *root) in debugfs_show_options()
237 static void debugfs_release_dentry(struct dentry *dentry) in debugfs_release_dentry() argument
239 struct debugfs_fsdata *fsd = dentry->d_fsdata; in debugfs_release_dentry()
249 struct debugfs_fsdata *fsd = path->dentry->d_fsdata; in debugfs_automount()
251 return fsd->automount(path->dentry, d_inode(path->dentry) in debugfs_automount()
45 debugfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *ia) debugfs_setattr() argument
326 struct dentry *dentry; debugfs_lookup() local
343 struct dentry *dentry; start_creating() local
396 failed_creating(struct dentry *dentry) failed_creating() argument
404 end_creating(struct dentry *dentry) end_creating() argument
415 struct dentry *dentry; __debugfs_create_file() local
591 struct dentry *dentry = start_creating(name, parent); debugfs_create_dir() local
638 struct dentry *dentry = start_creating(name, parent); debugfs_create_automount() local
706 struct dentry *dentry; debugfs_create_symlink() local
733 __debugfs_file_removed(struct dentry *dentry) __debugfs_file_removed() argument
771 debugfs_remove(struct dentry *dentry) debugfs_remove() argument
793 struct dentry *dentry; debugfs_lookup_and_remove() local
827 struct dentry *dentry = NULL, *trap; debugfs_rename() local
[all...]
/kernel/linux/linux-5.10/fs/autofs/
H A Dexpire.c10 /* Check if a dentry can be expired */
11 static inline int autofs_can_expire(struct dentry *dentry, in autofs_can_expire() argument
14 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_can_expire()
16 /* dentry in the process of being deleted */ in autofs_can_expire()
30 struct dentry *dentry, unsigned int how) in autofs_mount_busy()
32 struct dentry *top = dentry; in autofs_mount_busy()
33 struct path path = {.mnt = mnt, .dentry in autofs_mount_busy()
29 autofs_mount_busy(struct vfsmount *mnt, struct dentry *dentry, unsigned int how) autofs_mount_busy() argument
321 should_expire(struct dentry *dentry, struct vfsmount *mnt, unsigned long timeout, unsigned int how) should_expire() argument
427 struct dentry *dentry; autofs_expire_indirect() local
491 struct dentry *dentry = path->dentry; autofs_expire_wait() local
543 struct dentry *dentry; autofs_expire_run() local
578 struct dentry *dentry; autofs_do_expire_multi() local
[all...]
H A Droot.c13 static int autofs_dir_symlink(struct inode *, struct dentry *, const char *);
14 static int autofs_dir_unlink(struct inode *, struct dentry *);
15 static int autofs_dir_rmdir(struct inode *, struct dentry *);
16 static int autofs_dir_mkdir(struct inode *, struct dentry *, umode_t);
23 static struct dentry *autofs_lookup(struct inode *,
24 struct dentry *, unsigned int);
27 static void autofs_dentry_release(struct dentry *);
63 static void autofs_del_active(struct dentry *dentry) in autofs_del_active() argument
65 struct autofs_sb_info *sbi = autofs_sbi(dentry in autofs_del_active()
76 struct dentry *dentry = file->f_path.dentry; autofs_dir_open() local
126 autofs_lookup_active(struct dentry *dentry) autofs_lookup_active() argument
180 autofs_lookup_expiring(struct dentry *dentry, bool rcu_walk) autofs_lookup_expiring() argument
262 struct dentry *dentry = path->dentry; do_expire_wait() local
286 struct dentry *dentry = path->dentry; autofs_mountpoint_changed() local
311 struct dentry *dentry = path->dentry; autofs_d_automount() local
399 struct dentry *dentry = path->dentry; autofs_d_manage() local
474 autofs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) autofs_lookup() argument
527 autofs_dir_symlink(struct inode *dir, struct dentry *dentry, const char *symname) autofs_dir_symlink() argument
596 autofs_dir_unlink(struct inode *dir, struct dentry *dentry) autofs_dir_unlink() argument
641 autofs_set_leaf_automount_flags(struct dentry *dentry) autofs_set_leaf_automount_flags() argument
658 autofs_clear_leaf_automount_flags(struct dentry *dentry) autofs_clear_leaf_automount_flags() argument
676 autofs_dir_rmdir(struct inode *dir, struct dentry *dentry) autofs_dir_rmdir() argument
718 autofs_dir_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) autofs_dir_mkdir() argument
848 is_autofs_dentry(struct dentry *dentry) is_autofs_dentry() argument
[all...]
/kernel/linux/linux-5.10/fs/hmdfs/
H A Ddentry.c3 * fs/hmdfs/dentry.c
18 void hmdfs_set_time(struct dentry *dentry, unsigned long time) in hmdfs_set_time() argument
20 struct hmdfs_dentry_info *d_info = dentry->d_fsdata; in hmdfs_set_time()
26 unsigned long hmdfs_get_time(struct dentry *dentry) in hmdfs_get_time() argument
28 struct hmdfs_dentry_info *d_info = dentry->d_fsdata; in hmdfs_get_time()
36 struct dentry *target, in hmdfs_d_remote_revalidate()
37 struct dentry *parent) in hmdfs_d_remote_revalidate()
55 static inline void lock_for_dname_cmp(struct dentry *dentr argument
67 unlock_for_dname_cmp(struct dentry *dentry, struct dentry *lower_dentry) unlock_for_dname_cmp() argument
170 hmdfs_dev_d_release(struct dentry *dentry) hmdfs_dev_d_release() argument
211 hmdfs_d_release(struct dentry *dentry) hmdfs_d_release() argument
223 hmdfs_cmp_ci(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name) hmdfs_cmp_ci() argument
241 hmdfs_hash_ci(const struct dentry *dentry, struct qstr *qstr) hmdfs_hash_ci() argument
270 clear_comrades(struct dentry *dentry) clear_comrades() argument
332 d_release_merge(struct dentry *dentry) d_release_merge() argument
[all...]
/kernel/linux/linux-5.10/fs/ocfs2/
H A Ddcache.c7 * dentry cache handling code
28 void ocfs2_dentry_attach_gen(struct dentry *dentry) in ocfs2_dentry_attach_gen() argument
31 OCFS2_I(d_inode(dentry->d_parent))->ip_dir_lock_gen; in ocfs2_dentry_attach_gen()
32 BUG_ON(d_inode(dentry)); in ocfs2_dentry_attach_gen()
33 dentry->d_fsdata = (void *)gen; in ocfs2_dentry_attach_gen()
37 static int ocfs2_dentry_revalidate(struct dentry *dentry, unsigned int flags) in ocfs2_dentry_revalidate() argument
46 inode = d_inode(dentry); in ocfs2_dentry_revalidate()
47 osb = OCFS2_SB(dentry in ocfs2_dentry_revalidate()
114 ocfs2_match_dentry(struct dentry *dentry, u64 parent_blkno, int skip_unhashed) ocfs2_match_dentry() argument
158 struct dentry *dentry; ocfs2_find_local_alias() local
212 ocfs2_dentry_attach_lock(struct dentry *dentry, struct inode *inode, u64 parent_blkno) ocfs2_dentry_attach_lock() argument
392 ocfs2_dentry_iput(struct dentry *dentry, struct inode *inode) ocfs2_dentry_iput() argument
442 ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, struct inode *old_dir, struct inode *new_dir) ocfs2_dentry_move() argument
[all...]
/kernel/linux/linux-6.6/fs/hmdfs/
H A Ddentry.c3 * fs/hmdfs/dentry.c
18 void hmdfs_set_time(struct dentry *dentry, unsigned long time) in hmdfs_set_time() argument
20 struct hmdfs_dentry_info *d_info = dentry->d_fsdata; in hmdfs_set_time()
26 unsigned long hmdfs_get_time(struct dentry *dentry) in hmdfs_get_time() argument
28 struct hmdfs_dentry_info *d_info = dentry->d_fsdata; in hmdfs_get_time()
36 struct dentry *target, in hmdfs_d_remote_revalidate()
37 struct dentry *parent) in hmdfs_d_remote_revalidate()
55 static inline void lock_for_dname_cmp(struct dentry *dentr argument
67 unlock_for_dname_cmp(struct dentry *dentry, struct dentry *lower_dentry) unlock_for_dname_cmp() argument
170 hmdfs_dev_d_release(struct dentry *dentry) hmdfs_dev_d_release() argument
211 hmdfs_d_release(struct dentry *dentry) hmdfs_d_release() argument
223 hmdfs_cmp_ci(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *name) hmdfs_cmp_ci() argument
241 hmdfs_hash_ci(const struct dentry *dentry, struct qstr *qstr) hmdfs_hash_ci() argument
270 clear_comrades(struct dentry *dentry) clear_comrades() argument
332 d_release_merge(struct dentry *dentry) d_release_merge() argument
[all...]
/kernel/linux/linux-6.6/fs/ocfs2/
H A Ddcache.c5 * dentry cache handling code
26 void ocfs2_dentry_attach_gen(struct dentry *dentry) in ocfs2_dentry_attach_gen() argument
29 OCFS2_I(d_inode(dentry->d_parent))->ip_dir_lock_gen; in ocfs2_dentry_attach_gen()
30 BUG_ON(d_inode(dentry)); in ocfs2_dentry_attach_gen()
31 dentry->d_fsdata = (void *)gen; in ocfs2_dentry_attach_gen()
35 static int ocfs2_dentry_revalidate(struct dentry *dentry, unsigned int flags) in ocfs2_dentry_revalidate() argument
44 inode = d_inode(dentry); in ocfs2_dentry_revalidate()
45 osb = OCFS2_SB(dentry in ocfs2_dentry_revalidate()
112 ocfs2_match_dentry(struct dentry *dentry, u64 parent_blkno, int skip_unhashed) ocfs2_match_dentry() argument
156 struct dentry *dentry; ocfs2_find_local_alias() local
210 ocfs2_dentry_attach_lock(struct dentry *dentry, struct inode *inode, u64 parent_blkno) ocfs2_dentry_attach_lock() argument
390 ocfs2_dentry_iput(struct dentry *dentry, struct inode *inode) ocfs2_dentry_iput() argument
440 ocfs2_dentry_move(struct dentry *dentry, struct dentry *target, struct inode *old_dir, struct inode *new_dir) ocfs2_dentry_move() argument
[all...]
/kernel/linux/linux-6.6/fs/autofs/
H A Dexpire.c10 /* Check if a dentry can be expired */
11 static inline int autofs_can_expire(struct dentry *dentry, in autofs_can_expire() argument
14 struct autofs_info *ino = autofs_dentry_ino(dentry); in autofs_can_expire()
16 /* dentry in the process of being deleted */ in autofs_can_expire()
30 struct dentry *dentry, unsigned int how) in autofs_mount_busy()
32 struct dentry *top = dentry; in autofs_mount_busy()
33 struct path path = {.mnt = mnt, .dentry in autofs_mount_busy()
29 autofs_mount_busy(struct vfsmount *mnt, struct dentry *dentry, unsigned int how) autofs_mount_busy() argument
321 should_expire(struct dentry *dentry, struct vfsmount *mnt, unsigned long timeout, unsigned int how) should_expire() argument
427 struct dentry *dentry; autofs_expire_indirect() local
491 struct dentry *dentry = path->dentry; autofs_expire_wait() local
543 struct dentry *dentry; autofs_expire_run() local
578 struct dentry *dentry; autofs_do_expire_multi() local
[all...]
/kernel/linux/linux-5.10/fs/sharefs/
H A Dinode.c23 sharefs_get_lower_path(path->dentry, &lower_path); in sharefs_getattr()
25 stat->ino = d_inode(path->dentry)->i_ino; in sharefs_getattr()
26 stat->uid = d_inode(path->dentry)->i_uid; in sharefs_getattr()
27 stat->gid = d_inode(path->dentry)->i_gid; in sharefs_getattr()
28 stat->mode = d_inode(path->dentry)->i_mode; in sharefs_getattr()
31 sharefs_put_lower_path(path->dentry, &lower_path); in sharefs_getattr()
36 static ssize_t sharefs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) in sharefs_listxattr() argument
39 struct dentry *lower_dentry; in sharefs_listxattr()
42 sharefs_get_lower_path(dentry, in sharefs_listxattr()
80 sharefs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool want_excl) sharefs_create() argument
116 sharefs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) sharefs_mkdir() argument
154 sharefs_unlink(struct inode *dir, struct dentry *dentry) sharefs_unlink() argument
183 sharefs_rmdir(struct inode *dir, struct dentry *dentry) sharefs_rmdir() argument
267 sharefs_setattr(struct dentry *dentry, struct iattr *ia) sharefs_setattr() argument
[all...]

Completed in 21 milliseconds

12345678910>>...131