Searched refs:ancestor (Results 1 – 3 of 3) sorted by relevance
396 struct pid_namespace *ancestor, *new = to_pid_ns(ns); in pidns_install() local413 ancestor = new; in pidns_install()414 while (ancestor->level > active->level) in pidns_install()415 ancestor = ancestor->parent; in pidns_install()416 if (ancestor != active) in pidns_install()
1295 bool in_userns(const struct user_namespace *ancestor, in in_userns() argument1299 for (ns = child; ns->level > ancestor->level; ns = ns->parent) in in_userns()1301 return (ns == ancestor); in in_userns()
386 struct cgroup *ancestor; in BPF_CALL_1() local391 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1()392 cgrp_id = ancestor ? cgroup_id(ancestor) : 0; in BPF_CALL_1()