Lines Matching refs:ch_state
1818 enum rdma_ch_state ch_state; in srpt_handle_new_iu() local
1827 ch_state = srpt_get_ch_state(ch); in srpt_handle_new_iu()
1828 if (unlikely(ch_state == CH_CONNECTING)) { in srpt_handle_new_iu()
1833 if (unlikely(ch_state != CH_LIVE)) in srpt_handle_new_iu()
2429 enum rdma_ch_state ch_state; in srpt_cm_req_recv() local
2431 ch_state = srpt_get_ch_state(ch); in srpt_cm_req_recv()
2432 if (ch_state != CH_CONNECTING in srpt_cm_req_recv()
2433 && ch_state != CH_LIVE) in srpt_cm_req_recv()
2439 ch->sess_name, ch->cm_id, ch_state); in srpt_cm_req_recv()
2902 enum rdma_ch_state ch_state; in srpt_write_pending() local
2913 ch_state = srpt_get_ch_state(ch); in srpt_write_pending()
2914 switch (ch_state) { in srpt_write_pending()
2916 WARN(true, "unexpected channel state %d\n", ch_state); in srpt_write_pending()