Home
last modified time | relevance | path

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

/freebsd/lib/libthr/thread/
H A Dthr_sleepq.c34 #define SC_HASH(wchan) ((unsigned) \ macro
38 #define SC_LOOKUP(wc) &sc_table[SC_HASH(wc)]
/freebsd/sys/kern/
H A Dsubr_sleepqueue.c103 #define SC_HASH(wc) ((((uintptr_t)(wc) >> SC_SHIFT) ^ (uintptr_t)(wc)) & \ macro
105 #define SC_LOOKUP(wc) &sleepq_chains[SC_HASH(wc)]
1317 LIST_FOREACH(sp, &sleepq_hash[SC_HASH(wmesg)], sp_link) in sleepq_profile()
1325 LIST_INSERT_HEAD(&sleepq_hash[SC_HASH(wmesg)], sp, sp_link); in sleepq_profile()