Lines Matching refs:mtb_state
82 int mtb_state;
1096 state = mtb->mtb_state;
1103 mtb->mtb_state = TB_RESCHED;
1113 mtb->mtb_state = TB_RESCHED;
1126 mtb->mtb_state = TB_RUNNING;
1160 mtb->mtb_state = TB_IDLE;
1198 state = mtb->mtb_state;
1204 mtb->mtb_state = TB_TO_BE_FREED;
1213 mtb->mtb_state = TB_TO_BE_FREED;
1239 if (mtb->mtb_state == TB_RUNNING) {
1255 mtb->mtb_state = TB_RUNNING;
1257 } else if (mtb->mtb_state != TB_IDLE) {
1258 ASSERT(mtb->mtb_state != TB_TO_BE_FREED);
1286 state = mtb->mtb_state;
1292 mtb->mtb_state = TB_CANCELLED;
1294 mtb->mtb_state = TB_IDLE;
1299 mtb->mtb_state = TB_CANCELLED;
1319 state = mtb->mtb_state;
1332 mtb->mtb_state = TB_IDLE;
1342 mtb->mtb_state = TB_RUNNING;
1348 mtb->mtb_state = TB_IDLE;