Searched refs:SC_TABLESIZE (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/sys/amd64/include/
H A Dparam.h163 #define SC_TABLESIZE 1024 /* Must be power of 2. */ macro
/freebsd-current/sys/kern/
H A Dsubr_sleepqueue.c95 * SC_TABLESIZE must be a power of two for SC_MASK to work properly.
97 #ifndef SC_TABLESIZE
98 #define SC_TABLESIZE 256 macro
100 CTASSERT(powerof2(SC_TABLESIZE));
101 #define SC_MASK (SC_TABLESIZE - 1)
159 static struct sleepqueue_chain sleepq_chains[SC_TABLESIZE];
194 for (i = 0; i < SC_TABLESIZE; i++) {
221 for (i = 0; i < SC_TABLESIZE; i++) {
1179 for (sc = &sleepq_chains[0]; sc < sleepq_chains + SC_TABLESIZE; ++sc) {
1324 struct sqphead sleepq_hash[SC_TABLESIZE];
[all...]

Completed in 125 milliseconds