Searched refs:kernfs_root (Results 1 – 13 of 13) sorted by relevance
40 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 …]
30 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()
34 struct kernfs_root { struct71 static inline struct kernfs_root *kernfs_root(const struct kernfs_node *kn) in kernfs_root() function92 struct kernfs_root *root;109 return lockdep_is_held(&kernfs_root(kn)->kernfs_rwsem); in kernfs_root_is_locked()114 return lockdep_is_held(&kernfs_root(kn)->kernfs_rename_lock); in kernfs_rename_is_locked()
103 struct kernfs_root *root = kernfs_root(kn); in kernfs_setattr()116 struct kernfs_root *root; in kernfs_iop_setattr()122 root = kernfs_root(kn); in kernfs_iop_setattr()191 struct kernfs_root *root = kernfs_root(kn); in kernfs_iop_getattr()280 struct kernfs_root *root; in kernfs_iop_permission()287 root = kernfs_root(kn); in kernfs_iop_permission()420 if (!(kernfs_root(kn)->flags & KERNFS_ROOT_SUPPORT_USER_XATTR)) in kernfs_vfs_user_xattr_set()
117 struct kernfs_root *root = kernfs_root(kn); in kernfs_getlink()
613 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()
168 struct kernfs_root *root;244 int (*show_options)(struct seq_file *sf, struct kernfs_root *root);252 struct kernfs_root *root);255 struct kernfs_node *kernfs_root_to_node(struct kernfs_root *root);334 struct kernfs_root *root; /* Root of the hierarchy being mounted */419 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb);424 struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops,426 void kernfs_destroy_root(struct kernfs_root *root);474 struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root,515 static inline struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()[all …]
647 struct kernfs_root *kf_root;
227 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root);268 struct kernfs_root *kf_root);
883 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()
1324 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in cgroup_root_from_kf()1959 struct kernfs_root *kf_root) in cgroup_show_path()2078 static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup_show_options()2377 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb()
23 static struct kernfs_root *sysfs_root;
36 static struct kernfs_root *rdt_root;4226 static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf) in rdtgroup_show_options()