Searched refs:kernfs_root (Results 1 – 10 of 10) sorted by relevance
39 lockdep_assert_held(&kernfs_root(kn)->kernfs_rwsem); in kernfs_active()68 struct kernfs_root *ra = kernfs_root(a), *rb = kernfs_root(b); in kernfs_common_ancestor()138 kn_from = kernfs_root(kn_to)->kn; in kernfs_path_from_node_locked()224 struct kernfs_root *root; in kernfs_path_from_node()228 root = kernfs_root(to); in kernfs_path_from_node()297 struct kernfs_root *root; in kernfs_get_parent()300 root = kernfs_root(kn); in kernfs_get_parent()394 down_write(&kernfs_root(kn)->kernfs_iattr_rwsem); in kernfs_link_sibling()398 up_write(&kernfs_root(kn)->kernfs_iattr_rwsem); in kernfs_link_sibling()424 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()
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()
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()
1327 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in cgroup_root_from_kf()1962 struct kernfs_root *kf_root) in cgroup_show_path()2081 static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup_show_options()2379 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb()
23 static struct kernfs_root *sysfs_root;
638 struct kernfs_root *kf_root;