Searched refs:CPU_COUNT (Results 1 – 9 of 9) sorted by relevance
22 #ifndef CPU_COUNT23 #define CPU_COUNT(x) __cpu_count(x) macro382 if (CPU_COUNT(&cpuset) != 1) in pthread_create()686 if (CPU_COUNT(cpuset) != 1) in pthread_setaffinity_np()
56 #define CPU_COUNT(s) count_cpu(s) macro
66 #define CPU_COUNT(p) BIT_COUNT(CPU_SETSIZE, p) macro
68 #define CPU_COUNT(p) ((int)BIT_COUNT(CPU_SETSIZE, p)) macro
254 if (offset < 0 || CPU_COUNT(&cpuset) == 0) in parse_l3ca()352 if (CPU_COUNT(&mask) != 0) { in check_cpus_overlapping()
1113 set_count = CPU_COUNT(&lcore_set); in eal_parse_lcores()1824 if (!CPU_COUNT(cpuset)) { in compute_ctrl_threads_cpuset()
2222 domain_cpus = CPU_COUNT(&cpuset_domain[vmd->vmd_domain]); in get_pageout_threads_per_domain()2228 eligible_cpus -= CPU_COUNT(&cpuset_domain[i]); in get_pageout_threads_per_domain()
719 #elif defined(JEMALLOC_GLIBC_MALLOC_HOOK) && defined(CPU_COUNT) in malloc_ncpus()731 result = CPU_COUNT(&set); in malloc_ncpus()2503 # ifdef CPU_COUNT
4817 MPASS(CPU_COUNT(&ctx->ifc_cpus) > 0); in iflib_device_register()5939 count = CPU_COUNT(&cpus); in find_nth()6038 return qid / CPU_COUNT(&ctx->ifc_cpus) + 1; in get_core_offset()6042 return qid / CPU_COUNT(&ctx->ifc_cpus); in get_core_offset()6470 queues = imin(CPU_COUNT(&ctx->ifc_cpus), queues); in iflib_msix_init()6474 CPU_COUNT(&ctx->ifc_cpus), queuemsgs, admincnt); in iflib_msix_init()