Home
last modified time | relevance | path

Searched refs:test_pid (Results 1 – 13 of 13) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtask_ls_recursion.c14 int test_pid = 0; variable
36 if (!test_pid || task->pid != test_pid) in BPF_PROG()
77 if (!test_pid || task->pid != test_pid) in BPF_PROG()
H A Dtest_varlen.c14 int test_pid = 0; variable
50 if (test_pid != pid || !capture) in handler64_unsigned()
80 if (test_pid != pid || !capture) in handler64_signed()
106 if (test_pid != pid || !capture) in handler32_unsigned()
134 if (test_pid != pid || !capture) in handler32_signed()
H A Dtest_uprobe_autoattach.c21 int test_pid; variable
97 if (test_pid != pid) in BPF_UPROBE()
110 if (test_pid != pid) in BPF_URETPROBE()
H A Dtest_stack_var_off.c9 int test_pid; variable
21 if ((bpf_get_current_pid_tgid() >> 32) != test_pid) in probe()
H A Dexhandler_kern.c13 int test_pid; variable
25 if (test_pid != pid) in BPF_PROG()
H A Dtest_unpriv_bpf_disabled.c13 int test_pid; variable
68 if (cur_pid != test_pid) in sys_nanosleep_enter()
/linux/drivers/usb/misc/
H A Dehset.c75 u16 test_pid = le16_to_cpu(dev->descriptor.idProduct); in ehset_probe() local
77 switch (test_pid) { in ehset_probe()
158 __func__, test_pid); in ehset_probe()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Duprobe_autoattach.c30 skel->bss->test_pid = getpid(); in test_uprobe_autoattach()
35 skel->bss->test_pid = getpid(); in test_uprobe_autoattach()
H A Dstack_var_off.c18 skel->bss->test_pid = getpid(); in test_stack_var_off()
H A Dexhandler.c28 skel->bss->test_pid = getpid(); in test_exhandler()
H A Dtask_local_storage.c101 skel->bss->test_pid = getpid(); in test_recursion()
103 skel->bss->test_pid = 0; in test_recursion()
H A Dvarlen.c34 bss->test_pid = getpid(); in test_varlen()
H A Dunpriv_bpf_disabled.c245 skel->bss->test_pid = getpid(); in test_unpriv_bpf_disabled()