/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | token_lsm.c | 10 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 D | test_uprobe.c | 8 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 D | test_usdt_multispec.c | 13 extern int my_pid; 21 if (my_pid != (bpf_get_current_pid_tgid() >> 32))
|
H A D | test_perf_buffer.c | 25 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 D | test_legacy_printk.c | 30 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 D | test_prog_array_init.c | 8 const volatile pid_t my_pid = 0; variable 34 if (pid != my_pid)
|
H A D | test_skc_to_unix_sock.c | 9 const volatile pid_t my_pid = 0; variable 19 if (pid != my_pid)
|
H A D | test_core_read_macros.c | 28 int my_pid = 0; variable 35 if (my_pid != pid)
|
H A D | test_usdt.c | 8 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 D | test_d_path.c | 10 pid_t my_pid = 0; variable 31 if (pid != my_pid) 52 if (pid != my_pid)
|
H A D | test_custom_sec_handlers.c | 8 const volatile int my_pid; variable
|
H A D | test_map_lookup_percpu_elem.c | 11 const volatile int my_pid; variable 55 if (my_pid != (bpf_get_current_pid_tgid() >> 32))
|
H A D | percpu_alloc_cgrp_local_storage.c | 73 int my_pid; variable 85 if ((bpf_get_current_pid_tgid() >> 32) != my_pid)
|
H A D | percpu_alloc_array.c | 74 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 D | core_retro.c | 9 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 D | prog_array_init.c | 16 skel->rodata->my_pid = getpid();
|
H A D | legacy_printk.c | 9 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 D | sk_storage_tracing.c | 23 static pid_t my_pid; variable 39 if (!ASSERT_EQ(sk_stg.pid, my_pid, "pid")) 113 my_pid = getpid();
|
H A D | percpu_alloc.c | 22 skel->bss->my_pid = getpid(); 55 skel->bss->my_pid = getpid(); 90 skel->bss->my_pid = getpid();
|
H A D | skc_to_unix_sock.c | 20 skel->rodata->my_pid = getpid();
|
H A D | core_read_macros.c | 35 bss->my_pid = getpid();
|
H A D | map_lookup_percpu_elem.c | 26 skel->rodata->my_pid = getpid();
|
H A D | uprobe.c | 51 skel->bss->my_pid = urand_pid;
|
H A D | perf_buffer.c | 49 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 D | agpgart.h | 115 pid_t my_pid; member in struct:agp_file_private
|