Searched refs:kn (Results 1 – 2 of 2) sorted by relevance
295 struct cgroup *cgrp = of->kn->parent->priv; in of_css()816 struct cgroup *root_cgrp = kf_root->kn->priv; in cgroup_root_from_kf()1083 static void cgroup_kn_unlock(struct kernfs_node *kn) in cgroup_kn_unlock() argument1087 if (kernfs_type(kn) == KERNFS_DIR) in cgroup_kn_unlock()1088 cgrp = kn->priv; in cgroup_kn_unlock()1090 cgrp = kn->parent->priv; in cgroup_kn_unlock()1094 kernfs_unbreak_active_protection(kn); in cgroup_kn_unlock()1113 static struct cgroup *cgroup_kn_lock_live(struct kernfs_node *kn) in cgroup_kn_lock_live() argument1117 if (kernfs_type(kn) == KERNFS_DIR) in cgroup_kn_lock_live()1118 cgrp = kn->priv; in cgroup_kn_lock_live()[all …]
1675 kernfs_break_active_protection(of->kn); in cpuset_write_resmask()1703 kernfs_unbreak_active_protection(of->kn); in cpuset_write_resmask()