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

/freebsd-10.2-release/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-10.2-release/sys/kern/
H A Dsubr_sleepqueue.c94 #define SC_HASH(wc) ((((uintptr_t)(wc) >> SC_SHIFT) ^ (uintptr_t)(wc)) & \ macro
96 #define SC_LOOKUP(wc) &sleepq_chains[SC_HASH(wc)]
1047 LIST_FOREACH(sp, &sleepq_hash[SC_HASH(wmesg)], sp_link)
1055 LIST_INSERT_HEAD(&sleepq_hash[SC_HASH(wmesg)], sp, sp_link);

Completed in 50 milliseconds