Lines Matching refs:sobj
139 #define IS_UPI(sobj) \ argument
140 ((uintptr_t)(sobj) - (uintptr_t)upimutextab < sizeof (upimutextab))
163 #define TURNSTILE_SOBJ_HASH(sobj) \ argument
164 ((((ulong_t)sobj >> 2) + ((ulong_t)sobj >> 9)) & TURNSTILE_HASH_MASK)
165 #define TURNSTILE_SOBJ_BUCKET(sobj) \ argument
166 ((IS_UPI(sobj) ? 0 : TURNSTILE_HASH_SIZE) + TURNSTILE_SOBJ_HASH(sobj))
167 #define TURNSTILE_CHAIN(sobj) turnstile_table[TURNSTILE_SOBJ_BUCKET(sobj)] argument
282 turnstile_lookup(void *sobj) in turnstile_lookup() argument
285 turnstile_chain_t *tc = &TURNSTILE_CHAIN(sobj); in turnstile_lookup()
290 if (ts->ts_sobj == sobj) in turnstile_lookup()
300 turnstile_exit(void *sobj) in turnstile_exit() argument
302 disp_lock_exit(&TURNSTILE_CHAIN(sobj).tc_lock); in turnstile_exit()
406 turnstile_block(turnstile_t *ts, int qnum, void *sobj, sobj_ops_t *sobj_ops, in turnstile_block() argument
413 turnstile_chain_t *tc = &TURNSTILE_CHAIN(sobj); in turnstile_block()
429 ts->ts_sobj = sobj; in turnstile_block()
443 ASSERT(ts->ts_sobj == sobj); in turnstile_block()
460 t->t_wchan = sobj; in turnstile_block()
483 SOBJ_OWNER(sobj_ops, sobj) == NULL) in turnstile_block()