Home
last modified time | relevance | path

Searched refs:bpf_cgroup_ancestor (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dcgrp_kfunc_success.c92 cg = bpf_cgroup_ancestor(kptr, 1); in BPF_PROG()
146 self = bpf_cgroup_ancestor(cgrp, cgrp->level); in BPF_PROG()
159 ancestor1 = bpf_cgroup_ancestor(cgrp, cgrp->level - 1); in BPF_PROG()
166 invalid = bpf_cgroup_ancestor(cgrp, 10000); in BPF_PROG()
173 invalid = bpf_cgroup_ancestor(cgrp, -1); in BPF_PROG()
193 parent = bpf_cgroup_ancestor(cgrp, cgrp->level - 1); in BPF_PROG()
H A Dtest_cgroup1_hierarchy.c14 struct cgroup *bpf_cgroup_ancestor(struct cgroup *cgrp, int level) __ksym;
40 ancestor = bpf_cgroup_ancestor(cgrp, target_ancestor_level); in bpf_link_create_verify()
H A Dcgroup_read_xattr.c127 ancestor = bpf_cgroup_ancestor(cgrp, 1); in BPF_PROG()
149 ancestor = bpf_cgroup_ancestor(cgrp, 1); in BPF_PROG()
/linux/tools/sched_ext/include/scx/
H A Dcommon.bpf.h323 struct cgroup *bpf_cgroup_ancestor(struct cgroup *cgrp, int level) __ksym;
/linux/tools/sched_ext/
H A Dscx_flatcg.bpf.c179 cgrp = bpf_cgroup_ancestor(cgrp, level); in find_ancestor_cgrp_ctx()
/linux/kernel/bpf/
H A Dhelpers.c2510 * bpf_cgroup_ancestor - Perform a lookup on an entry in a cgroup's ancestor
2516 __bpf_kfunc struct cgroup *bpf_cgroup_ancestor(struct cgroup *cgrp, int level) in bpf_cgroup_ancestor() function
3735 BTF_ID_FLAGS(func, bpf_cgroup_ancestor, KF_ACQUIRE | KF_RCU | KF_RET_NULL)