Searched refs:ancestor_level (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.10/include/linux/ |
| D | cgroup.h | 591 int ancestor_level) in cgroup_ancestor() argument 593 if (cgrp->level < ancestor_level) in cgroup_ancestor() 595 while (cgrp && cgrp->level > ancestor_level) in cgroup_ancestor()
|
| /Linux-v5.10/kernel/bpf/ |
| D | helpers.c | 355 BPF_CALL_1(bpf_get_current_ancestor_cgroup_id, int, ancestor_level) in BPF_CALL_1() argument 360 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1()
|
| /Linux-v5.10/net/core/ |
| D | filter.c | 4494 int ancestor_level) in __bpf_sk_ancestor_cgroup_id() argument 4504 ancestor = cgroup_ancestor(cgrp, ancestor_level); in __bpf_sk_ancestor_cgroup_id() 4512 ancestor_level) in BPF_CALL_2() argument 4514 return __bpf_sk_ancestor_cgroup_id(skb->sk, ancestor_level); in BPF_CALL_2() 4537 BPF_CALL_2(bpf_sk_ancestor_cgroup_id, struct sock *, sk, int, ancestor_level) in BPF_CALL_2() argument 4539 return __bpf_sk_ancestor_cgroup_id(sk, ancestor_level); in BPF_CALL_2()
|