Searched refs:bpf_task_get_cgroup1 (Results 1 - 5 of 5) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dcgrp_ls_sleepable.c23 struct cgroup *bpf_task_get_cgroup1(struct task_struct *task, int hierarchy_id) __ksym;
67 /* bpf_task_get_cgroup1 can work in sleepable prog */
68 cgrp = bpf_task_get_cgroup1(task, target_hid);
104 cgrp = bpf_task_get_cgroup1(task, target_hid);
H A Dcgrp_ls_recursion.c27 struct cgroup *bpf_task_get_cgroup1(struct task_struct *task, int hierarchy_id) __ksym;
50 cgrp = bpf_task_get_cgroup1(task, target_hid);
83 cgrp = bpf_task_get_cgroup1(task, target_hid);
H A Dtest_cgroup1_hierarchy.c13 struct cgroup *bpf_task_get_cgroup1(struct task_struct *task, int hierarchy_id) __ksym;
32 cgrp = bpf_task_get_cgroup1(task, target_hid);
H A Dcgrp_ls_tp_btf.c33 struct cgroup *bpf_task_get_cgroup1(struct task_struct *task, int hierarchy_id) __ksym;
77 cgrp = bpf_task_get_cgroup1(task, target_hid);
115 cgrp = bpf_task_get_cgroup1(task, target_hid);
/linux-master/kernel/bpf/
H A Dhelpers.c2252 * bpf_task_get_cgroup1 - Acquires the associated cgroup of a task within a
2261 bpf_task_get_cgroup1(struct task_struct *task, int hierarchy_id) function
2575 BTF_ID_FLAGS(func, bpf_task_get_cgroup1, KF_ACQUIRE | KF_RCU | KF_RET_NULL)

Completed in 372 milliseconds