Searched refs:kernfs_root (Results 1 – 10 of 10) sorted by relevance
42 lockdep_assert_held(&kernfs_root(kn)->kernfs_rwsem); in kernfs_active()71 struct kernfs_root *ra = kernfs_root(a), *rb = kernfs_root(b); in kernfs_common_ancestor()141 kn_from = kernfs_root(kn_to)->kn; in kernfs_path_from_node_locked()227 struct kernfs_root *root; in kernfs_path_from_node()231 root = kernfs_root(to); in kernfs_path_from_node()300 struct kernfs_root *root; in kernfs_get_parent()303 root = kernfs_root(kn); in kernfs_get_parent()413 down_write(&kernfs_root(kn)->kernfs_iattr_rwsem); in kernfs_link_sibling()417 up_write(&kernfs_root(kn)->kernfs_iattr_rwsem); in kernfs_link_sibling()443 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()173 struct kernfs_root *root = kernfs_root(kn); in kernfs_get_parent_dentry()193 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb()237 struct kernfs_root *root; in kernfs_node_dentry()247 root = kernfs_root(kn); in kernfs_node_dentry()296 struct kernfs_root *kf_root = kfc->root; in kernfs_fill_super()398 struct kernfs_root *root = kfc->root; in kernfs_get_tree()440 struct kernfs_root *root = info->root; in kernfs_kill_sb()
102 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()188 struct kernfs_root *root = kernfs_root(kn); in kernfs_iop_getattr()277 struct kernfs_root *root; in kernfs_iop_permission()284 root = kernfs_root(kn); in kernfs_iop_permission()298 struct simple_xattr_cache *cache = &kernfs_root(kn)->xa_cache; in kernfs_xattr_get()311 struct simple_xattr_cache *cache = &kernfs_root(kn)->xa_cache; in kernfs_xattr_set()366 if (!(kernfs_root(kn)->flags & KERNFS_ROOT_SUPPORT_USER_XATTR)) in kernfs_vfs_user_xattr_set()376 return simple_xattr_set_limited(&kernfs_root(kn)->xa_cache, in kernfs_vfs_user_xattr_set()
33 struct kernfs_root { struct72 static inline struct kernfs_root *kernfs_root(const struct kernfs_node *kn) in kernfs_root() function93 struct kernfs_root *root;110 return lockdep_is_held(&kernfs_root(kn)->kernfs_rwsem); in kernfs_root_is_locked()115 return lockdep_is_held(&kernfs_root(kn)->kernfs_rename_lock); in kernfs_rename_is_locked()
41 scoped_guard(rwsem_read, &kernfs_root(target)->kernfs_iattr_rwsem) { in kernfs_create_link()128 struct kernfs_root *root = kernfs_root(kn); in kernfs_getlink()
620 struct kernfs_root *root = kernfs_root(kn); in kernfs_fop_open()924 struct kernfs_root *root; in kernfs_notify_workfn()939 root = kernfs_root(kn); in kernfs_notify_workfn()
663 * associated with a kernfs_root to form an active hierarchy. This is667 struct kernfs_root *kf_root;
877 static int cgroup1_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup1_rename() 1089 struct kernfs_root *kf_root = kernfs_root_from_sb(fc->root->d_sb); in check_cgroupfs_options()
1295 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in find_css_set() 1952 struct kernfs_root *kf_root) in rebind_subsystems() 2071 static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in apply_cgroup_root_flags() 2381 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb()
36 static struct kernfs_root *rdt_root;4439 static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf) in rdtgroup_show_options()