Searched refs:pthread_setaffinity_np (Results 1 – 20 of 20) sorted by relevance
/kernel/liteos_a/testsuites/unittest/process/basic/process/smp/ |
D | process_test_smp_003.cpp | 46 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()
|
D | process_test_smp_007.cpp | 65 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()
|
D | process_test_smp_005.cpp | 40 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()
|
D | process_test_smp_004.cpp | 39 ret = pthread_setaffinity_np(pthread_self(), 0, &cpuset); in Testcase()
|
D | process_test_smp_002.cpp | 40 ret = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in PthreadTest01()
|
D | process_test_smp_008.cpp | 40 ret = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in PthreadTest01()
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/smoke/ |
D | process_test_048.cpp | 52 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()
|
D | process_test_045.cpp | 43 ret = pthread_setaffinity_np(pthread_self(), 0, &cpuset); in Testcase()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | perf_event_stackmap.c | 85 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_perf_event_stackmap()
|
D | perf_buffer.c | 37 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in trigger_on_cpu()
|
D | perf_branches.c | 83 err = pthread_setaffinity_np(pthread_self(), sizeof(cpu_set), &cpu_set); in test_perf_branches_common()
|
D | get_stack_raw_tp.c | 119 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/ |
D | test_tcpnotify_user.c | 87 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in main()
|
D | bench.c | 271 if (pthread_setaffinity_np(thread, sizeof(cpuset), &cpuset)) { in set_thread_affinity()
|
D | test_progs.c | 119 err = pthread_setaffinity_np(pthread_self(), sizeof(cpuset), &cpuset); in reset_affinity()
|
/kernel/linux/linux-5.10/tools/virtio/ringtest/ |
D | main.c | 96 ret = pthread_setaffinity_np(self, sizeof(cpu_set_t), &cpuset); in set_affinity()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/ |
D | steal_time.c | 292 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpuset); in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/ |
D | tlbie_test.c | 405 pthread_setaffinity_np(th, sizeof(cpu_set_t), &run_cpu_mask); in set_pthread_cpu()
|
/kernel/liteos_a/compat/posix/src/ |
D | pthread.c | 784 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/ |
D | xsk_fwd.c | 670 pthread_setaffinity_np(pthread_self(), sizeof(cpu_set_t), &cpu_cores); in thread_func()
|