Searched refs:TS_LISTS (Results 1 – 1 of 1) sorted by relevance
146 #define TS_LISTS 16 /* number of lists, must be power of 2 */ macro149 #define TS_LIST_HASH(tp) (((uintptr_t)(tp) >> 9) & (TS_LISTS - 1))152 #define TS_LIST_NEXT(i) (((i) + 1) & (TS_LISTS - 1))235 static kmutex_t ts_list_lock[TS_LISTS]; /* protects tsproc lists */236 static tsproc_t ts_plisthead[TS_LISTS]; /* dummy tsproc at head of lists */345 for (i = 0; i < TS_LISTS; i++) { in ts_init()