Searched refs:cpu_count (Results 1 – 13 of 13) sorted by relevance
/freebsd/sys/dev/smartpqi/ |
H A D | smartpqi_misc.c | 302 if (softs->hint.cpu_count > softs->num_cpus_online) { in bsd_set_hint_adapter_cpu_config() 308 softs->num_cpus_online = softs->hint.cpu_count; in bsd_set_hint_adapter_cpu_config()
|
H A D | smartpqi_main.c | 487 softs->hint.cpu_count = value; in smartpqi_read_all_device_hint_file_entries()
|
H A D | smartpqi_defines.h | 1134 uint32_t cpu_count; member
|
/freebsd/contrib/tcsh/ |
H A D | sh.time.c | 431 if ((sysinfo.cpu_count == 0) && in prusage() 433 sysinfo.cpu_count = 1; in prusage() 434 i = (ms == 0) ? 0 : (t * 1000.0 / (ms * sysinfo.cpu_count)); in prusage()
|
H A D | host.defs | 138 result[2] = sysinfo.cpu_count + '0'; 145 result[3] = sysinfo.cpu_count + '0'; 152 result[3] = sysinfo.cpu_count + '0'; 159 result[3] = sysinfo.cpu_count + '0';
|
/freebsd/sys/sys/ |
H A D | smp.h | 61 int cpu_count; member
|
/freebsd/sys/kern/ |
H A D | subr_smp.c | 1243 KASSERT(CPU_EMPTY(&node->cpuset) && node->cpu_count == 0, in topo_set_pu_id() 1247 node->cpu_count = 1; in topo_set_pu_id() 1254 node->cpu_count++; in topo_set_pu_id()
|
/freebsd/sys/dev/mpi3mr/ |
H A D | mpi3mr_pci.c | 596 msgs = min(sc->max_msix_vectors, sc->cpu_count); in mpi3mr_alloc_interrupts() 603 sc->cpu_count, msgs); in mpi3mr_alloc_interrupts()
|
H A D | mpi3mr.h | 542 int cpu_count; member
|
H A D | mpi3mr.c | 2716 sc->cpu_count = mp_ncpus; in mpi3mr_initialize_ioc()
|
/freebsd/sys/x86/x86/ |
H A D | mp_x86.c | 845 cg_root->cg_count = root->cpu_count; in x86topo_add_sched_group() 873 root->cpu_count > 1 && ncores < 2) in x86topo_add_sched_group() 927 if (nchildren == root->cpu_count) in x86topo_add_sched_group()
|
/freebsd/sys/dev/axgbe/ |
H A D | if_axgbe_pci.c | 613 int cpu_count, err; in axgbe_set_counts() local 642 len = sizeof(cpu_count); in axgbe_set_counts() 643 err = kernel_sysctlbyname(curthread, "hw.ncpu", &cpu_count, &len, NULL, in axgbe_set_counts() 647 cpu_count = 1; in axgbe_set_counts() 655 DBGPR("ncpu %d intrcpu %d\n", cpu_count, CPU_COUNT(&lcpus)); in axgbe_set_counts()
|
/freebsd/sys/arm64/vmm/io/ |
H A D | vgic_v3.c | 1873 size_t cpu_count; in vgic_v3_attach_to_vm() local 1898 cpu_count = descr->v3_regs.redist_size / in vgic_v3_attach_to_vm() 1900 if (cpu_count > vm_get_maxcpus(vm)) in vgic_v3_attach_to_vm()
|