Searched refs:kernfs_root (Results 1 - 13 of 13) sorted by path

/linux-master/arch/x86/kernel/cpu/resctrl/
H A Drdtgroup.c42 static struct kernfs_root *rdt_root;
3872 static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf)
/linux-master/fs/kernfs/
H A Ddir.c41 lockdep_assert_held(&kernfs_root(kn)->kernfs_rwsem);
78 struct kernfs_root *ra = kernfs_root(a), *rb = kernfs_root(b);
148 kn_from = kernfs_root(kn_to)->kn;
386 down_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
390 up_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
413 down_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
417 up_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
467 wake_up_all(&kernfs_root(k
479 __releases(&kernfs_root(kn)->kernfs_rwsem) function
[all...]
H A Dfile.c595 struct kernfs_root *root = kernfs_root(kn);
897 struct kernfs_root *root;
910 root = kernfs_root(kn);
914 list_for_each_entry(info, &kernfs_root(kn)->supers, node) {
H A Dinode.c102 struct kernfs_root *root = kernfs_root(kn);
115 struct kernfs_root *root;
121 root = kernfs_root(kn);
189 struct kernfs_root *root = kernfs_root(kn);
278 struct kernfs_root *root;
285 root = kernfs_root(kn);
414 if (!(kernfs_root(kn)->flags & KERNFS_ROOT_SUPPORT_USER_XATTR))
H A Dkernfs-internal.h34 struct kernfs_root { struct
62 * kernfs_root - find out the kernfs_root a kernfs_node belongs to
65 * Return: the kernfs_root @kn belongs to.
67 static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) function
85 struct kernfs_root *root;
95 /* anchored at kernfs_root->supers, protected by kernfs_rwsem */
H A Dmount.c30 struct kernfs_root *root = kernfs_root(kernfs_dentry_node(dentry));
41 struct kernfs_root *root = kernfs_root(node);
160 * kernfs_root_from_sb - determine kernfs_root associated with a super_block
163 * Return: the kernfs_root associated with @sb. If @sb is not a kernfs one,
166 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb)
249 struct kernfs_root *kf_root = kfc->root;
350 struct kernfs_root *root = kfc->root;
392 struct kernfs_root *roo
[all...]
H A Dsymlink.c116 struct kernfs_root *root = kernfs_root(parent);
/linux-master/fs/sysfs/
H A Dmount.c23 static struct kernfs_root *sysfs_root;
/linux-master/include/linux/
H A Dcgroup-defs.h553 * associated with a kernfs_root to form an active hierarchy. This is
557 struct kernfs_root *kf_root;
H A Dkernfs.h162 struct kernfs_root *root;
238 int (*show_options)(struct seq_file *sf, struct kernfs_root *root);
246 struct kernfs_root *root);
249 struct kernfs_node *kernfs_root_to_node(struct kernfs_root *root);
328 struct kernfs_root *root; /* Root of the hierarchy being mounted */
411 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb);
416 struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops,
418 void kernfs_destroy_root(struct kernfs_root *root);
463 struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root,
504 static inline struct kernfs_root *kernfs_root_from_s
[all...]
/linux-master/kernel/cgroup/
H A Dcgroup-internal.h224 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root);
262 struct kernfs_root *kf_root);
H A Dcgroup-v1.c862 static int cgroup1_show_options(struct seq_file *seq, struct kernfs_root *kf_root)
1072 struct kernfs_root *kf_root = kernfs_root_from_sb(fc->root->d_sb);
H A Dcgroup.c1274 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root)
1893 struct kernfs_root *kf_root)
1995 static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root)
2285 struct kernfs_root *kf_root = kernfs_root_from_sb(sb);

Completed in 276 milliseconds