Home
last modified time | relevance | path

Searched refs:CPU_SETSIZE (Results 1 – 24 of 24) sorted by relevance

/freebsd-14-stable/sys/sys/
HDcpuset.h41 #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)
51 #define CPU_SETOF(n, p) __BIT_SETOF(CPU_SETSIZE, n, p)
52 #define CPU_EQUAL(p, c) (__BIT_CMP(CPU_SETSIZE, p, c) == 0)
53 #define CPU_EMPTY(p) __BIT_EMPTY(CPU_SETSIZE, p)
[all …]
HD_cpuset.h38 #define CPU_SETSIZE MAXCPU macro
43 #ifndef CPU_SETSIZE
44 #define CPU_SETSIZE CPU_MAXSIZE macro
47 __BITSET_DEFINE(_cpuset, CPU_SETSIZE);
/freebsd-14-stable/contrib/netbsd-tests/lib/libc/gen/
HDt_cpuset.c51 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-stable/tools/tools/tscdrift/
HDtscdrift.c108 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-stable/lib/libpmcstat/
HDlibpmcstat_event.c46 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) { in pmcstat_clone_event_descriptor()
/freebsd-14-stable/usr.sbin/bhyve/
HDbhyverun.c297 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-stable/tools/tools/netrate/tcpp/
HDtcpp_server.c197 #if defined(CPU_SETSIZE) && 0 in tcpp_server_worker()
212 if (sched_setaffinity(0, CPU_SETSIZE, &mask) < 0) in tcpp_server_worker()
HDtcpp_client.c214 #if defined(CPU_SETSIZE) && 0 in tcpp_client_worker()
229 if (sched_setaffinity(0, CPU_SETSIZE, &mask) < 0) in tcpp_client_worker()
HDtcpp.c179 #if defined(CPU_SETSIZE) && 0 in main()
/freebsd-14-stable/lib/libutil/tests/
HDcpuset_test.c20 snprintf(testvalue, sizeof(testvalue), "%d", CPU_SETSIZE + 1); in ATF_TC_BODY()
/freebsd-14-stable/lib/libutil/
HDcpuset.c57 if (curnum > CPU_SETSIZE) in cpuset_parselist()
HDlogin_class.c268 if (curnum > CPU_SETSIZE) in list2cpuset()
270 "Only %d cpus supported", CPU_SETSIZE); in list2cpuset()
/freebsd-14-stable/contrib/xz/src/common/
HDtuklib_cpucores.c67 for (unsigned i = 0; i < CPU_SETSIZE; ++i) in tuklib_cpucores()
/freebsd-14-stable/usr.bin/procstat/
HDprocstat_cs.c89 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) { in procstat_cs()
/freebsd-14-stable/sys/compat/linuxkpi/common/src/
HDlinux_compat.c2887 (2 * __bitset_words(CPU_SETSIZE) - 1) * (_BITSET_BITS / 8), in linux_compat_init()
2905 (__bitset_words(CPU_SETSIZE) - 1); in linux_compat_init()
2908 bwp += (2 * __bitset_words(CPU_SETSIZE) - 1); in linux_compat_init()
2918 bwp += (2 * __bitset_words(CPU_SETSIZE) - 1) * in linux_compat_init()
2920 __bitset_words(CPU_SETSIZE) - 1; in linux_compat_init()
/freebsd-14-stable/tools/tools/crypto/
HDcryptotest.c612 if (maxthreads > CPU_SETSIZE) in main()
/freebsd-14-stable/sys/kern/
HDkern_cpuset.c1427 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()
HDkern_intr.c459 for (n = 0; n < CPU_SETSIZE; n++) { in intr_setaffinity()
/freebsd-14-stable/contrib/ofed/libmlx5/
HDmlx5.c333 } while (i < CPU_SETSIZE); in mlx5_local_cpu_set()
/freebsd-14-stable/usr.bin/top/
HDmachine.c367 maxid = MIN(size / CPUSTATES / sizeof(long) - 1, CPU_SETSIZE - 1); in machine_init()
/freebsd-14-stable/usr.sbin/bhyvectl/
HDbhyvectl.c422 for (i = 0; i < CPU_SETSIZE; i++) { in print_cpus()
/freebsd-14-stable/sys/amd64/vmm/
HDvmm.c305 #define VM_MAXCPU MIN(0xffff - 1, CPU_SETSIZE)
/freebsd-14-stable/sys/compat/freebsd32/
HDfreebsd32_misc.c3496 for (int i = 0; i < __bitset_words(CPU_SETSIZE); i++) { in copyout32_set()
/freebsd-14-stable/sys/net/
HDiflib.c4969 for (i = 0; i < CPU_SETSIZE; i++) { in find_l2_neighbor()