Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dcgroup.h532 int ancestor_level) in cgroup_ancestor() argument
534 if (ancestor_level < 0 || ancestor_level > cgrp->level) in cgroup_ancestor()
536 return cgrp->ancestors[ancestor_level]; in cgroup_ancestor()
/linux-6.15/kernel/bpf/
H A Dhelpers.c422 BPF_CALL_1(bpf_get_current_ancestor_cgroup_id, int, ancestor_level) in BPF_CALL_1() argument
430 ancestor = cgroup_ancestor(cgrp, ancestor_level); in BPF_CALL_1()
/linux-6.15/net/core/
H A Dfilter.c4984 int ancestor_level) in __bpf_sk_ancestor_cgroup_id() argument
4994 ancestor = cgroup_ancestor(cgrp, ancestor_level); in __bpf_sk_ancestor_cgroup_id()
5002 ancestor_level) in BPF_CALL_2() argument
5004 return __bpf_sk_ancestor_cgroup_id(skb->sk, ancestor_level); in BPF_CALL_2()
5027 BPF_CALL_2(bpf_sk_ancestor_cgroup_id, struct sock *, sk, int, ancestor_level) in BPF_CALL_2() argument
5029 return __bpf_sk_ancestor_cgroup_id(sk, ancestor_level); in BPF_CALL_2()