Home
last modified time | relevance | path

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

/linux-6.1.9/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()
460 wake_up_all(&kernfs_root(kn)->deactivate_waitq); in kernfs_put_active()
472 __releases(&kernfs_root(kn)->kernfs_rwsem) in kernfs_drain()
473 __acquires(&kernfs_root(kn)->kernfs_rwsem) in kernfs_drain()
475 struct kernfs_root *root = kernfs_root(kn); in kernfs_drain()
534 struct kernfs_root *root; in kernfs_put()
538 root = kernfs_root(kn); in kernfs_put()
594 static struct kernfs_node *__kernfs_new_node(struct kernfs_root *root, in __kernfs_new_node()
[all …]
Dmount.c27 struct kernfs_root *root = kernfs_root(kernfs_dentry_node(dentry)); in kernfs_sop_show_options()
38 struct kernfs_root *root = kernfs_root(node); in kernfs_sop_show_path()
159 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()
240 struct kernfs_root *kf_root = kfc->root; in kernfs_fill_super()
339 struct kernfs_root *root = kfc->root; in kernfs_get_tree()
377 struct kernfs_root *root = info->root; in kernfs_kill_sb()
Dkernfs-internal.h34 struct kernfs_root { struct
63 static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) in kernfs_root() function
81 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()
190 struct kernfs_root *root = kernfs_root(kn); in kernfs_iop_getattr()
281 struct kernfs_root *root; in kernfs_iop_permission()
288 root = kernfs_root(kn); in kernfs_iop_permission()
407 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.c638 struct kernfs_root *root = kernfs_root(kn); in kernfs_fop_open()
906 struct kernfs_root *root; in kernfs_notify_workfn()
919 root = kernfs_root(kn); in kernfs_notify_workfn()
923 list_for_each_entry(info, &kernfs_root(kn)->supers, node) { in kernfs_notify_workfn()
/linux-6.1.9/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.h520 struct kernfs_root *kf_root;
/linux-6.1.9/kernel/cgroup/
Dcgroup-internal.h226 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root);
264 struct kernfs_root *kf_root);
Dcgroup-v1.c863 static int cgroup1_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup1_show_options()
1073 struct kernfs_root *kf_root = kernfs_root_from_sb(fc->root->d_sb); in cgroup1_reconfigure()
Dcgroup.c1304 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in cgroup_root_from_kf()
1882 struct kernfs_root *kf_root) in cgroup_show_path()
1974 static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup_show_options()
2262 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb()
/linux-6.1.9/fs/sysfs/
Dmount.c23 static struct kernfs_root *sysfs_root;
/linux-6.1.9/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c38 static struct kernfs_root *rdt_root;
3234 static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf) in rdtgroup_show_options()