Home
last modified time | relevance | path

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

12

/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_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_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_big_to_small.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/breakpoints/
Dstep_after_suspend_test.c187 if (!CPU_ISSET(cpu, &available_cpus)) in main()
203 if (!CPU_ISSET(cpu, &available_cpus)) in main()
/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/
Dbasic_test.c24 if (CPU_ISSET(i, &affinity)) { in test_cpu_pointer()
Dparam_test.c632 if (!CPU_ISSET(i, &allowed_cpus)) in test_percpu_list()
669 if (!CPU_ISSET(i, &allowed_cpus)) in test_percpu_list()
823 if (!CPU_ISSET(i, &allowed_cpus)) in test_percpu_buffer()
873 if (!CPU_ISSET(i, &allowed_cpus)) in test_percpu_buffer()
1038 if (!CPU_ISSET(i, &allowed_cpus)) in test_percpu_memcpy_buffer()
1085 if (!CPU_ISSET(i, &allowed_cpus)) in test_percpu_memcpy_buffer()
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/controllers/cpuset/cpuset_syscall_test/
Dcpuset_syscall_test.c140 if (CPU_ISSET(i, &tmask)) in test_getaffinity()
/external/mesa3d/src/util/
Du_thread.h147 if (CPU_ISSET(i, &cpuset)) in util_set_thread_affinity()
/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()
/external/rust/crates/libc/src/unix/linux_like/emscripten/
Dmod.rs1687 pub fn CPU_ISSET(cpu: usize, cpuset: &cpu_set_t) -> bool {
/external/rust/crates/libc/src/unix/uclibc/
Dmod.rs1587 pub fn CPU_ISSET(cpu: usize, cpuset: &cpu_set_t) -> bool {

12