Home
last modified time | relevance | path

Searched refs:CPU_ISSET (Results 1 – 22 of 22) 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/ltp/testcases/kernel/sched/eas/
Deas_small_big_toggle.c124 !CPU_ISSET(trace[i].cpu, &cpuset)) in parse_results()
127 CPU_ISSET(trace[i].cpu, &cpuset)) in parse_results()
137 if (CPU_ISSET(trace[i].cpu, &cpuset)) { in parse_results()
Deas_one_big_task.c72 CPU_ISSET(trace[i].cpu, &cpuset)) in parse_results()
82 if (CPU_ISSET(trace[i].cpu, &cpuset)) in parse_results()
Deas_two_big_three_small.c80 if (CPU_ISSET(trace[i].cpu, &cpuset) && j > 2) in parse_results()
82 if (!CPU_ISSET(trace[i].cpu, &cpuset) && j < 3) in parse_results()
Deas_small_to_big.c83 !CPU_ISSET(trace[i].cpu, &cpuset)) in parse_results()
93 if (CPU_ISSET(trace[i].cpu, &cpuset)) { in parse_results()
Deas_one_small_task.c76 if (CPU_ISSET(trace[i].cpu, &cpuset)) in parse_results()
Dutil.c183 if (CPU_ISSET(i, cpuset)) in find_cpus_with_capacity()
/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/linux-kselftest/tools/testing/selftests/powerpc/
Dutils.c103 if (CPU_ISSET(cpu, &mask)) in pick_online_cpu()
108 if (CPU_ISSET(cpu, &mask)) in pick_online_cpu()
/external/ltp/include/lapi/
Dcpuset.h60 #define CPU_ISSET_S(cpu, size, mask) CPU_ISSET(cpu, mask)
/external/linux-kselftest/tools/testing/selftests/rseq/
Dparam_test.c630 if (!CPU_ISSET(i, &allowed_cpus)) in test_percpu_list()
667 if (!CPU_ISSET(i, &allowed_cpus)) in test_percpu_list()
821 if (!CPU_ISSET(i, &allowed_cpus)) in test_percpu_buffer()
871 if (!CPU_ISSET(i, &allowed_cpus)) in test_percpu_buffer()
1036 if (!CPU_ISSET(i, &allowed_cpus)) in test_percpu_memcpy_buffer()
1083 if (!CPU_ISSET(i, &allowed_cpus)) in test_percpu_memcpy_buffer()
Dbasic_test.c24 if (CPU_ISSET(i, &affinity)) { in test_cpu_pointer()
Dbasic_percpu_ops_test.c250 if (!CPU_ISSET(i, &allowed_cpus)) in test_percpu_list()
275 if (!CPU_ISSET(i, &allowed_cpus)) in test_percpu_list()
/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.c138 TEST(CPU_ISSET(i, mask)); in do_test()
/external/linux-kselftest/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c204 if (!CPU_ISSET(cpu, &available_cpus)) in main()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
Dcpuset_syscall_test.c140 if (CPU_ISSET(i, &tmask)) in test_getaffinity()
/external/ltp/testcases/realtime/func/rt-migrate/
Drt-migrate.c339 if (!CPU_ISSET(cpu, &save_cpumask)) in start_task()
/external/blktrace/btreplay/
Dbtreplay.c525 for (last_cpu = 0; last_cpu < CPU_SETSIZE && CPU_ISSET(last_cpu, &cpus); last_cpu++) in get_ncpus()
526 if (CPU_ISSET( last_cpu, &cpus) ) in get_ncpus()