/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | test_perf_buffer.c | 25 int zero = 0, *my_pid, cur_pid; in handle_sys_enter() local 28 my_pid = bpf_map_lookup_elem(&my_pid_map, &zero); in handle_sys_enter() 29 if (!my_pid) in handle_sys_enter() 33 if (cur_pid != *my_pid) in handle_sys_enter()
|
A D | test_legacy_printk.c | 30 int zero = 0, *my_pid, cur_pid, *my_res; in handle_legacy() local 32 my_pid = bpf_map_lookup_elem(&my_pid_map, &zero); in handle_legacy() 33 if (!my_pid) in handle_legacy() 37 if (cur_pid != *my_pid) in handle_legacy()
|
A D | test_usdt.c | 8 int my_pid; variable 20 if (my_pid != (bpf_get_current_pid_tgid() >> 32)) in usdt0() 43 if (my_pid != (bpf_get_current_pid_tgid() >> 32)) in usdt3() 73 if (my_pid != (bpf_get_current_pid_tgid() >> 32)) in BPF_USDT()
|
A D | test_d_path.c | 10 pid_t my_pid = 0; variable 31 if (pid != my_pid) in BPF_PROG() 52 if (pid != my_pid) in BPF_PROG()
|
A D | test_usdt_multispec.c | 13 extern int my_pid; 23 if (my_pid != (bpf_get_current_pid_tgid() >> 32)) in BPF_USDT()
|
A D | test_prog_array_init.c | 8 const volatile pid_t my_pid = 0; variable 34 if (pid != my_pid) in entry()
|
A D | test_skc_to_unix_sock.c | 9 const volatile pid_t my_pid = 0; variable 19 if (pid != my_pid) in BPF_PROG()
|
A D | test_core_read_macros.c | 28 int my_pid = 0; variable 35 if (my_pid != pid) in handler()
|
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)) in sysenter_getuid()
|
A D | test_custom_sec_handlers.c | 8 const volatile int my_pid; variable
|
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | core_retro.c | 9 int err, zero = 0, res, my_pid = getpid(); in test_core_retro() local 18 &my_pid, sizeof(my_pid), 0); in test_core_retro() 34 ASSERT_EQ(res, my_pid, "pid_check"); in test_core_retro()
|
A D | legacy_printk.c | 9 int err, zero = 0, my_pid = getpid(), res, map_fd; in execute_one_variant() local 25 err = bpf_map_update_elem(map_fd, &zero, &my_pid, BPF_ANY); in execute_one_variant() 30 skel->bss->my_pid_var = my_pid; in execute_one_variant()
|
A D | sk_storage_tracing.c | 23 static pid_t my_pid; variable 39 if (!ASSERT_EQ(sk_stg.pid, my_pid, "pid")) in check_sk_stg() 113 my_pid = getpid(); in serial_test_sk_storage_tracing()
|
A D | perf_buffer.c | 49 int zero = 0, my_pid = getpid(); in serial_test_perf_buffer() local 74 err = bpf_map_update_elem(bpf_map__fd(skel->maps.my_pid_map), &zero, &my_pid, 0); in serial_test_perf_buffer()
|
A D | d_path.c | 119 bss->my_pid = getpid(); in test_d_path_basic() 121 err = trigger_fstat_events(bss->my_pid); in test_d_path_basic()
|
A D | prog_array_init.c | 16 skel->rodata->my_pid = getpid(); in test_prog_array_init()
|
A D | core_read_macros.c | 35 bss->my_pid = getpid(); in test_core_read_macros()
|
A D | skc_to_unix_sock.c | 20 skel->rodata->my_pid = getpid(); in test_skc_to_unix_sock()
|
A D | map_lookup_percpu_elem.c | 26 skel->rodata->my_pid = getpid(); in test_map_lookup_percpu_elem()
|
A D | usdt.c | 55 bss->my_pid = getpid(); in subtest_basic_usdt() 221 bss->my_pid = getpid(); in subtest_multispec_usdt()
|
A D | custom_sec_handlers.c | 142 skel->rodata->my_pid = getpid(); in test_custom_sec_handlers()
|
/linux-6.3-rc2/drivers/char/agp/ |
A D | frontend.c | 222 if (curr->my_pid == pid) in agp_find_private() 654 controller = agp_find_controller_by_pid(priv->my_pid); in agp_release() 665 agp_remove_client(priv->my_pid); in agp_release() 692 priv->my_pid = current->pid; in agp_open() 759 controller = agp_find_controller_by_pid(priv->my_pid); in agpioc_acquire_wrap() 764 controller = agp_create_controller(priv->my_pid); in agpioc_acquire_wrap() 976 if (agp_fe.current_controller->pid != curr_priv->my_pid) { in agp_ioctl()
|
A D | compat_ioctl.c | 235 if (agp_fe.current_controller->pid != curr_priv->my_pid) { in compat_agp_ioctl()
|
/linux-6.3-rc2/include/linux/ |
A D | agpgart.h | 115 pid_t my_pid; member
|