Searched refs:v_task (Results 1 – 1 of 1) sorted by relevance
373 struct task_struct *current, *v_task; in test_task_from_vpid_current() local375 v_task = bpf_task_from_vpid(1); in test_task_from_vpid_current()376 if (!v_task) { in test_task_from_vpid_current()384 if (current != v_task) in test_task_from_vpid_current()387 bpf_task_release(v_task); in test_task_from_vpid_current()394 struct task_struct *v_task; in test_task_from_vpid_invalid() local396 v_task = bpf_task_from_vpid(-1); in test_task_from_vpid_invalid()397 if (v_task) { in test_task_from_vpid_invalid()403 v_task = bpf_task_from_vpid(2); in test_task_from_vpid_invalid()404 if (v_task) { in test_task_from_vpid_invalid()[all …]