Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dcgroup_read_xattr.c31 cgrp = bpf_cgroup_from_id(cgrp_id); in BPF_PROG()
47 cgrp = bpf_cgroup_from_id(cgrp_id); in BPF_PROG()
64 cgrp = bpf_cgroup_from_id(cgrp_id); in BPF_PROG()
83 cgrp = bpf_cgroup_from_id(cgrp_id); in BPF_PROG()
103 cgrp = bpf_cgroup_from_id(cgrp_id); in BPF_PROG()
123 cgrp = bpf_cgroup_from_id(cgrp_id); in BPF_PROG()
145 cgrp = bpf_cgroup_from_id(cgrp_id); in BPF_PROG()
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()
230 cg = bpf_cgroup_from_id(1);
H A Dread_cgroupfs_xattr.c32 cgrp = bpf_cgroup_from_id(cgrp_id); 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/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/tools/sched_ext/include/scx/
H A Dcommon.bpf.h340 struct cgroup *bpf_cgroup_from_id(u64 cgid) __ksym;
/linux/kernel/bpf/
H A Dhelpers.c2596 __bpf_kfunc struct cgroup *bpf_cgroup_from_id(u64 cgid) in bpf_cgroup_from_id() function
4422 BTF_ID_FLAGS(func, bpf_cgroup_from_id, KF_ACQUIRE | KF_RET_NULL)