Home
last modified time | relevance | path

Searched refs:cur_pid (Results 1 – 11 of 11) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_legacy_printk.c30 int zero = 0, *my_pid, cur_pid, *my_res; in handle_legacy() local
36 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 zero = 0, cur_pid; in handle_modern() local
61 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()
A Dtest_perf_buffer.c25 int zero = 0, *my_pid, cur_pid; in handle_sys_enter() local
32 cur_pid = bpf_get_current_pid_tgid() >> 32; in handle_sys_enter()
33 if (cur_pid != *my_pid) in handle_sys_enter()
A Dtest_unpriv_bpf_disabled.c64 int cur_pid; in sys_nanosleep_enter() local
66 cur_pid = bpf_get_current_pid_tgid() >> 32; in sys_nanosleep_enter()
68 if (cur_pid != test_pid) in sys_nanosleep_enter()
A Dtest_map_init.c25 int cur_pid = bpf_get_current_pid_tgid() >> 32; in sysenter_getpgid() local
27 if (cur_pid == inPid) in sysenter_getpgid()
A Dtest_ringbuf_map_key.c37 int cur_pid = bpf_get_current_pid_tgid() >> 32; in test_ringbuf_mem_map_key() local
41 if (cur_pid != pid) in test_ringbuf_mem_map_key()
A Dtest_ringbuf.c42 int cur_pid = bpf_get_current_pid_tgid() >> 32; in test_ringbuf() local
46 if (cur_pid != pid) in test_ringbuf()
A Dtest_ringbuf_multi.c59 int cur_pid = bpf_get_current_pid_tgid() >> 32; in test_ringbuf() local
64 if (cur_pid != pid) in test_ringbuf()
A Dcgrp_kfunc_success.c23 int cur_pid = bpf_get_current_pid_tgid() >> 32; in is_test_kfunc_task() local
24 bool same = pid == cur_pid; in is_test_kfunc_task()
A Dtask_kfunc_success.c22 int cur_pid = bpf_get_current_pid_tgid() >> 32; in is_test_kfunc_task() local
24 return pid == cur_pid; in is_test_kfunc_task()
A Duser_ringbuf_success.c32 int cur_pid = bpf_get_current_pid_tgid() >> 32; in is_test_process() local
34 return cur_pid == pid; in is_test_process()
A Dcpumask_success.c16 int cur_pid = bpf_get_current_pid_tgid() >> 32; in is_test_task() local
18 return pid == cur_pid; in is_test_task()

Completed in 18 milliseconds