Lines Matching refs:send_ioctx
1685 struct srpt_send_ioctx *send_ioctx) in srpt_handle_cmd() argument
1695 BUG_ON(!send_ioctx); in srpt_handle_cmd()
1698 cmd = &send_ioctx->cmd; in srpt_handle_cmd()
1717 if (srpt_get_desc_tbl(send_ioctx, srp_cmd, &dir, &data_len)) { in srpt_handle_cmd()
1727 &send_ioctx->sense_data[0], unpacked_lun, data_len, in srpt_handle_cmd()
1768 struct srpt_send_ioctx *send_ioctx) in srpt_handle_tsk_mgmt() argument
1777 BUG_ON(!send_ioctx); in srpt_handle_tsk_mgmt()
1780 cmd = &send_ioctx->cmd; in srpt_handle_tsk_mgmt()
1786 srpt_set_cmd_state(send_ioctx, SRPT_STATE_MGMT); in srpt_handle_tsk_mgmt()
1787 send_ioctx->cmd.tag = srp_tsk->tag; in srpt_handle_tsk_mgmt()
1791 rc = target_submit_tmr(&send_ioctx->cmd, sess, NULL, unpacked_lun, in srpt_handle_tsk_mgmt()
1795 send_ioctx->cmd.se_tmr_req->response = TMR_FUNCTION_REJECTED; in srpt_handle_tsk_mgmt()
1810 struct srpt_send_ioctx *send_ioctx) in srpt_handle_new_iu() argument
1833 if (!send_ioctx) in srpt_handle_new_iu()
1834 send_ioctx = srpt_get_send_ioctx(ch); in srpt_handle_new_iu()
1835 if (unlikely(!send_ioctx)) { in srpt_handle_new_iu()
1844 srpt_handle_cmd(ch, recv_ioctx, send_ioctx); in srpt_handle_new_iu()
1847 srpt_handle_tsk_mgmt(ch, recv_ioctx, send_ioctx); in srpt_handle_new_iu()
1914 struct srpt_send_ioctx *send_ioctx; in srpt_process_send_completion() local
1920 send_ioctx = ch->ioctx_ring[index]; in srpt_process_send_completion()
1923 srpt_handle_send_comp(ch, send_ioctx); in srpt_process_send_completion()
1927 srpt_handle_rdma_comp(ch, send_ioctx, opcode); in srpt_process_send_completion()
1937 srpt_handle_rdma_err_comp(ch, send_ioctx, opcode); in srpt_process_send_completion()
1944 && (send_ioctx = srpt_get_send_ioctx(ch)) != NULL)) { in srpt_process_send_completion()
1951 srpt_handle_new_iu(ch, recv_ioctx, send_ioctx); in srpt_process_send_completion()