Home
last modified time | relevance | path

Searched refs:CPU_ISSET (Results 1 – 15 of 15) sorted by relevance

/external/stressapptest/src/
Dsattypes.h100 #define CPU_ISSET(index, cpu_set_ptr) (*(cpu_set_ptr) & 1ull << (index)) macro
108 if ((CPU_ISSET(i, c1) != 0) != (CPU_ISSET(i, c2) != 0)) in cpuset_isequal()
115 if (CPU_ISSET(i, c1) && !CPU_ISSET(i, c2)) in cpuset_issubset()
123 if (CPU_ISSET(i, cpuset)) in cpuset_count()
138 if (CPU_ISSET(i, cpuset)) { in cpuset_format()
Dworker.cc3537 if (CPU_ISSET(cpu, &cpuset)) { in Work()
3556 if (CPU_ISSET(cpu, &cpuset)) { in Work()
/external/linux-kselftest/tools/testing/selftests/powerpc/
Dutils.c77 if (CPU_ISSET(cpu, &mask)) in pick_online_cpu()
82 if (CPU_ISSET(cpu, &mask)) in pick_online_cpu()
/external/autotest/client/tests/monotonic_time/src/
Dcpuset.c22 if (CPU_ISSET(cpu, cpus)) in count_cpus()
119 if (CPU_ISSET(cpu, cpus)) { in show_cpu_set()
Dthreads.c59 if (!CPU_ISSET(cpu, cpus)) in create_per_cpu_threads()
/external/autotest/client/tests/tsc/src/
Dchecktsc.c289 if (!CPU_ISSET(cpu_a, cpus)) in check_tsc()
293 if (!CPU_ISSET(cpu_b, cpus) || cpu_a == cpu_b) in check_tsc()
Dsched.h44 #define CPU_ISSET(cpu, cpusetp) __CPU_ISSET (cpu, cpusetp) macro
/external/ltp/testcases/kernel/syscalls/sched_getaffinity/
Dsched_getaffinity01.c137 TEST(CPU_ISSET(i, mask)); in do_test()
/external/fio/os/
Dos-freebsd.h39 #define fio_cpu_isset(mask, cpu) CPU_ISSET((cpu), (mask))
Dos-linux.h72 #define fio_cpu_isset(mask, cpu) CPU_ISSET((cpu), (mask))
/external/linux-kselftest/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c198 if (!CPU_ISSET(cpu, &available_cpus)) in main()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
Dcpuset_syscall_test.c146 if (CPU_ISSET(i, &tmask)) in test_getaffinity()
/external/ltp/testcases/kernel/syscalls/getcpu/
Dgetcpu01.c253 if (CPU_ISSET(index, set)) in max_cpuid()
/external/ltp/testcases/realtime/func/rt-migrate/
Drt-migrate.c339 if (!CPU_ISSET(cpu, &save_cpumask)) in start_task()
/external/blktrace/btreplay/
Dbtreplay.c516 for (ncpus = 0; ncpus < CPU_SETSIZE && CPU_ISSET(ncpus, &cpus); ncpus++) in get_ncpus()
548 fprintf(tip->vfp, "%1d", CPU_ISSET(i, &now)); in pin_to_cpu()