Home
last modified time | relevance | path

Searched refs:pthread_setaffinity_np (Results 1 – 20 of 20) sorted by relevance

/kernel/liteos_a/testsuites/unittest/process/basic/process/smp/
Dprocess_test_smp_003.cpp46 ret = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in Testcase()
57 ret = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in Testcase()
69 ret = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in Testcase()
Dprocess_test_smp_007.cpp65 ret = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in Testcase()
81 ret = pthread_setaffinity_np(threadA, sizeof(cpu_set_t), &cpuset); in Testcase()
Dprocess_test_smp_005.cpp40 ret = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in PthreadTest01()
68 ret = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in Testcase()
Dprocess_test_smp_004.cpp39 ret = pthread_setaffinity_np(pthread_self(), 0, &cpuset); in Testcase()
Dprocess_test_smp_002.cpp40 ret = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in PthreadTest01()
Dprocess_test_smp_008.cpp40 ret = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in PthreadTest01()
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/
Dprocess_test_048.cpp52 ret = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in Testcase()
58 ret = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in Testcase()
Dprocess_test_045.cpp43 ret = pthread_setaffinity_np(pthread_self(), 0, &cpuset); in Testcase()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dperf_event_stackmap.c85 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_perf_event_stackmap()
Dperf_buffer.c37 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in trigger_on_cpu()
Dperf_branches.c83 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_perf_branches_common()
Dget_stack_raw_tp.c119 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_get_stack_raw_tp()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_tcpnotify_user.c87 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in main()
Dbench.c271 if (pthread_setaffinity_np(thread, sizeof(cpuset), &cpuset)) { in set_thread_affinity()
Dtest_progs.c119 err = pthread_setaffinity_np(pthread_self(), sizeof(cpuset), &cpuset); in reset_affinity()
/kernel/linux/linux-5.10/tools/virtio/ringtest/
Dmain.c96 ret = pthread_setaffinity_np(self, sizeof(cpu_set_t), &cpuset); in set_affinity()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/
Dsteal_time.c292 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
Dtlbie_test.c405 pthread_setaffinity_np(th, sizeof(cpu_set_t), &run_cpu_mask); in set_pthread_cpu()
/kernel/liteos_a/compat/posix/src/
Dpthread.c784 int pthread_setaffinity_np(pthread_t thread, size_t cpusetsize, const cpu_set_t* cpuset) in pthread_setaffinity_np() function
/kernel/linux/linux-5.10/samples/bpf/
Dxsk_fwd.c670 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpu_cores); in thread_func()