Lines Matching refs:t_state
341 * t_state check and assignment needs to be within the same spinlock,
346 if (thi->t_state == RESTARTING) {
348 thi->t_state = RUNNING;
354 thi->t_state = NONE;
375 thi->t_state = NONE;
392 switch (thi->t_state) {
410 thi->t_state = RUNNING;
428 thi->t_state = RUNNING;
433 thi->t_state = RESTARTING;
457 if (thi->t_state == NONE) {
464 if (thi->t_state != ns) {
470 thi->t_state = ns;
2052 if (first_peer_device(device)->connection->receiver.t_state != NONE)
2053 drbd_err(device, "ASSERT FAILED: receiver t_state == %d expected 0.\n",
2054 first_peer_device(device)->connection->receiver.t_state);