Home
last modified time | relevance | path

Searched refs:kernfs_root (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/fs/kernfs/
Ddir.c41 lockdep_assert_held(&kernfs_root(kn)->kernfs_rwsem); in kernfs_active()
78 struct kernfs_root *ra = kernfs_root(a), *rb = kernfs_root(b); in kernfs_common_ancestor()
147 kn_from = kernfs_root(kn_to)->kn; in kernfs_path_from_node_locked()
386 down_write(&kernfs_root(kn)->kernfs_iattr_rwsem); in kernfs_link_sibling()
390 up_write(&kernfs_root(kn)->kernfs_iattr_rwsem); in kernfs_link_sibling()
413 down_write(&kernfs_root(kn)->kernfs_iattr_rwsem); in kernfs_unlink_sibling()
417 up_write(&kernfs_root(kn)->kernfs_iattr_rwsem); in kernfs_unlink_sibling()
467 wake_up_all(&kernfs_root(kn)->deactivate_waitq); in kernfs_put_active()
479 __releases(&kernfs_root(kn)->kernfs_rwsem) in kernfs_drain()
480 __acquires(&kernfs_root(kn)->kernfs_rwsem) in kernfs_drain()
[all …]
Dmount.c29 struct kernfs_root *root = kernfs_root(kernfs_dentry_node(dentry)); in kernfs_sop_show_options()
40 struct kernfs_root *root = kernfs_root(node); in kernfs_sop_show_path()
168 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()
251 struct kernfs_root *kf_root = kfc->root; in kernfs_fill_super()
352 struct kernfs_root *root = kfc->root; in kernfs_get_tree()
392 struct kernfs_root *root = info->root; in kernfs_kill_sb()
Dkernfs-internal.h34 struct kernfs_root { struct
65 static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) in kernfs_root() function
83 struct kernfs_root *root;
Dinode.c102 struct kernfs_root *root = kernfs_root(kn); in kernfs_setattr()
115 struct kernfs_root *root; in kernfs_iop_setattr()
121 root = kernfs_root(kn); in kernfs_iop_setattr()
189 struct kernfs_root *root = kernfs_root(kn); in kernfs_iop_getattr()
278 struct kernfs_root *root; in kernfs_iop_permission()
285 root = kernfs_root(kn); in kernfs_iop_permission()
414 if (!(kernfs_root(kn)->flags & KERNFS_ROOT_SUPPORT_USER_XATTR)) in kernfs_vfs_user_xattr_set()
Dsymlink.c116 struct kernfs_root *root = kernfs_root(parent); in kernfs_getlink()
Dfile.c642 struct kernfs_root *root = kernfs_root(kn); in kernfs_fop_open()
910 struct kernfs_root *root; in kernfs_notify_workfn()
923 root = kernfs_root(kn); in kernfs_notify_workfn()
927 list_for_each_entry(info, &kernfs_root(kn)->supers, node) { in kernfs_notify_workfn()
/linux-6.6.21/include/linux/
Dkernfs.h162 struct kernfs_root *root;
236 int (*show_options)(struct seq_file *sf, struct kernfs_root *root);
244 struct kernfs_root *root);
247 struct kernfs_node *kernfs_root_to_node(struct kernfs_root *root);
325 struct kernfs_root *root; /* Root of the hierarchy being mounted */
408 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb);
413 struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops,
415 void kernfs_destroy_root(struct kernfs_root *root);
460 struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root,
501 static inline struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()
[all …]
Dcgroup-defs.h538 struct kernfs_root *kf_root;
/linux-6.6.21/kernel/cgroup/
Dcgroup-internal.h224 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root);
262 struct kernfs_root *kf_root);
Dcgroup-v1.c862 static int cgroup1_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup1_show_options()
1072 struct kernfs_root *kf_root = kernfs_root_from_sb(fc->root->d_sb); in cgroup1_reconfigure()
Dcgroup.c1272 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in cgroup_root_from_kf()
1874 struct kernfs_root *kf_root) in cgroup_show_path()
1966 static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup_show_options()
2254 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb()
/linux-6.6.21/fs/sysfs/
Dmount.c23 static struct kernfs_root *sysfs_root;
/linux-6.6.21/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c38 static struct kernfs_root *rdt_root;
3648 static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf) in rdtgroup_show_options()