Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dkernfs.h100 struct kernfs_root *root;
169 int (*show_options)(struct seq_file *sf, struct kernfs_root *root);
177 struct kernfs_root *root);
180 struct kernfs_root { struct
277 struct kernfs_root *root; /* Root of the hierarchy being mounted */
360 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb);
365 struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops,
367 void kernfs_destroy_root(struct kernfs_root *root);
411 struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root,
452 static inline struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()
[all …]
Dcgroup-defs.h495 struct kernfs_root *kf_root;
/Linux-v5.10/fs/kernfs/
Ddir.c66 struct kernfs_root *ra = kernfs_root(a), *rb = kernfs_root(b); in kernfs_common_ancestor()
135 kn_from = kernfs_root(kn_to)->kn; in kernfs_path_from_node_locked()
446 wake_up_all(&kernfs_root(kn)->deactivate_waitq); in kernfs_put_active()
460 struct kernfs_root *root = kernfs_root(kn); in kernfs_drain()
509 struct kernfs_root *root; in kernfs_put()
513 root = kernfs_root(kn); in kernfs_put()
613 static struct kernfs_node *__kernfs_new_node(struct kernfs_root *root, in __kernfs_new_node()
689 kn = __kernfs_new_node(kernfs_root(parent), parent, in kernfs_new_node()
709 struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root, in kernfs_find_and_get_node_by_id()
807 if (!(kernfs_root(kn)->flags & KERNFS_ROOT_CREATE_DEACTIVATED)) in kernfs_add_one()
[all …]
Dkernfs-internal.h44 static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) in kernfs_root() function
62 struct kernfs_root *root;
Dmount.c26 struct kernfs_root *root = kernfs_root(kernfs_dentry_node(dentry)); in kernfs_sop_show_options()
37 struct kernfs_root *root = kernfs_root(node); in kernfs_sop_show_path()
158 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()
Dfile.c619 struct kernfs_root *root = kernfs_root(kn); in kernfs_fop_open()
884 list_for_each_entry(info, &kernfs_root(kn)->supers, node) { in kernfs_notify_workfn()
Dinode.c396 if (!(kernfs_root(kn)->flags & KERNFS_ROOT_SUPPORT_USER_XATTR)) in kernfs_vfs_user_xattr_set()
/Linux-v5.10/kernel/cgroup/
Dcgroup-internal.h210 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root);
245 struct kernfs_root *kf_root);
Dcgroup-v1.c849 static int cgroup1_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup1_show_options()
1038 struct kernfs_root *kf_root = kernfs_root_from_sb(fc->root->d_sb); in cgroup1_reconfigure()
Dcgroup.c1274 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in cgroup_root_from_kf()
1780 struct kernfs_root *kf_root) in cgroup_show_path()
1864 static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup_show_options()
2139 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb()
/Linux-v5.10/fs/sysfs/
Dmount.c23 static struct kernfs_root *sysfs_root;
/Linux-v5.10/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c38 static struct kernfs_root *rdt_root;
3151 static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf) in rdtgroup_show_options()