Home
last modified time | relevance | path

Searched refs:my_pid (Results 1 – 24 of 24) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_perf_buffer.c25 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 Dtest_legacy_printk.c30 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 Dtest_usdt.c8 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 Dtest_d_path.c10 pid_t my_pid = 0; variable
31 if (pid != my_pid) in BPF_PROG()
52 if (pid != my_pid) in BPF_PROG()
A Dtest_usdt_multispec.c13 extern int my_pid;
23 if (my_pid != (bpf_get_current_pid_tgid() >> 32)) in BPF_USDT()
A Dtest_prog_array_init.c8 const volatile pid_t my_pid = 0; variable
34 if (pid != my_pid) in entry()
A Dtest_skc_to_unix_sock.c9 const volatile pid_t my_pid = 0; variable
19 if (pid != my_pid) in BPF_PROG()
A Dtest_core_read_macros.c28 int my_pid = 0; variable
35 if (my_pid != pid) in handler()
A Dtest_map_lookup_percpu_elem.c11 const volatile int my_pid; variable
55 if (my_pid != (bpf_get_current_pid_tgid() >> 32)) in sysenter_getuid()
A Dtest_custom_sec_handlers.c8 const volatile int my_pid; variable
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dcore_retro.c9 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 Dlegacy_printk.c9 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 Dsk_storage_tracing.c23 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 Dperf_buffer.c49 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 Dd_path.c119 bss->my_pid = getpid(); in test_d_path_basic()
121 err = trigger_fstat_events(bss->my_pid); in test_d_path_basic()
A Dprog_array_init.c16 skel->rodata->my_pid = getpid(); in test_prog_array_init()
A Dcore_read_macros.c35 bss->my_pid = getpid(); in test_core_read_macros()
A Dskc_to_unix_sock.c20 skel->rodata->my_pid = getpid(); in test_skc_to_unix_sock()
A Dmap_lookup_percpu_elem.c26 skel->rodata->my_pid = getpid(); in test_map_lookup_percpu_elem()
A Dusdt.c55 bss->my_pid = getpid(); in subtest_basic_usdt()
221 bss->my_pid = getpid(); in subtest_multispec_usdt()
A Dcustom_sec_handlers.c142 skel->rodata->my_pid = getpid(); in test_custom_sec_handlers()
/linux-6.3-rc2/drivers/char/agp/
A Dfrontend.c222 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 Dcompat_ioctl.c235 if (agp_fe.current_controller->pid != curr_priv->my_pid) { in compat_agp_ioctl()
/linux-6.3-rc2/include/linux/
A Dagpgart.h115 pid_t my_pid; member

Completed in 23 milliseconds