Lines Matching refs:state
51 thread->state = ISCSI_THREAD_STATE_STOPPED;
78 switch (thread->state) {
83 thread->state = ISCSI_THREAD_STATE_DESTROYING;
95 /* Switch the state and wait for the thread to exit. */
96 thread->state = ISCSI_THREAD_STATE_DESTROYING;
128 switch (thread->state) {
134 thread->state = ISCSI_THREAD_STATE_STOPPING;
142 thread->state = ISCSI_THREAD_STATE_STOPPED;
148 thread->state = ISCSI_THREAD_STATE_STARTING;
155 thread->state = ISCSI_THREAD_STATE_STARTED;
183 switch (thread->state) {
189 thread->state = ISCSI_THREAD_STATE_STOPPING;
197 thread->state = ISCSI_THREAD_STATE_STOPPED;
226 switch (thread->state) {
260 switch (thread->state) {