| /freebsd-14.2/sys/sys/ |
| H A D | cpuset.h | 41 #define _NCPUWORDS __bitset_words(CPU_SETSIZE) 45 #define CPU_CLR(n, p) __BIT_CLR(CPU_SETSIZE, n, p) 46 #define CPU_COPY(f, t) __BIT_COPY(CPU_SETSIZE, f, t) 47 #define CPU_ISSET(n, p) __BIT_ISSET(CPU_SETSIZE, n, p) 48 #define CPU_SET(n, p) __BIT_SET(CPU_SETSIZE, n, p) 49 #define CPU_ZERO(p) __BIT_ZERO(CPU_SETSIZE, p) 50 #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) 69 #define CPU_FFS(p) __BIT_FFS(CPU_SETSIZE, p) [all …]
|
| H A D | _cpuset.h | 38 #define CPU_SETSIZE MAXCPU macro 43 #ifndef CPU_SETSIZE 44 #define CPU_SETSIZE CPU_MAXSIZE macro 47 __BITSET_DEFINE(_cpuset, CPU_SETSIZE);
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libc/gen/ |
| H A D | t_cpuset.c | 51 if (i > CPU_SETSIZE) in cpuset_set() 61 if (i > CPU_SETSIZE) in cpuset_clr() 71 if (i > CPU_SETSIZE) in cpuset_isset()
|
| /freebsd-14.2/tools/tools/tscdrift/ |
| H A D | tscdrift.c | 108 for (ncpu = 0, i = 0; i < CPU_SETSIZE; i++) { in main() 118 for (i = 0, j = 0; i < CPU_SETSIZE; i++) in main()
|
| /freebsd-14.2/lib/libpmcstat/ |
| H A D | libpmcstat_event.c | 46 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) { in pmcstat_clone_event_descriptor()
|
| /freebsd-14.2/lib/libutil/ |
| H A D | cpuset.c | 57 if (curnum > CPU_SETSIZE) in cpuset_parselist()
|
| H A D | login_class.c | 268 if (curnum > CPU_SETSIZE) in list2cpuset() 270 "Only %d cpus supported", CPU_SETSIZE); in list2cpuset()
|
| /freebsd-14.2/lib/libutil/tests/ |
| H A D | cpuset_test.c | 20 snprintf(testvalue, sizeof(testvalue), "%d", CPU_SETSIZE + 1); in ATF_TC_BODY()
|
| /freebsd-14.2/usr.sbin/bhyve/ |
| H A D | bhyverun.c | 297 if (pcpu < 0 || pcpu >= CPU_SETSIZE) { in pincpu_parse() 299 "0 to %d\n", pcpu, CPU_SETSIZE - 1); in pincpu_parse() 330 if (pcpu < 0 || pcpu >= CPU_SETSIZE) in parse_cpuset() 332 pcpu, CPU_SETSIZE - 1); in parse_cpuset()
|
| /freebsd-14.2/tools/tools/netrate/tcpp/ |
| H A D | tcpp_server.c | 197 #if defined(CPU_SETSIZE) && 0 in tcpp_server_worker() 212 if (sched_setaffinity(0, CPU_SETSIZE, &mask) < 0) in tcpp_server_worker()
|
| H A D | tcpp_client.c | 214 #if defined(CPU_SETSIZE) && 0 in tcpp_client_worker() 229 if (sched_setaffinity(0, CPU_SETSIZE, &mask) < 0) in tcpp_client_worker()
|
| H A D | tcpp.c | 179 #if defined(CPU_SETSIZE) && 0 in main()
|
| /freebsd-14.2/contrib/xz/src/common/ |
| H A D | tuklib_cpucores.c | 68 for (unsigned i = 0; i < CPU_SETSIZE; ++i) in tuklib_cpucores()
|
| /freebsd-14.2/usr.bin/procstat/ |
| H A D | procstat_cs.c | 89 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) { in procstat_cs()
|
| /freebsd-14.2/bin/cpuset/ |
| H A D | cpuset.c | 173 parselist(list, (struct bitset *)mask, CPU_SETSIZE); in parsecpulist() 255 printset((struct bitset *)&mask, CPU_SETSIZE); in printaffinity()
|
| /freebsd-14.2/sys/compat/linuxkpi/common/src/ |
| H A D | linux_compat.c | 2807 (2 * __bitset_words(CPU_SETSIZE) - 1) * (_BITSET_BITS / 8), in linux_compat_init() 2825 (__bitset_words(CPU_SETSIZE) - 1); in linux_compat_init() 2828 bwp += (2 * __bitset_words(CPU_SETSIZE) - 1); in linux_compat_init() 2838 bwp += (2 * __bitset_words(CPU_SETSIZE) - 1) * in linux_compat_init() 2840 __bitset_words(CPU_SETSIZE) - 1; in linux_compat_init()
|
| /freebsd-14.2/tools/tools/crypto/ |
| H A D | cryptotest.c | 612 if (maxthreads > CPU_SETSIZE) in main()
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_cpuset.c | 1427 CPU_SETSIZE); in cpusetobj_strprint() 1443 p = buf[bitset_strscan((struct bitset *)set, CPU_SETSIZE, buf)]; in cpusetobj_strscan() 2584 ddb_display_bitset((const struct bitset *)set, CPU_SETSIZE); in ddb_display_cpuset()
|
| H A D | kern_intr.c | 459 for (n = 0; n < CPU_SETSIZE; n++) { in intr_setaffinity()
|
| /freebsd-14.2/contrib/ofed/libmlx5/ |
| H A D | mlx5.c | 333 } while (i < CPU_SETSIZE); in mlx5_local_cpu_set()
|
| /freebsd-14.2/usr.bin/top/ |
| H A D | machine.c | 367 maxid = MIN(size / CPUSTATES / sizeof(long) - 1, CPU_SETSIZE - 1); in machine_init()
|
| /freebsd-14.2/usr.sbin/bhyvectl/ |
| H A D | bhyvectl.c | 422 for (i = 0; i < CPU_SETSIZE; i++) { in print_cpus()
|
| /freebsd-14.2/sys/amd64/vmm/ |
| H A D | vmm.c | 305 #define VM_MAXCPU MIN(0xffff - 1, CPU_SETSIZE)
|
| /freebsd-14.2/sys/compat/freebsd32/ |
| H A D | freebsd32_misc.c | 3437 for (int i = 0; i < __bitset_words(CPU_SETSIZE); i++) { in copyout32_set()
|
| /freebsd-14.2/sys/net/ |
| H A D | iflib.c | 4966 for (i = 0; i < CPU_SETSIZE; i++) { in find_l2_neighbor()
|