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

/freebsd-11.0-release/lib/libthr/thread/
H A Dthr_sleepq.c35 #define SC_HASH(wchan) ((unsigned) \ macro
39 #define SC_LOOKUP(wc) &sc_table[SC_HASH(wc)]
/freebsd-11.0-release/sys/kern/
H A Dsubr_sleepqueue.c96 #define SC_HASH(wc) ((((uintptr_t)(wc) >> SC_SHIFT) ^ (uintptr_t)(wc)) & \ macro
98 #define SC_LOOKUP(wc) &sleepq_chains[SC_HASH(wc)]
1191 LIST_FOREACH(sp, &sleepq_hash[SC_HASH(wmesg)], sp_link)
1199 LIST_INSERT_HEAD(&sleepq_hash[SC_HASH(wmesg)], sp, sp_link);

Completed in 105 milliseconds