TS_LISTS
#define TS_LIST_HASH(tp) (((uintptr_t)(tp) >> 9) & (TS_LISTS - 1))
#define TS_LIST_NEXT(i) (((i) + 1) & (TS_LISTS - 1))
static kmutex_t ts_list_lock[TS_LISTS]; /* protects tsproc lists */
static tsproc_t ts_plisthead[TS_LISTS]; /* dummy tsproc at head of lists */
for (i = 0; i < TS_LISTS; i++) {