| /f-stack/tools/compat/include/sys/ |
| H A D | cpuset.h | 40 #define _NCPUWORDS __bitset_words(CPU_SETSIZE) 44 #define CPU_CLR(n, p) BIT_CLR(CPU_SETSIZE, n, p) 47 #define CPU_SET(n, p) BIT_SET(CPU_SETSIZE, n, p) 48 #define CPU_ZERO(p) BIT_ZERO(CPU_SETSIZE, p) 49 #define CPU_FILL(p) BIT_FILL(CPU_SETSIZE, p) 51 #define CPU_EMPTY(p) BIT_EMPTY(CPU_SETSIZE, p) 55 #define CPU_CMP(p, c) BIT_CMP(CPU_SETSIZE, p, c) 56 #define CPU_OR(d, s) BIT_OR(CPU_SETSIZE, d, s) 57 #define CPU_AND(d, s) BIT_AND(CPU_SETSIZE, d, s) 65 #define CPU_FFS(p) BIT_FFS(CPU_SETSIZE, p) [all …]
|
| H A D | _cpuset.h | 39 #define CPU_SETSIZE MAXCPU macro 44 #ifndef CPU_SETSIZE 45 #define CPU_SETSIZE CPU_MAXSIZE macro 48 BITSET_DEFINE(_cpuset, CPU_SETSIZE);
|
| /f-stack/freebsd/sys/ |
| H A D | cpuset.h | 42 #define _NCPUWORDS __bitset_words(CPU_SETSIZE) 46 #define CPU_CLR(n, p) BIT_CLR(CPU_SETSIZE, n, p) 47 #define CPU_COPY(f, t) BIT_COPY(CPU_SETSIZE, f, t) 49 #define CPU_SET(n, p) BIT_SET(CPU_SETSIZE, n, p) 50 #define CPU_ZERO(p) BIT_ZERO(CPU_SETSIZE, p) 51 #define CPU_FILL(p) BIT_FILL(CPU_SETSIZE, p) 53 #define CPU_EMPTY(p) BIT_EMPTY(CPU_SETSIZE, p) 57 #define CPU_CMP(p, c) BIT_CMP(CPU_SETSIZE, p, c) 58 #define CPU_OR(d, s) BIT_OR(CPU_SETSIZE, d, s) 59 #define CPU_AND(d, s) BIT_AND(CPU_SETSIZE, d, s) [all …]
|
| H A D | _cpuset.h | 40 #define CPU_SETSIZE MAXCPU macro 45 #ifndef CPU_SETSIZE 46 #define CPU_SETSIZE CPU_MAXSIZE macro 49 BITSET_DEFINE(_cpuset, CPU_SETSIZE);
|
| /f-stack/dpdk/lib/librte_eal/windows/include/ |
| H A D | sched.h | 17 #ifndef CPU_SETSIZE 18 #define CPU_SETSIZE RTE_MAX_LCORE macro 29 long long _bits[_NUM_SETS(CPU_SETSIZE)]; 38 for (_i = 0; _i < _NUM_SETS(CPU_SETSIZE); _i++) \ 51 for (_i = 0; _i < _NUM_SETS(CPU_SETSIZE); _i++) in count_cpu() 62 for (_i = 0; _i < _NUM_SETS(CPU_SETSIZE); _i++) \ 70 for (_i = 0; _i < _NUM_SETS(CPU_SETSIZE); _i++) \ 77 for (_i = 0; _i < _NUM_SETS(CPU_SETSIZE); _i++) \ 84 for (_i = 0; _i < _NUM_SETS(CPU_SETSIZE); _i++) \
|
| /f-stack/app/nginx-1.16.1/src/os/unix/ |
| H A D | ngx_setaffinity.c | 18 for (i = 0; i < CPU_SETSIZE; i++) { in ngx_setaffinity() 40 for (i = 0; i < CPU_SETSIZE; i++) { in ngx_setaffinity()
|
| /f-stack/dpdk/lib/librte_eal/linux/include/ |
| H A D | rte_os.h | 23 for (i = 0; i < CPU_SETSIZE; i++) \
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_thread.c | 60 } while (++cpu < CPU_SETSIZE); in eal_cpuset_socket_id() 114 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) { in eal_thread_dump_affinity()
|
| H A D | eal_common_options.c | 906 if (errno || end == NULL || idx >= CPU_SETSIZE) in eal_parse_set() 924 if (errno || end == NULL || idx >= CPU_SETSIZE) in eal_parse_set() 964 if (errno || end == NULL || idx >= CPU_SETSIZE) in eal_parse_set() 1005 for (idx = 0; idx < CPU_SETSIZE; idx++) { in check_cpuset()
|
| H A D | eal_common_lcore.c | 183 for (; lcore_id < CPU_SETSIZE; lcore_id++) { in rte_eal_cpu_init()
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | nginx.c | 1379 for (i = 0; i < (ngx_uint_t) ngx_min(ngx_ncpu, CPU_SETSIZE); i++) { in ngx_set_cpu_affinity() 1391 if (value[n].len > CPU_SETSIZE) { in ngx_set_cpu_affinity() 1394 CPU_SETSIZE); in ngx_set_cpu_affinity() 1462 if (CPU_ISSET(i % CPU_SETSIZE, mask) && j-- == 0) { in ngx_get_cpu_affinity() 1466 if (i == CPU_SETSIZE && j == n) { in ngx_get_cpu_affinity() 1475 CPU_SET(i % CPU_SETSIZE, &result); in ngx_get_cpu_affinity()
|
| /f-stack/tools/libutil/ |
| H A D | login_class.c | 263 if (curnum > CPU_SETSIZE) in list2cpuset() 265 "Only %d cpus supported", CPU_SETSIZE); in list2cpuset()
|
| /f-stack/dpdk/drivers/bus/dpaa/base/qbman/ |
| H A D | bman_driver.c | 47 for (loop = 0; loop < CPU_SETSIZE; loop++) in fsl_bman_portal_init()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_cpuset.c | 1389 CPU_SETSIZE); in cpusetobj_strprint() 1405 p = buf[bitset_strscan((struct bitset *)set, CPU_SETSIZE, buf)]; in cpusetobj_strscan() 2408 ddb_display_bitset((const struct bitset *)set, CPU_SETSIZE); in ddb_display_cpuset()
|
| H A D | kern_intr.c | 436 for (n = 0; n < CPU_SETSIZE; n++) { in intr_setaffinity()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_eal_flags.c | 532 "--lcores", "3@" RTE_STR(CPU_SETSIZE) }; in test_missing_c_flag()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | server.c | 2777 for (j = 0; j < CPU_SETSIZE; j++) in resetCpuAffinity()
|