Lines Matching refs:task
33 struct cgroup *bpf_task_get_cgroup1(struct task_struct *task, int hierarchy_id) __ksym;
69 struct task_struct *task; in BPF_PROG() local
72 task = bpf_get_current_task_btf(); in BPF_PROG()
73 if (task->pid != target_pid) in BPF_PROG()
77 cgrp = bpf_task_get_cgroup1(task, target_hid); in BPF_PROG()
86 __on_enter(regs, id, task->cgroups->dfl_cgrp); in BPF_PROG()
107 struct task_struct *task; in BPF_PROG() local
110 task = bpf_get_current_task_btf(); in BPF_PROG()
111 if (task->pid != target_pid) in BPF_PROG()
115 cgrp = bpf_task_get_cgroup1(task, target_hid); in BPF_PROG()
124 __on_exit(regs, id, task->cgroups->dfl_cgrp); in BPF_PROG()