Home
last modified time | relevance | path

Searched refs:cpu_count (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_misc.c302 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 Dsmartpqi_main.c487 softs->hint.cpu_count = value; in smartpqi_read_all_device_hint_file_entries()
H A Dsmartpqi_defines.h1134 uint32_t cpu_count; member
/freebsd/contrib/tcsh/
H A Dsh.time.c431 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 Dhost.defs138 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 Dsmp.h61 int cpu_count; member
/freebsd/sys/kern/
H A Dsubr_smp.c1243 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 Dmpi3mr_pci.c596 msgs = min(sc->max_msix_vectors, sc->cpu_count); in mpi3mr_alloc_interrupts()
603 sc->cpu_count, msgs); in mpi3mr_alloc_interrupts()
H A Dmpi3mr.h542 int cpu_count; member
H A Dmpi3mr.c2716 sc->cpu_count = mp_ncpus; in mpi3mr_initialize_ioc()
/freebsd/sys/x86/x86/
H A Dmp_x86.c845 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 Dif_axgbe_pci.c613 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 Dvgic_v3.c1873 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()