/external/stressapptest/src/ |
D | sattypes.h | 93 #if !defined(CPU_SETSIZE) 99 #define CPU_SETSIZE (sizeof(cpu_set_t) * 8) macro 107 for (int i = 0; i < CPU_SETSIZE; ++i) in cpuset_isequal() 114 for (int i = 0; i < CPU_SETSIZE; ++i) in cpuset_issubset() 122 for (int i = 0; i < CPU_SETSIZE; ++i) in cpuset_count() 137 for (int i = 0; i < CPU_SETSIZE; ++i) { in cpuset_format()
|
/external/autotest/client/tests/monotonic_time/src/ |
D | cpuset.c | 21 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) in count_cpus() 57 if (start < 0 || start >= CPU_SETSIZE) { in parse_cpu_set() 62 if (end < 0 || end >= CPU_SETSIZE) { in parse_cpu_set() 118 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) { in show_cpu_set()
|
D | threads.c | 16 #define MAX_CPUS CPU_SETSIZE
|
D | time_test.c | 327 for (c = 0; c < CPU_SETSIZE; c++) { in main()
|
/external/linux-kselftest/tools/testing/selftests/rseq/ |
D | basic_percpu_ops_test.c | 21 struct percpu_lock_entry c[CPU_SETSIZE]; 30 struct test_data_entry c[CPU_SETSIZE]; 44 struct percpu_list_entry c[CPU_SETSIZE]; 129 for (i = 0; i < CPU_SETSIZE; i++) in test_percpu_spinlock() 249 for (i = 0; i < CPU_SETSIZE; i++) { in test_percpu_list() 272 for (i = 0; i < CPU_SETSIZE; i++) { in test_percpu_list()
|
D | param_test.c | 251 struct percpu_lock_entry c[CPU_SETSIZE]; 260 struct test_data_entry c[CPU_SETSIZE]; 270 struct test_data_entry c[CPU_SETSIZE]; 289 struct percpu_list_entry c[CPU_SETSIZE]; 305 struct percpu_buffer_entry c[CPU_SETSIZE]; 322 struct percpu_memcpy_buffer_entry c[CPU_SETSIZE]; 431 for (i = 0; i < CPU_SETSIZE; i++) in test_percpu_spinlock() 507 for (i = 0; i < CPU_SETSIZE; i++) in test_percpu_inc() 631 for (i = 0; i < CPU_SETSIZE; i++) { in test_percpu_list() 666 for (i = 0; i < CPU_SETSIZE; i++) { in test_percpu_list() [all …]
|
D | basic_test.c | 23 for (i = 0; i < CPU_SETSIZE; i++) { in test_cpu_pointer()
|
/external/llvm-project/lldb/source/Plugins/Process/Linux/ |
D | SingleStepCheck.cpp | 45 for (volatile unsigned i = 0; i < CPU_SETSIZE; ++i) in Child() 96 for (cpu = 0; cpu < CPU_SETSIZE; ++cpu) { in WorkaroundNeeded() 141 return cpu != CPU_SETSIZE; in WorkaroundNeeded()
|
/external/crosvm/sys_util/src/ |
D | sched.rs | 10 use libc::{cpu_set_t, sched_setaffinity, CPU_SET, CPU_SETSIZE, CPU_ZERO, EINVAL}; 47 if cpu < CPU_SETSIZE as usize { in set_cpu_affinity()
|
/external/linux-kselftest/tools/testing/selftests/breakpoints/ |
D | step_after_suspend_test.c | 186 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) { in main() 200 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) { in main()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ |
D | utils.c | 102 for (cpu = 8; cpu < CPU_SETSIZE; cpu += 8) in pick_online_cpu() 107 for (cpu = CPU_SETSIZE - 1; cpu >= 0; cpu--) in pick_online_cpu()
|
/external/mesa3d/src/util/ |
D | u_thread.h | 146 for (unsigned i = 0; i < num_mask_bits && i < CPU_SETSIZE; i++) { in util_set_thread_affinity() 153 for (unsigned i = 0; i < num_mask_bits && i < CPU_SETSIZE; i++) { in util_set_thread_affinity()
|
/external/ltp/include/lapi/ |
D | cpuset.h | 37 if (ncpus > CPU_SETSIZE) { \
|
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/ |
D | dscr_sysfs_thread_test.c | 41 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) { in check_cpu_dscr_thread()
|
/external/autotest/client/tests/tsc/src/ |
D | checktsc.c | 97 if (start < 0 || start >= CPU_SETSIZE) { in parse_cpu_set() 102 if (end < 0 || end >= CPU_SETSIZE) { in parse_cpu_set()
|
D | sched.h | 41 #define CPU_SETSIZE __CPU_SETSIZE macro
|
/external/blktrace/ |
D | verify_blkparse.c | 29 MAX_CPUS = CPU_SETSIZE; in main()
|
/external/cpuinfo/src/linux/ |
D | processors.c | 70 #if defined(__ANDROID__) && !defined(CPU_SETSIZE) 81 static const uint32_t default_max_processors_count = CPU_SETSIZE;
|
/external/rust/crates/libc/src/unix/linux_like/android/b32/ |
D | mod.rs | 213 pub const CPU_SETSIZE: ::size_t = 32; constant
|
/external/rust/crates/libc/src/unix/linux_like/android/b64/ |
D | mod.rs | 301 pub const CPU_SETSIZE: ::size_t = 1024; constant
|
/external/rust/crates/num_cpus/src/ |
D | linux.rs | 43 for i in 0..libc::CPU_SETSIZE as usize { in logical_cpus()
|
/external/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/ |
D | mod.rs | 213 pub const CPU_SETSIZE: ::c_int = 0x400; constant
|
/external/XNNPACK/third_party/ |
D | cpuinfo.BUILD | 11 "-D_GNU_SOURCE=1", # to use CPU_SETSIZE
|
/external/tensorflow/third_party/cpuinfo/ |
D | BUILD.bazel | 11 "-D_GNU_SOURCE=1", # to use CPU_SETSIZE
|
/external/ruy/third_party/ |
D | cpuinfo.BUILD | 11 "-D_GNU_SOURCE=1", # to use CPU_SETSIZE
|