Searched refs:ancestor_level (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
D | cgroup.h | 592 int ancestor_level) in cgroup_ancestor() argument 594 if (cgrp->level < ancestor_level) in cgroup_ancestor() 596 while (cgrp && cgrp->level > ancestor_level) in cgroup_ancestor()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | helpers.c | 356 BPF_CALL_1(bpf_get_current_ancestor_cgroup_id, int, ancestor_level) in BPF_CALL_1() argument 361 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1()
|
/kernel/linux/linux-5.10/net/core/ |
D | filter.c | 4503 int ancestor_level) in __bpf_sk_ancestor_cgroup_id() argument 4513 ancestor = cgroup_ancestor(cgrp, ancestor_level); in __bpf_sk_ancestor_cgroup_id() 4521 ancestor_level) in BPF_CALL_2() argument 4523 return __bpf_sk_ancestor_cgroup_id(skb->sk, ancestor_level); in BPF_CALL_2() 4546 BPF_CALL_2(bpf_sk_ancestor_cgroup_id, struct sock *, sk, int, ancestor_level) in BPF_CALL_2() argument 4548 return __bpf_sk_ancestor_cgroup_id(sk, ancestor_level); in BPF_CALL_2()
|