Home
last modified time | relevance | path

Searched refs:CPU_SETSIZE (Results 1 – 25 of 34) sorted by relevance

12

/external/stressapptest/src/
Dsattypes.h93 #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/
Dcpuset.c21 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()
Dthreads.c16 #define MAX_CPUS CPU_SETSIZE
Dtime_test.c327 for (c = 0; c < CPU_SETSIZE; c++) { in main()
/external/linux-kselftest/tools/testing/selftests/rseq/
Dbasic_percpu_ops_test.c21 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()
Dparam_test.c251 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 …]
Dbasic_test.c23 for (i = 0; i < CPU_SETSIZE; i++) { in test_cpu_pointer()
/external/llvm-project/lldb/source/Plugins/Process/Linux/
DSingleStepCheck.cpp45 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/
Dsched.rs10 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/
Dstep_after_suspend_test.c186 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/
Dutils.c102 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/
Du_thread.h146 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/
Dcpuset.h37 if (ncpus > CPU_SETSIZE) { \
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/
Ddscr_sysfs_thread_test.c41 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) { in check_cpu_dscr_thread()
/external/autotest/client/tests/tsc/src/
Dchecktsc.c97 if (start < 0 || start >= CPU_SETSIZE) { in parse_cpu_set()
102 if (end < 0 || end >= CPU_SETSIZE) { in parse_cpu_set()
Dsched.h41 #define CPU_SETSIZE __CPU_SETSIZE macro
/external/blktrace/
Dverify_blkparse.c29 MAX_CPUS = CPU_SETSIZE; in main()
/external/cpuinfo/src/linux/
Dprocessors.c70 #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/
Dmod.rs213 pub const CPU_SETSIZE: ::size_t = 32; constant
/external/rust/crates/libc/src/unix/linux_like/android/b64/
Dmod.rs301 pub const CPU_SETSIZE: ::size_t = 1024; constant
/external/rust/crates/num_cpus/src/
Dlinux.rs43 for i in 0..libc::CPU_SETSIZE as usize { in logical_cpus()
/external/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/
Dmod.rs213 pub const CPU_SETSIZE: ::c_int = 0x400; constant
/external/XNNPACK/third_party/
Dcpuinfo.BUILD11 "-D_GNU_SOURCE=1", # to use CPU_SETSIZE
/external/tensorflow/third_party/cpuinfo/
DBUILD.bazel11 "-D_GNU_SOURCE=1", # to use CPU_SETSIZE
/external/ruy/third_party/
Dcpuinfo.BUILD11 "-D_GNU_SOURCE=1", # to use CPU_SETSIZE

12