Lines Matching defs:thi
247 static inline enum drbd_thread_state get_t_state(struct drbd_thread *thi)
254 return thi->t_state;
1070 extern int drbd_thread_start(struct drbd_thread *thi);
1071 extern void _drbd_thread_stop(struct drbd_thread *thi, int restart, int wait);
1073 extern void drbd_thread_current_set_cpu(struct drbd_thread *thi);
1493 extern int drbd_worker(struct drbd_thread *thi);
1548 extern int drbd_receiver(struct drbd_thread *thi);
1549 extern int drbd_ack_receiver(struct drbd_thread *thi);
1957 static inline void drbd_thread_stop(struct drbd_thread *thi)
1959 _drbd_thread_stop(thi, false, true);
1962 static inline void drbd_thread_stop_nowait(struct drbd_thread *thi)
1964 _drbd_thread_stop(thi, false, false);
1967 static inline void drbd_thread_restart_nowait(struct drbd_thread *thi)
1969 _drbd_thread_stop(thi, true, false);