Home
last modified time | relevance | path

Searched refs:pthread_self (Results 1 – 25 of 31) sorted by relevance

12

/linux/tools/testing/selftests/filesystems/epoll/
H A Depoll_wakeup_test.c488 ctx.main = pthread_self(); in TEST()
531 ctx.main = pthread_self(); in TEST()
578 ctx.main = pthread_self(); in TEST()
627 ctx.main = pthread_self(); in TEST()
672 ctx.main = pthread_self(); in TEST()
715 ctx.main = pthread_self(); in TEST()
762 ctx.main = pthread_self(); in TEST()
811 ctx.main = pthread_self(); in TEST()
1216 ctx.main = pthread_self(); in TEST()
1268 ctx.main = pthread_self(); in TEST()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dpyperf.h257 uint64_t pthread_self; local
258 bpf_probe_read_user(&pthread_self, sizeof(pthread_self),
265 event->pthread_match = pthread_created == pthread_self;
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dfree_timer.c49 pthread_setaffinity_np(pthread_self(), sizeof(cpuset), &cpuset); in overwrite_timer_fn()
88 pthread_setaffinity_np(pthread_self(), sizeof(cpuset), &cpuset); in start_timer_fn()
H A Dtimer_lockup.c31 ASSERT_OK(pthread_setaffinity_np(pthread_self(), sizeof(cpuset), in timer_lockup_thread()
H A Dperf_event_stackmap.c86 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_perf_event_stackmap()
H A Dpreempted_bpf_ma_op.c30 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in run_alloc_prog()
H A Dhtab_update.c76 pthread_setaffinity_np(pthread_self(), sizeof(cpus), &cpus); in test_concurrent_update()
H A Dget_stack_raw_tp.c121 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_get_stack_raw_tp()
H A Dperf_buffer.c37 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in trigger_on_cpu()
H A Dperf_branches.c91 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_perf_branches_common()
/linux/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c215 if (pthread_self() != main_thread) in sig_action_SIGUSR1()
228 if (pthread_self() != main_thread) in sig_action()
315 if (cpu_threads[i] == pthread_self()) in fake_cont_thread()
330 if (cpu_threads[i] == pthread_self()) in cont_thread()
552 main_thread = pthread_self(); in main()
/linux/tools/perf/tests/workloads/
H A Dnoploop.c20 pthread_setname_np(pthread_self(), "perf-noploop"); in noploop()
/linux/tools/testing/selftests/powerpc/math/
H A Dfpu_preempt.c44 srand(pthread_self()); in preempt_fpu_c()
H A Dvmx_preempt.c47 srand(pthread_self()); in preempt_vmx_c()
H A Dfpu_signal.c64 srand(pthread_self()); in signal_fpu_c()
H A Dvsx_preempt.c76 srand(pthread_self()); in preempt_vsx_c()
H A Dvmx_signal.c83 srand(pthread_self()); in signal_vmx_c()
/linux/arch/um/os-Linux/
H A Dsmp.c147 cpu_threads[0] = pthread_self(); in os_init_smp()
/linux/tools/testing/selftests/bpf/
H A Dtest_tcpnotify_user.c
/linux/tools/tracing/rtla/src/
H A Dtimerlat_u.c163 pthread_setname_np(pthread_self(), proc_name); in timerlat_u_dispatcher()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_test.c50 signal_received = pthread_self(); in set_signal_received_on_sigusr1()
62 if (signal_received != pthread_self()) { in send_signal()
/linux/tools/virtio/ringtest/
H A Dmain.c92 self = pthread_self(); in set_affinity()
/linux/tools/power/acpi/os_specific/service_layers/
H A Dosunixxf.c1250 thread = pthread_self(); in acpi_os_get_thread_id()
/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util.h1086 pin_task_to_cpu(pthread_self(), cpu); in pin_self_to_cpu()
1091 return pin_task_to_any_cpu(pthread_self()); in pin_self_to_any_cpu()
/linux/tools/testing/selftests/timers/
H A Dposix_timers.c171 if (pthread_self() != ctd_thread) in ctd_sighandler()

12