HomeSort by: relevance | last modified time | path
    Searched defs:cpus (Results 1 - 25 of 29) sorted by relevancy

1 2

  /src/sys/arch/riscv/fdt/
cpus_fdt.c 46 const int cpus = faa->faa_phandle; local
49 int ret = of_getprop_uint32(cpus, "timebase-frequency", &tbfreq);
cpu_fdt.c 70 const int cpus = OF_finddevice("/cpus"); local
71 if (cpus == -1) {
72 aprint_error("%s: no /cpus node found\n", __func__);
78 for (int child = OF_child(cpus); child; child = OF_peer(child)) {
125 const int cpus = OF_finddevice("/cpus"); local
126 if (cpus == -1) {
127 aprint_error("%s: no /cpus node found\n", __func__);
133 for (int child = OF_child(cpus); child; child = OF_peer(child))
    [all...]
clint_fdt.c 167 const int cpus = OF_finddevice("/cpus"); local
168 if (cpus == -1) {
169 aprint_error(": couldn't get 'cpus' node\n");
174 int ret = of_getprop_uint32(cpus, "timebase-frequency", &tbfreq);
  /src/sys/arch/evbmips/alchemy/
genericbd.c 69 } cpus[] = { variable in typeref:struct:__anon1324
85 for (i = 0; cpus[i].name; i++) {
86 if (cpus[i].id == MIPS_PRID_COPTS(cpu_id)) {
87 genericbd_info.ab_name = cpus[i].name;
  /src/sys/arch/macppc/macppc/
mainbus.c 70 int node, cpus, i; local
89 cpus = OF_finddevice("/cpus");
96 if ((cpus != -1) && (cpus != 0)) {
97 node = OF_child(cpus);
  /src/external/gpl3/binutils/dist/include/opcode/
arc-attrs.h 34 unsigned cpus; member in struct:feature_type
  /src/external/gpl3/binutils.old/dist/include/opcode/
arc-attrs.h 34 unsigned cpus; member in struct:feature_type
  /src/external/gpl3/gdb/dist/include/opcode/
arc-attrs.h 34 unsigned cpus; member in struct:feature_type
  /src/external/gpl3/gdb.old/dist/include/opcode/
arc-attrs.h 34 unsigned cpus; member in struct:feature_type
  /src/external/public-domain/xz/dist/src/common/
tuklib_cpucores.c 76 int cpus; local
77 size_t cpus_size = sizeof(cpus);
78 if (sysctl(name, 2, &cpus, &cpus_size, NULL, 0) != -1
79 && cpus_size == sizeof(cpus) && cpus > 0)
80 ret = cpus;
85 const long cpus = sysconf(_SC_NPROCESSORS_ONLN); local
88 const long cpus = sysconf(_SC_NPROC_ONLN); local
90 if (cpus > 0)
91 ret = cpus;
    [all...]
  /src/sys/arch/ia64/acpi/
madt.c 228 int cpus, t, tables; local
239 cpus = 0;
258 cpus++;
264 return cpus;
  /src/sys/arch/vax/vax/
multicpu.c 61 struct cpu_info_qh cpus = SIMPLEQ_HEAD_INITIALIZER(cpus); variable in typeref:struct:cpu_info_qh
105 SIMPLEQ_INSERT_TAIL(&cpus, ci, ci_next);
  /src/external/mit/libuv/dist/test/
test-platform-output.c 35 uv_cpu_info_t* cpus; local
132 err = uv_cpu_info(&cpus, &count);
140 printf(" model: %s\n", cpus[i].model);
141 printf(" speed: %d\n", cpus[i].speed);
142 printf(" times.sys: %llu\n", (unsigned long long) cpus[i].cpu_times.sys);
144 (unsigned long long) cpus[i].cpu_times.user);
146 (unsigned long long) cpus[i].cpu_times.idle);
147 printf(" times.irq: %llu\n", (unsigned long long) cpus[i].cpu_times.irq);
149 (unsigned long long) cpus[i].cpu_times.nice);
152 uv_free_cpu_info(cpus, count)
    [all...]
  /src/external/mpl/bind/dist/lib/isc/
os.c 76 * automatically use the given number of CPUs rather than the system
81 cpu_set_t cpus; local
84 result = sched_getaffinity(0, sizeof(cpus), &cpus);
87 return CPU_COUNT(&cpus);
92 if (CPU_ISSET(i, &cpus)) {
113 cpuset_t cpus; local
117 sizeof(cpus), &cpus);
121 if (CPU_ISSET(i, &cpus)) {
    [all...]
  /src/sys/arch/evbmips/sbmips/
sb1250_icu.c 266 * Bits 27:24 (11:8 of G_SYS_PART) encode the number of CPUs present.
269 const u_int cpus = (sys_part >> 8) & 0xf; local
276 for (u_int i = 1; imr += IMR_REGISTER_SPACING, i < cpus; i++) {
  /src/sys/arch/sbmips/sbmips/
sb1250_icu.c 266 * Bits 27:24 (11:8 of G_SYS_PART) encode the number of CPUs present.
269 const u_int cpus = (sys_part >> 8) & 0xf; local
276 for (u_int i = 1; imr += IMR_REGISTER_SPACING, i < cpus; i++) {
  /src/external/bsd/nsd/dist/
configparser.y 65 %type <cpu> cpus
588 | VAR_CPU_AFFINITY cpus
723 cpus: label
725 | cpus STRING
  /src/sys/arch/arm/fdt/
cpu_fdt.c 149 const int cpus = OF_finddevice("/cpus"); local
150 if (cpus == -1) {
151 aprint_error("%s: no /cpus node found\n", __func__);
156 /* Count CPUs */
164 for (child = OF_child(cpus); child; child = OF_peer(child)) {
228 const int cpus = OF_finddevice("/cpus"); local
229 if (cpus == -1) {
230 aprint_error("%s: no /cpus node found\n", __func__)
    [all...]
  /src/sys/arch/arm/samsung/
exynos_platform.c 112 const int cpus = OF_finddevice("/cpus"); local
113 if (cpus == -1) {
114 aprint_error("%s: no /cpus node found\n", __func__);
143 for (child = OF_child(cpus); child; child = OF_peer(child)) {
348 cpus_off = fdt_path_offset(fdt_data, "/cpus");
  /src/sys/dev/nvmm/
nvmm_internal.h 98 struct nvmm_cpu cpus[NVMM_MAX_VCPUS]; member in struct:nvmm_machine
  /src/sys/arch/sparc64/sparc64/
cpu.c 87 /* Linked list of all CPUs in system. */
91 struct cpu_info *cpus = NULL; variable in typeref:struct:cpu_info
93 volatile sparc64_cpuset_t cpus_active;/* set of active cpus */
320 * Check for matching cpuid in the cpus list.
324 for (cpi = cpus; cpi != NULL; cpi = cpi->ci_next)
367 * Finally, add itself to the list of active cpus.
369 for (ci = cpus; ci->ci_next != NULL; ci = ci->ci_next)
504 * For other cpus, we need to call mi_cpu_attach()
758 cpus[0].ci_next = NULL;
763 for (ci = cpus; ci != NULL; ci = ci->ci_next)
    [all...]
  /src/sys/arch/xen/x86/
cpu.c 592 kcpuset_t *cpus; local
595 kcpuset_create(&cpus, true);
596 kcpuset_set(cpus, cpu_index(curcpu()));
608 kcpuset_set(cpus, cpu_index(ci));
610 while (!kcpuset_match(cpus, kcpuset_running))
612 kcpuset_destroy(cpus);
1169 * - on __x86_64__, this is for multiple CPUs to map in different user pmaps
1263 * Notify all other cpus to halt.
  /src/external/gpl2/gmake/dist/
getloadavg.c 470 static unsigned int cpus = 0;
690 if (cpus == 0)
721 cpus = c;
722 samples = cpus < 2 ? 3 : (2 * cpus / 3);
745 loadavg[elem++] = load / samples / cpus;
469 static unsigned int cpus = 0; variable
  /src/sys/arch/x86/x86/
cpu.c 284 * the maximum only. We should fix it once cpus have different
356 aprint_error(": too many CPUs, please use NetBSD/amd64\n");
358 aprint_error(": too many CPUs\n");
556 * only after all CPUs have attached.
577 * CPUs. But their initialization was mostly bypassed
755 kcpuset_t *cpus; local
758 /* Now that we know the number of CPUs, patch the text segment. */
766 kcpuset_create(&cpus, true);
767 kcpuset_set(cpus, cpu_index(curcpu()));
779 kcpuset_set(cpus, cpu_index(ci))
    [all...]
  /src/external/gpl2/dtc/dist/
livetree.c 627 struct node *cpus, *bootcpu; local
630 cpus = get_node_by_path(tree, "/cpus");
631 if (!cpus)
635 bootcpu = cpus->children;

Completed in 48 milliseconds

1 2