Lines Matching refs:task

32 	struct task_struct *task;  in get_cgroup_id()  local
35 task = bpf_get_current_task_btf(); in get_cgroup_id()
36 if (task->pid != target_pid) in get_cgroup_id()
41 cgroups = task->cgroups; in get_cgroup_id()
53 struct task_struct *task, *real_parent; in task_succ() local
57 task = bpf_get_current_task_btf(); in task_succ()
58 if (task->pid != target_pid) in task_succ()
63 real_parent = task->real_parent; in task_succ()
82 struct task_struct *task, *real_parent; in no_lock() local
85 task = bpf_get_current_task_btf(); in no_lock()
86 real_parent = task->real_parent; in no_lock()
94 struct task_struct *task, *real_parent; in two_regions() local
97 task = bpf_get_current_task_btf(); in two_regions()
101 real_parent = task->real_parent; in two_regions()
113 struct task_struct *task, *real_parent; in non_sleepable_1() local
115 task = bpf_get_current_task_btf(); in non_sleepable_1()
117 real_parent = task->real_parent; in non_sleepable_1()
129 struct task_struct *task, *real_parent; in non_sleepable_2() local
132 task = bpf_get_current_task_btf(); in non_sleepable_2()
136 real_parent = task->real_parent; in non_sleepable_2()
148 struct task_struct *task, *real_parent, *gparent; in task_acquire() local
150 task = bpf_get_current_task_btf(); in task_acquire()
152 real_parent = task->real_parent; in task_acquire()
176 struct task_struct *task; in miss_lock() local
179 task = bpf_get_current_task_btf(); in miss_lock()
181 (void)bpf_task_storage_get(&map_a, task, 0, 0); in miss_lock()
190 struct task_struct *task; in miss_unlock() local
193 task = bpf_get_current_task_btf(); in miss_unlock()
195 (void)bpf_task_storage_get(&map_a, task, 0, 0); in miss_unlock()
202 struct task_struct *task, *real_parent; in non_sleepable_rcu_mismatch() local
204 task = bpf_get_current_task_btf(); in non_sleepable_rcu_mismatch()
207 real_parent = task->real_parent; in non_sleepable_rcu_mismatch()
220 struct task_struct *task, *real_parent; in inproper_sleepable_helper() local
225 task = bpf_get_current_task_btf(); in inproper_sleepable_helper()
228 real_parent = task->real_parent; in inproper_sleepable_helper()
236 (void)bpf_copy_from_user_task(&value, sizeof(uint32_t), ptr, task, 0); in inproper_sleepable_helper()
263 struct task_struct *task, *real_parent; in nested_rcu_region() local
266 task = bpf_get_current_task_btf(); in nested_rcu_region()
269 real_parent = task->real_parent; in nested_rcu_region()
282 struct task_struct *task, *group_leader; in task_trusted_non_rcuptr() local
284 task = bpf_get_current_task_btf(); in task_trusted_non_rcuptr()
287 group_leader = task->real_parent->group_leader; in task_trusted_non_rcuptr()
296 struct task_struct *task, *real_parent; in task_untrusted_rcuptr() local
298 task = bpf_get_current_task_btf(); in task_untrusted_rcuptr()
300 real_parent = task->real_parent; in task_untrusted_rcuptr()
310 struct task_struct *task, *real_parent; in cross_rcu_region() local
313 task = bpf_get_current_task_btf(); in cross_rcu_region()
315 real_parent = task->real_parent; in cross_rcu_region()