Lines Matching refs:conn
220 void iscsi_activate_thread_set(struct iscsi_conn *conn, struct iscsi_thread_set *ts) in iscsi_activate_thread_set() argument
225 conn->thread_set = ts; in iscsi_activate_thread_set()
226 ts->conn = conn; in iscsi_activate_thread_set()
270 void iscsi_set_thread_clear(struct iscsi_conn *conn, u8 thread_clear) in iscsi_set_thread_clear() argument
274 if (!conn->thread_set) { in iscsi_set_thread_clear()
278 ts = conn->thread_set; in iscsi_set_thread_clear()
292 void iscsi_set_thread_set_signal(struct iscsi_conn *conn, u8 signal_sent) in iscsi_set_thread_set_signal() argument
296 if (!conn->thread_set) { in iscsi_set_thread_set_signal()
300 ts = conn->thread_set; in iscsi_set_thread_set_signal()
307 int iscsi_release_thread_set(struct iscsi_conn *conn) in iscsi_release_thread_set() argument
312 if (!conn || !conn->thread_set) { in iscsi_release_thread_set()
316 ts = conn->thread_set; in iscsi_release_thread_set()
355 ts->conn = NULL; in iscsi_release_thread_set()
362 int iscsi_thread_set_force_reinstatement(struct iscsi_conn *conn) in iscsi_thread_set_force_reinstatement() argument
366 if (!conn->thread_set) in iscsi_thread_set_force_reinstatement()
368 ts = conn->thread_set; in iscsi_thread_set_force_reinstatement()
449 if (!ts->conn) { in iscsi_rx_thread_pre_handler()
462 return ts->conn; in iscsi_rx_thread_pre_handler()
501 if (!ts->conn) { in iscsi_tx_thread_pre_handler()
522 return ts->conn; in iscsi_tx_thread_pre_handler()