Home
last modified time | relevance | path

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

/linux/fs/kernfs/
H A Ddir.c40 lockdep_assert_held(&kernfs_root(kn)->kernfs_rwsem); in kernfs_active()
69 struct kernfs_root *ra = kernfs_root(a), *rb = kernfs_root(b); in kernfs_common_ancestor()
139 kn_from = kernfs_root(kn_to)->kn; in kernfs_path_from_node_locked()
225 struct kernfs_root *root; in kernfs_path_from_node()
229 root = kernfs_root(to); in kernfs_path_from_node()
298 struct kernfs_root *root; in kernfs_get_parent()
301 root = kernfs_root(kn); in kernfs_get_parent()
411 down_write(&kernfs_root(kn)->kernfs_iattr_rwsem); in kernfs_link_sibling()
415 up_write(&kernfs_root(kn)->kernfs_iattr_rwsem); in kernfs_link_sibling()
441 down_write(&kernfs_root(kn)->kernfs_iattr_rwsem); in kernfs_unlink_sibling()
[all …]
H A Dmount.c30 struct kernfs_root *root = kernfs_root(kernfs_dentry_node(dentry)); in kernfs_sop_show_options()
41 struct kernfs_root *root = kernfs_root(node); in kernfs_sop_show_path()
163 struct kernfs_root *root = kernfs_root(kn); in kernfs_get_parent_dentry()
183 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()
227 struct kernfs_root *root; in kernfs_node_dentry()
237 root = kernfs_root(kn); in kernfs_node_dentry()
286 struct kernfs_root *kf_root = kfc->root; in kernfs_fill_super()
388 struct kernfs_root *root = kfc->root; in kernfs_get_tree()
430 struct kernfs_root *root = info->root; in kernfs_kill_sb()
H A Dkernfs-internal.h33 struct kernfs_root { struct
70 static inline struct kernfs_root *kernfs_root(const struct kernfs_node *kn) in kernfs_root() function
91 struct kernfs_root *root;
108 return lockdep_is_held(&kernfs_root(kn)->kernfs_rwsem); in kernfs_root_is_locked()
113 return lockdep_is_held(&kernfs_root(kn)->kernfs_rename_lock); in kernfs_rename_is_locked()
H A Dfile.c613 struct kernfs_root *root = kernfs_root(kn); in kernfs_fop_open()
916 struct kernfs_root *root; in kernfs_notify_workfn()
929 root = kernfs_root(kn); in kernfs_notify_workfn()
934 list_for_each_entry(info, &kernfs_root(kn)->supers, node) { in kernfs_notify_workfn()
/linux/include/linux/
H A Dkernfs.h166 struct kernfs_root *root;
242 int (*show_options)(struct seq_file *sf, struct kernfs_root *root);
250 struct kernfs_root *root);
253 struct kernfs_node *kernfs_root_to_node(struct kernfs_root *root);
332 struct kernfs_root *root; /* Root of the hierarchy being mounted */
417 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb);
422 struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops,
424 void kernfs_destroy_root(struct kernfs_root *root);
472 struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root,
513 static inline struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()
[all …]
/linux/fs/sysfs/
H A Dmount.c23 static struct kernfs_root *sysfs_root;
/linux/kernel/cgroup/
H A Dcgroup-v1.c883 static int cgroup1_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup1_show_options()
1095 struct kernfs_root *kf_root = kernfs_root_from_sb(fc->root->d_sb); in cgroup1_reconfigure()
H A Dcgroup.c1275 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in cgroup_root_from_kf()
1910 struct kernfs_root *kf_root) in cgroup_show_path()
2029 static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup_show_options()
2338 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb()