Lines Matching refs:t_state
346 if (thi->t_state == RESTARTING) { in drbd_thread_setup()
348 thi->t_state = RUNNING; in drbd_thread_setup()
354 thi->t_state = NONE; in drbd_thread_setup()
375 thi->t_state = NONE; in drbd_thread_init()
392 switch (thi->t_state) { in drbd_thread_start()
410 thi->t_state = RUNNING; in drbd_thread_start()
428 thi->t_state = RUNNING; in drbd_thread_start()
433 thi->t_state = RESTARTING; in drbd_thread_start()
457 if (thi->t_state == NONE) { in _drbd_thread_stop()
464 if (thi->t_state != ns) { in _drbd_thread_stop()
470 thi->t_state = ns; in _drbd_thread_stop()
2052 if (first_peer_device(device)->connection->receiver.t_state != NONE) in drbd_device_cleanup()
2054 first_peer_device(device)->connection->receiver.t_state); in drbd_device_cleanup()