Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/fs/kernfs/
H A 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(k in kernfs_put_active()
479 __releases(&kernfs_root(kn)->kernfs_rwsem) kernfs_root() function
[all...]
H A 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()
162 * kernfs_root_from_sb - determine kernfs_root associated with a super_block
165 * Return: the kernfs_root associated with @sb. If @sb is not a kernfs one,
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 *roo in kernfs_kill_sb()
[all...]
H A Dkernfs-internal.h34 struct kernfs_root { struct
60 * kernfs_root - find out the kernfs_root a kernfs_node belongs to
63 * Return: the kernfs_root @kn belongs to.
65 static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) in kernfs_root() function
83 struct kernfs_root *root;
93 /* anchored at kernfs_root->supers, protected by kernfs_rwsem */
H A 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()
H A Dsymlink.c116 struct kernfs_root *root = kernfs_root(parent); in kernfs_getlink()
H A 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()
/kernel/linux/linux-5.10/include/linux/
H A 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_s
[all...]
H A Dcgroup-defs.h492 * associated with a kernfs_root to form an active hierarchy. This is
496 struct kernfs_root *kf_root;
/kernel/linux/linux-6.6/include/linux/
H A 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_s
[all...]
H A Dcgroup-defs.h534 * associated with a kernfs_root to form an active hierarchy. This is
538 struct kernfs_root *kf_root;
/kernel/linux/linux-5.10/fs/kernfs/
H A Dkernfs-internal.h39 * kernfs_root - find out the kernfs_root a kernfs_node belongs to
42 * Return the kernfs_root @kn belongs to.
44 static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) in kernfs_root() function
62 struct kernfs_root *root;
72 /* anchored at kernfs_root->supers, protected by kernfs_mutex */
H A Ddir.c74 struct kernfs_root *ra = kernfs_root(a), *rb = kernfs_root(b); in kernfs_common_ancestor()
143 kn_from = kernfs_root(kn_to)->kn; in kernfs_path_from_node_locked()
454 wake_up_all(&kernfs_root(kn)->deactivate_waitq); in kernfs_put_active()
468 struct kernfs_root *root = kernfs_root(kn);
517 struct kernfs_root *root; in kernfs_put()
521 root = kernfs_root(kn); in kernfs_put()
621 static struct kernfs_node *__kernfs_new_node(struct kernfs_root *roo
[all...]
H A 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()
152 * kernfs_root_from_sb - determine kernfs_root associated with a super_block
155 * Return the kernfs_root associated with @sb. If @sb is not a kernfs one,
158 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()
H A Dfile.c600 struct kernfs_root *root = kernfs_root(kn); in kernfs_fop_open()
865 list_for_each_entry(info, &kernfs_root(kn)->supers, node) { in kernfs_notify_workfn()
H A Dinode.c396 if (!(kernfs_root(kn)->flags & KERNFS_ROOT_SUPPORT_USER_XATTR)) in kernfs_vfs_user_xattr_set()
/kernel/linux/linux-5.10/kernel/cgroup/
H A Dcgroup-internal.h228 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root);
263 struct kernfs_root *kf_root);
H A Dcgroup-v1.c876 static int cgroup1_show_options(struct seq_file *seq, struct kernfs_root *kf_root)
1074 struct kernfs_root *kf_root = kernfs_root_from_sb(fc->root->d_sb);
H A Dcgroup.c1277 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in cgroup_root_from_kf()
1820 struct kernfs_root *kf_root) in cgroup_show_path()
1904 static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup_show_options()
2180 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb()
/kernel/linux/linux-6.6/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.c867 static int cgroup1_show_options(struct seq_file *seq, struct kernfs_root *kf_root)
1077 struct kernfs_root *kf_root = kernfs_root_from_sb(fc->root->d_sb);
H A 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()
/kernel/linux/linux-5.10/fs/sysfs/
H A Dmount.c23 static struct kernfs_root *sysfs_root;
/kernel/linux/linux-6.6/fs/sysfs/
H A Dmount.c23 static struct kernfs_root *sysfs_root;
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/
H A Drdtgroup.c38 static struct kernfs_root *rdt_root;
3142 static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf) in rdtgroup_show_options()
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/resctrl/
H A Drdtgroup.c38 static struct kernfs_root *rdt_root;
3650 static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf) in rdtgroup_show_options()

Completed in 76 milliseconds