Searched refs:v_task (Results 1 – 1 of 1) sorted by relevance
567 struct task_struct *current, *v_task; in test_task_from_vpid_current() local569 v_task = bpf_task_from_vpid(1); in test_task_from_vpid_current()570 if (!v_task) { in test_task_from_vpid_current()578 if (current != v_task) in test_task_from_vpid_current()581 bpf_task_release(v_task); in test_task_from_vpid_current()588 struct task_struct *v_task; in test_task_from_vpid_invalid() local590 v_task = bpf_task_from_vpid(-1); in test_task_from_vpid_invalid()591 if (v_task) { in test_task_from_vpid_invalid()597 v_task = bpf_task_from_vpid(2); in test_task_from_vpid_invalid()598 if (v_task) { in test_task_from_vpid_invalid()[all …]