Searched refs:CPU_COUNT (Results 1 – 13 of 13) sorted by relevance
59 ret = (uint32_t)CPU_COUNT(&cpu_mask); in tuklib_cpucores()65 # ifdef CPU_COUNT in tuklib_cpucores()66 ret = (uint32_t)CPU_COUNT(&set); in tuklib_cpucores()
95 if (CPU_COUNT(mask) < ncpu) in skip_ltncpu()170 ncpu = CPU_COUNT(&mask); in ATF_TC_BODY()211 ATF_REQUIRE_EQ(1, CPU_COUNT(&mask)); in ATF_TC_BODY()339 count = CPU_COUNT(mask); in jail_attach_mutate_pro()341 ATF_REQUIRE_EQ(count - 1, CPU_COUNT(mask)); in jail_attach_mutate_pro()
48 #ifdef CPU_COUNT in cpuset_popcount()50 return CPU_COUNT (cpusetp); in cpuset_popcount()
69 #define CPU_COUNT(p) BIT_COUNT(CPU_SETSIZE, p) macro
71 #if !defined(CPU_COUNT) && !defined(__aarch64__)723 #elif SANITIZER_ANDROID && !defined(CPU_COUNT) && !defined(__aarch64__) in GetNumberOfCPUs()764 return CPU_COUNT(&CPUs); in GetNumberOfCPUs()
143 return static_cast<u32>(CPU_COUNT(&CPUs)); in getNumberOfCPUs()
296 return CPU_COUNT(&mask);300 return CPU_COUNT(&Set);
1404 return CPU_COUNT(&Enabled); in computeHostNumPhysicalCores()1410 return CPU_COUNT(&Affinity); in computeHostNumPhysicalCores()1419 int NumCPUs = CPU_COUNT(DynAffinity); in computeHostNumPhysicalCores()
175 DPRINTF(dev, "We have %d cpu on this dev\n", CPU_COUNT(&sc->cpus)); in cpufreq_dt_set()
723 #elif defined(JEMALLOC_GLIBC_MALLOC_HOOK) && defined(CPU_COUNT) in malloc_ncpus()735 result = CPU_COUNT(&set); in malloc_ncpus()2492 # ifdef CPU_COUNT
1359 queues = CPU_COUNT(&cpus); in ice_allocate_msix()1377 rdma = min(CPU_COUNT(&cpus), ICE_RDMA_MAX_MSIX); in ice_allocate_msix()
4699 n = n % CPU_COUNT(&ctx->ifc_cpus); in cpuid_advance()4942 cores_consumed = CPU_COUNT(&assigned_cpus); in get_ctx_core_offset()5100 MPASS(CPU_COUNT(&ctx->ifc_cpus) > 0); in iflib_device_register()6647 queues = imin(CPU_COUNT(&ctx->ifc_cpus), queues); in iflib_msix_init()6651 CPU_COUNT(&ctx->ifc_cpus), queuemsgs, admincnt); in iflib_msix_init()
859 cpuset.9 CPU_COUNT.9 \