Searched refs:cur_pid (Results 1 – 11 of 11) sorted by relevance
30 int zero = 0, *my_pid, cur_pid, *my_res; in handle_legacy() local36 cur_pid = bpf_get_current_pid_tgid() >> 32; in handle_legacy()37 if (cur_pid != *my_pid) in handle_legacy()50 bpf_printk("Legacy-case bpf_printk test, pid %d\n", cur_pid); in handle_legacy()59 int cur_pid; in handle_modern() local61 cur_pid = bpf_get_current_pid_tgid() >> 32; in handle_modern()62 if (cur_pid != my_pid_var) in handle_modern()69 bpf_printk("Modern-case bpf_printk test, pid %d\n", cur_pid); in handle_modern()
25 int zero = 0, *my_pid, cur_pid; in handle_sys_enter() local32 cur_pid = bpf_get_current_pid_tgid() >> 32; in handle_sys_enter()33 if (cur_pid != *my_pid) in handle_sys_enter()
64 int cur_pid; in sys_nanosleep_enter() local66 cur_pid = bpf_get_current_pid_tgid() >> 32; in sys_nanosleep_enter()68 if (cur_pid != test_pid) in sys_nanosleep_enter()
25 int cur_pid = bpf_get_current_pid_tgid() >> 32; in sysenter_getpgid() local27 if (cur_pid == inPid) in sysenter_getpgid()
37 int cur_pid = bpf_get_current_pid_tgid() >> 32; in test_ringbuf_mem_map_key() local41 if (cur_pid != pid) in test_ringbuf_mem_map_key()
42 int cur_pid = bpf_get_current_pid_tgid() >> 32; in test_ringbuf() local45 if (cur_pid != pid) in test_ringbuf()
59 int cur_pid = bpf_get_current_pid_tgid() >> 32; in test_ringbuf() local63 if (cur_pid != pid) in test_ringbuf()
23 int cur_pid = bpf_get_current_pid_tgid() >> 32; in is_test_kfunc_task() local24 bool same = pid == cur_pid; in is_test_kfunc_task()
32 int cur_pid = bpf_get_current_pid_tgid() >> 32; in is_test_process() local34 return cur_pid == pid; in is_test_process()
33 int cur_pid = bpf_get_current_pid_tgid() >> 32; in is_test_kfunc_task() local35 return pid == cur_pid; in is_test_kfunc_task()
17 int cur_pid = bpf_get_current_pid_tgid() >> 32; in is_test_task() local19 return pid == cur_pid; in is_test_task()