Home
last modified time | relevance | path

Searched refs:CPU_COUNT (Results 1 – 9 of 9) sorted by relevance

/f-stack/dpdk/examples/performance-thread/pthread_shim/
H A Dpthread_shim.c22 #ifndef CPU_COUNT
23 #define CPU_COUNT(x) __cpu_count(x) macro
382 if (CPU_COUNT(&cpuset) != 1) in pthread_create()
686 if (CPU_COUNT(cpuset) != 1) in pthread_setaffinity_np()
/f-stack/dpdk/lib/librte_eal/windows/include/
H A Dsched.h56 #define CPU_COUNT(s) count_cpu(s) macro
/f-stack/tools/compat/include/sys/
H A Dcpuset.h66 #define CPU_COUNT(p) BIT_COUNT(CPU_SETSIZE, p) macro
/f-stack/freebsd/sys/
H A Dcpuset.h68 #define CPU_COUNT(p) ((int)BIT_COUNT(CPU_SETSIZE, p)) macro
/f-stack/dpdk/examples/l2fwd-cat/
H A Dcat.c254 if (offset < 0 || CPU_COUNT(&cpuset) == 0) in parse_l3ca()
352 if (CPU_COUNT(&mask) != 0) { in check_cpus_overlapping()
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_options.c1113 set_count = CPU_COUNT(&lcore_set); in eal_parse_lcores()
1824 if (!CPU_COUNT(cpuset)) { in compute_ctrl_threads_cpuset()
/f-stack/freebsd/vm/
H A Dvm_pageout.c2222 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()
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Djemalloc.c719 #elif defined(JEMALLOC_GLIBC_MALLOC_HOOK) && defined(CPU_COUNT) in malloc_ncpus()
731 result = CPU_COUNT(&set); in malloc_ncpus()
2503 # ifdef CPU_COUNT
/f-stack/freebsd/net/
H A Diflib.c4817 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()