Lines Matching full:pid
25 struct task_struct *bpf_task_from_pid(s32 pid) __ksym;
32 s32 pid;
35 status = bpf_probe_read_kernel(&pid, sizeof(pid), &p->pid);
39 return bpf_map_lookup_elem(&__tasks_kfunc_map, &pid);
47 s32 pid;
49 status = bpf_probe_read_kernel(&pid, sizeof(pid), &p->pid);
54 status = bpf_map_update_elem(&__tasks_kfunc_map, &pid, &local, BPF_NOEXIST);
58 v = bpf_map_lookup_elem(&__tasks_kfunc_map, &pid);
60 bpf_map_delete_elem(&__tasks_kfunc_map, &pid);