Searched refs:ancestor_level (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/include/linux/ |
D | cgroup.h | 533 int ancestor_level) in cgroup_ancestor() argument 535 if (ancestor_level < 0 || ancestor_level > cgrp->level) in cgroup_ancestor() 537 return cgrp->ancestors[ancestor_level]; in cgroup_ancestor()
|
/Linux-v6.6/kernel/bpf/ |
D | helpers.c | 417 BPF_CALL_1(bpf_get_current_ancestor_cgroup_id, int, ancestor_level) in BPF_CALL_1() argument 425 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1()
|
/Linux-v6.6/net/core/ |
D | filter.c | 4845 int ancestor_level) in __bpf_sk_ancestor_cgroup_id() argument 4855 ancestor = cgroup_ancestor(cgrp, ancestor_level); in __bpf_sk_ancestor_cgroup_id() 4863 ancestor_level) in BPF_CALL_2() argument 4865 return __bpf_sk_ancestor_cgroup_id(skb->sk, ancestor_level); in BPF_CALL_2() 4888 BPF_CALL_2(bpf_sk_ancestor_cgroup_id, struct sock *, sk, int, ancestor_level) in BPF_CALL_2() argument 4890 return __bpf_sk_ancestor_cgroup_id(sk, ancestor_level); in BPF_CALL_2()
|