Lines Matching refs:t_state
332 * t_state check and assignment needs to be within the same spinlock,
337 if (thi->t_state == RESTARTING) {
339 thi->t_state = RUNNING;
345 thi->t_state = NONE;
366 thi->t_state = NONE;
383 switch (thi->t_state) {
401 thi->t_state = RUNNING;
419 thi->t_state = RUNNING;
424 thi->t_state = RESTARTING;
448 if (thi->t_state == NONE) {
455 if (thi->t_state != ns) {
461 thi->t_state = ns;
2022 if (first_peer_device(device)->connection->receiver.t_state != NONE)
2023 drbd_err(device, "ASSERT FAILED: receiver t_state == %d expected 0.\n",
2024 first_peer_device(device)->connection->receiver.t_state);