Home
last modified time | relevance | path

Searched refs:bpf_cgroup_from_id (Results 1 – 11 of 11) sorted by relevance

/linux-6.15/tools/testing/selftests/bpf/progs/
H A Diters_task_failure.c12 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
34 struct cgroup *cgrp = bpf_cgroup_from_id(cg_id); in BPF_PROG()
69 struct cgroup *cgrp = bpf_cgroup_from_id(cg_id); in BPF_PROG()
92 struct cgroup *cgrp = bpf_cgroup_from_id(cg_id); in BPF_PROG()
H A Dtest_task_under_cgroup.c10 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
36 cgrp = bpf_cgroup_from_id(cgid); in BPF_PROG()
66 cgrp = bpf_cgroup_from_id(1); in BPF_PROG()
H A Diters_css.c18 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
33 root_cgrp = bpf_cgroup_from_id(root_cg_id); in iter_css_for_each()
38 leaf_cgrp = bpf_cgroup_from_id(leaf_cg_id); in iter_css_for_each()
H A Diters_css_task.c14 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
33 cgrp = bpf_cgroup_from_id(cg_id); in BPF_PROG()
89 struct cgroup *cgrp = bpf_cgroup_from_id(cgrp_id); in BPF_PROG()
H A Dcgrp_kfunc_success.c202 res = bpf_cgroup_from_id(parent_cgid); in BPF_PROG()
215 res = bpf_cgroup_from_id((u64)-1); in BPF_PROG()
H A Dcgrp_kfunc_common.h26 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
H A Dverifier_kfunc_prog_types.c74 cgrp = bpf_cgroup_from_id(0); in cgrp_kfunc_load_test()
/linux-6.15/tools/sched_ext/
H A Dscx_flatcg.bpf.c650 cgrp = bpf_cgroup_from_id(cgid); in try_pick_next_cgroup()
756 cgrp = bpf_cgroup_from_id(cpuc->cur_cgid); in BPF_STRUCT_OPS()
/linux-6.15/tools/sched_ext/include/scx/
H A Dcommon.bpf.h323 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
/linux-6.15/Documentation/bpf/
H A Dkfuncs.rst636 bpf_cgroup_ancestor() and bpf_cgroup_from_id(), allowing callers to access
644 :identifiers: bpf_cgroup_from_id
/linux-6.15/kernel/bpf/
H A Dhelpers.c2454 __bpf_kfunc struct cgroup *bpf_cgroup_from_id(u64 cgid) in bpf_cgroup_from_id() function
3222 BTF_ID_FLAGS(func, bpf_cgroup_from_id, KF_ACQUIRE | KF_RET_NULL)