Home
last modified time | relevance | path

Searched refs:cpu (Results 1 – 17 of 17) sorted by relevance

/sysdeps/unix/sysv/linux/
A Dtst-skeleton-thread-affinity.c58 cpu, current); in thread_burn_one_cpu()
89 int cpu = sched_getcpu (); in thread_burn_any_cpu() local
95 param->thread, cpu); in thread_burn_any_cpu()
171 for (int cpu = 0; cpu <= conf->last_cpu; ++cpu) in early_test() local
177 other_threads[cpu].thread = cpu; in early_test()
198 for (int cpu = 0; cpu <= conf->last_cpu; ++cpu) in early_test() local
209 cpu, strerror (ret)); in early_test()
220 cpu, strerror (ret)); in early_test()
229 for (int cpu = 0; cpu <= conf->last_cpu; ++cpu) in early_test() local
239 cpu, strerror (ret)); in early_test()
[all …]
A Dtst-skeleton-affinity.c93 for (int cpu = 0; cpus_found < total_cpus; ++cpu) in find_last_cpu() local
95 if (CPU_ISSET_S (cpu, size, set)) in find_last_cpu()
97 last_cpu = cpu; in find_last_cpu()
165 for (int cpu = 0; cpu <= conf->last_cpu; ++cpu) in test_size() local
175 if (!CPU_ISSET_S (cpu, kernel_size, initial_set)) in test_size()
177 last_active_cpu = cpu; in test_size()
180 CPU_SET_S (cpu, kernel_size, active_cpu_set); in test_size()
183 printf ("error: size %zu: setaffinity (%d): %m\n", size, cpu); in test_size()
187 if (active_cpu != cpu) in test_size()
217 for (int cpu = 0; cpu < size; ++cpu) in test_size() local
[all …]
A Dsched_getcpu.c26 unsigned int cpu; in vsyscall_sched_getcpu() local
29 r = INLINE_VSYSCALL (getcpu, 3, &cpu, NULL, NULL); in vsyscall_sched_getcpu()
31 r = INLINE_SYSCALL_CALL (getcpu, &cpu, NULL, NULL); in vsyscall_sched_getcpu()
33 return r == -1 ? r : cpu; in vsyscall_sched_getcpu()
A Dgetcpu.c24 __getcpu (unsigned int *cpu, unsigned int *node) in __getcpu() argument
27 return INLINE_VSYSCALL (getcpu, 3, cpu, node, NULL); in __getcpu()
29 return INLINE_SYSCALL_CALL (getcpu, cpu, node, NULL); in __getcpu()
/sysdeps/x86/
A DMakefile2 gen-as-const-headers += cpu-features-offsets.sym
7 sysdep-dl-routines += dl-get-cpu-features
12 tests += tst-get-cpu-features tst-get-cpu-features-static \
13 tst-cpu-features-cpuinfo tst-cpu-features-cpuinfo-static \
14 tst-cpu-features-supports tst-cpu-features-supports-static
15 tests-static += tst-get-cpu-features-static \
16 tst-cpu-features-cpuinfo-static \
17 tst-cpu-features-supports-static
83 tst-setjmp-cet-ENV = GLIBC_TUNABLES=glibc.cpu.x86_ibt=on:glibc.cpu.x86_shstk=on
190 tst-cet-legacy-4b-ENV = GLIBC_TUNABLES=glibc.cpu.x86_shstk=on
[all …]
A Dcacheinfo.h25 # define TUNABLE_NAMESPACE cpu
A Ddl-tunables.list20 cpu {
A Dcpu-tunables.c20 # define TUNABLE_NAMESPACE cpu
/sysdeps/powerpc/
A Dcpu-features.c33 int32_t cached_memfunc = TUNABLE_GET (glibc, cpu, cached_memopt, int32_t, in init_cpu_features()
A Dpreconfigure.ac24 # not choose a --with-cpu value. Scan a trivial generated assembly program
38 # cpu, don't let the generic configure append extra compiler options.
A Dpreconfigure24 # not choose a --with-cpu value. Scan a trivial generated assembly program
38 # cpu, don't let the generic configure append extra compiler options.
A Ddl-tunables.list20 cpu {
/sysdeps/unix/sysv/linux/aarch64/
A Dcpu-features.c71 const char *mcpu = TUNABLE_GET (glibc, cpu, name, const char *, NULL); in init_cpu_features()
/sysdeps/aarch64/
A Ddl-tunables.list20 cpu {
/sysdeps/x86/include/
A Dcpu-features-preferred_feature_index_1.def1 /* Bits in the PREFERRED_FEATURE_INDEX_1 bitfield of <cpu-features.h>.
/sysdeps/powerpc/powerpc64/le/fpu/multiarch/
A DMakefile148 for cpu in $(f128-march-cpus); do \
149 file=$(objpfx)$${gcall}-$${cpu}.c; \
/sysdeps/x86_64/
A DMakefile58 tst-x86_64-1-ENV = GLIBC_TUNABLES=glibc.cpu.hwcaps=-XSAVEC
75 GLIBC_TUNABLES=glibc.cpu.hwcaps=-AVX512F,-AVX2

Completed in 11 milliseconds