Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/bpf/progs/
Dpyperf.h190 uint64_t pthread_self; in __on_event() local
191 bpf_probe_read(&pthread_self, sizeof(pthread_self), tls_base + 0x10); in __on_event()
196 event->pthread_match = pthread_created == pthread_self; in __on_event()
/Linux-v5.4/tools/testing/selftests/mqueue/
Dmq_perf_tests.c212 if (pthread_self() != main_thread) in sig_action_SIGUSR1()
225 if (pthread_self() != main_thread) in sig_action()
312 if (cpu_threads[i] == pthread_self()) in fake_cont_thread()
326 if (cpu_threads[i] == pthread_self()) in cont_thread()
547 main_thread = pthread_self(); in main()
/Linux-v5.4/tools/testing/selftests/powerpc/math/
Dfpu_preempt.c45 srand(pthread_self()); in preempt_fpu_c()
Dvmx_preempt.c45 srand(pthread_self()); in preempt_vmx_c()
Dvsx_preempt.c76 srand(pthread_self()); in preempt_vsx_c()
Dfpu_signal.c66 srand(pthread_self()); in signal_fpu_c()
Dvmx_signal.c83 srand(pthread_self()); in signal_vmx_c()
/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
Dperf_buffer.c70 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), in test_perf_buffer()
Dget_stack_raw_tp.c114 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_get_stack_raw_tp()
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_tcpnotify_user.c87 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in main()
/Linux-v5.4/tools/virtio/ringtest/
Dmain.c92 self = pthread_self(); in set_affinity()
/Linux-v5.4/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c1250 thread = pthread_self(); in acpi_os_get_thread_id()
/Linux-v5.4/tools/io_uring/
Dio_uring-bench.c286 srand48_r(pthread_self(), &s->rand); in submitter_fn()