Lines Matching refs:tc
295 tx_cpu_t *tc = &tx->tx_cpu[CPU_SEQID];
298 mutex_enter(&tc->tc_open_lock);
301 mutex_enter(&tc->tc_lock);
302 tc->tc_count[txg & TXG_MASK]++;
303 mutex_exit(&tc->tc_lock);
305 th->th_cpu = tc;
314 tx_cpu_t *tc = th->th_cpu;
316 ASSERT(!MUTEX_HELD(&tc->tc_lock));
317 mutex_exit(&tc->tc_open_lock);
323 tx_cpu_t *tc = th->th_cpu;
326 mutex_enter(&tc->tc_lock);
327 list_move_tail(&tc->tc_callbacks[g], tx_callbacks);
328 mutex_exit(&tc->tc_lock);
334 tx_cpu_t *tc = th->th_cpu;
337 mutex_enter(&tc->tc_lock);
338 ASSERT(tc->tc_count[g] != 0);
339 if (--tc->tc_count[g] == 0)
340 cv_broadcast(&tc->tc_cv[g]);
341 mutex_exit(&tc->tc_lock);
383 tx_cpu_t *tc = &tx->tx_cpu[c];
384 mutex_enter(&tc->tc_lock);
385 while (tc->tc_count[g] != 0)
386 cv_wait(&tc->tc_cv[g], &tc->tc_lock);
387 mutex_exit(&tc->tc_lock);
415 tx_cpu_t *tc = &tx->tx_cpu[c];
423 if (list_is_empty(&tc->tc_callbacks[g]))
439 list_move_tail(cb_list, &tc->tc_callbacks[g]);