Home
last modified time | relevance | path

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

/freebsd-12.1/lib/libthr/thread/
H A Dthr_sleepq.c37 #define SC_HASH(wchan) ((unsigned) \ macro
41 #define SC_LOOKUP(wc) &sc_table[SC_HASH(wc)]
/freebsd-12.1/sys/kern/
H A Dsubr_sleepqueue.c104 #define SC_HASH(wc) ((((uintptr_t)(wc) >> SC_SHIFT) ^ (uintptr_t)(wc)) & \ macro
106 #define SC_LOOKUP(wc) &sleepq_chains[SC_HASH(wc)]
1300 LIST_FOREACH(sp, &sleepq_hash[SC_HASH(wmesg)], sp_link) in sleepq_profile()
1308 LIST_INSERT_HEAD(&sleepq_hash[SC_HASH(wmesg)], sp, sp_link); in sleepq_profile()