Home
last modified time | relevance | path

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

12

/linux-6.12.1/tools/testing/selftests/filesystems/epoll/
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-6.12.1/tools/testing/selftests/bpf/progs/
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-6.12.1/tools/testing/selftests/mqueue/
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-6.12.1/tools/testing/selftests/powerpc/math/
Dfpu_preempt.c44 srand(pthread_self()); in preempt_fpu_c()
Dvmx_preempt.c47 srand(pthread_self()); in preempt_vmx_c()
Dfpu_signal.c64 srand(pthread_self()); in signal_fpu_c()
Dvsx_preempt.c76 srand(pthread_self()); in preempt_vsx_c()
Dvmx_signal.c83 srand(pthread_self()); in signal_vmx_c()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtimer_lockup.c30 ASSERT_OK(pthread_setaffinity_np(pthread_self(), sizeof(cpuset), in timer_lockup_thread()
Dperf_event_stackmap.c86 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_perf_event_stackmap()
Dperf_link.c18 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in burn_cpu()
Dpreempted_bpf_ma_op.c30 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in run_alloc_prog()
Dhtab_update.c57 pthread_setaffinity_np(pthread_self(), sizeof(cpus), &cpus); in htab_update_thread()
Dget_stack_raw_tp.c121 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_get_stack_raw_tp()
Dperf_branches.c83 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_perf_branches_common()
Dperf_buffer.c37 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in trigger_on_cpu()
Dbpf_cookie.c433 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in burn_cpu()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_tcpnotify_user.c88 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in main()
/linux-6.12.1/tools/tracing/rtla/src/
Dtimerlat_u.c167 pthread_setname_np(pthread_self(), proc_name); in timerlat_u_dispatcher()
/linux-6.12.1/tools/virtio/ringtest/
Dmain.c92 self = pthread_self(); in set_affinity()
/linux-6.12.1/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c1250 thread = pthread_self(); in acpi_os_get_thread_id()
/linux-6.12.1/tools/testing/selftests/kvm/
Dsteal_time.c361 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in main()
/linux-6.12.1/tools/testing/selftests/timers/
Dposix_timers.c170 if (pthread_self() != ctd_thread) in ctd_sighandler()
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Darch_timer_edge_cases.c876 thread = pthread_self(); in migrate_self()
/linux-6.12.1/tools/tracing/latency/
Dlatency-collector.c1060 r = pthread_getschedparam(pthread_self(), &policy, &param); in print_priority()

12