Searched refs:my_pid (Results 1 - 25 of 30) sorted by relevance

12

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtoken_lsm.c10 int my_pid; variable
17 if (my_pid == 0 || my_pid != (bpf_get_current_pid_tgid() >> 32))
27 if (my_pid == 0 || my_pid != (bpf_get_current_pid_tgid() >> 32))
H A Dtest_uprobe.c8 pid_t my_pid = 0; variable
20 if (pid != my_pid)
32 if (pid != my_pid)
44 if (pid != my_pid)
56 if (pid != my_pid)
H A Dtest_usdt_multispec.c13 extern int my_pid;
21 if (my_pid != (bpf_get_current_pid_tgid() >> 32))
H A Dtest_perf_buffer.c25 int zero = 0, *my_pid, cur_pid; local
28 my_pid = bpf_map_lookup_elem(&my_pid_map, &zero);
29 if (!my_pid)
33 if (cur_pid != *my_pid)
H A Dtest_legacy_printk.c30 int zero = 0, *my_pid, cur_pid, *my_res; local
32 my_pid = bpf_map_lookup_elem(&my_pid_map, &zero);
33 if (!my_pid)
37 if (cur_pid != *my_pid)
H A Dtest_prog_array_init.c8 const volatile pid_t my_pid = 0; variable
34 if (pid != my_pid)
H A Dtest_skc_to_unix_sock.c9 const volatile pid_t my_pid = 0; variable
19 if (pid != my_pid)
H A Dtest_core_read_macros.c28 int my_pid = 0; variable
35 if (my_pid != pid)
H A Dtest_usdt.c8 int my_pid; variable
20 if (my_pid != (bpf_get_current_pid_tgid() >> 32))
43 if (my_pid != (bpf_get_current_pid_tgid() >> 32))
73 if (my_pid != (bpf_get_current_pid_tgid() >> 32))
H A Dtest_d_path.c10 pid_t my_pid = 0; variable
31 if (pid != my_pid)
52 if (pid != my_pid)
H A Dtest_custom_sec_handlers.c8 const volatile int my_pid; variable
H A Dtest_map_lookup_percpu_elem.c11 const volatile int my_pid; variable
55 if (my_pid != (bpf_get_current_pid_tgid() >> 32))
H A Dpercpu_alloc_cgrp_local_storage.c73 int my_pid; variable
85 if ((bpf_get_current_pid_tgid() >> 32) != my_pid)
H A Dpercpu_alloc_array.c74 int my_pid; variable
85 if ((bpf_get_current_pid_tgid() >> 32) != my_pid)
137 if ((bpf_get_current_pid_tgid() >> 32) != my_pid)
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dcore_retro.c9 int err, zero = 0, res, my_pid = getpid(); local
18 &my_pid, sizeof(my_pid), 0);
34 ASSERT_EQ(res, my_pid, "pid_check");
H A Dprog_array_init.c16 skel->rodata->my_pid = getpid();
H A Dlegacy_printk.c9 int err, zero = 0, my_pid = getpid(), res, map_fd; local
25 err = bpf_map_update_elem(map_fd, &zero, &my_pid, BPF_ANY);
30 skel->bss->my_pid_var = my_pid;
H A Dsk_storage_tracing.c23 static pid_t my_pid; variable
39 if (!ASSERT_EQ(sk_stg.pid, my_pid, "pid"))
113 my_pid = getpid();
H A Dpercpu_alloc.c22 skel->bss->my_pid = getpid();
55 skel->bss->my_pid = getpid();
90 skel->bss->my_pid = getpid();
H A Dskc_to_unix_sock.c20 skel->rodata->my_pid = getpid();
H A Dcore_read_macros.c35 bss->my_pid = getpid();
H A Dmap_lookup_percpu_elem.c26 skel->rodata->my_pid = getpid();
H A Duprobe.c51 skel->bss->my_pid = urand_pid;
H A Dperf_buffer.c49 int zero = 0, my_pid = getpid(); local
74 err = bpf_map_update_elem(bpf_map__fd(skel->maps.my_pid_map), &zero, &my_pid, 0);
/linux-master/include/linux/
H A Dagpgart.h115 pid_t my_pid; member in struct:agp_file_private

Completed in 1268 milliseconds

12