Home
last modified time | relevance | path

Searched refs:ancestor (Results 1 – 3 of 3) sorted by relevance

/kernel/
Dpid_namespace.c396 struct pid_namespace *ancestor, *new = to_pid_ns(ns); in pidns_install() local
413 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()
Duser_namespace.c1295 bool in_userns(const struct user_namespace *ancestor, in in_userns() argument
1299 for (ns = child; ns->level > ancestor->level; ns = ns->parent) in in_userns()
1301 return (ns == ancestor); in in_userns()
/kernel/bpf/
Dhelpers.c386 struct cgroup *ancestor; in BPF_CALL_1() local
391 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1()
392 cgrp_id = ancestor ? cgroup_id(ancestor) : 0; in BPF_CALL_1()