Lines Matching refs:send_ioctx

1690 			   struct srpt_send_ioctx *send_ioctx)  in srpt_handle_cmd()  argument
1700 BUG_ON(!send_ioctx); in srpt_handle_cmd()
1703 cmd = &send_ioctx->cmd; in srpt_handle_cmd()
1704 send_ioctx->tag = srp_cmd->tag; in srpt_handle_cmd()
1722 if (srpt_get_desc_tbl(send_ioctx, srp_cmd, &dir, &data_len)) { in srpt_handle_cmd()
1732 &send_ioctx->sense_data[0], unpacked_lun, data_len, in srpt_handle_cmd()
1773 struct srpt_send_ioctx *send_ioctx) in srpt_handle_tsk_mgmt() argument
1782 BUG_ON(!send_ioctx); in srpt_handle_tsk_mgmt()
1785 cmd = &send_ioctx->cmd; in srpt_handle_tsk_mgmt()
1791 srpt_set_cmd_state(send_ioctx, SRPT_STATE_MGMT); in srpt_handle_tsk_mgmt()
1792 send_ioctx->tag = srp_tsk->tag; in srpt_handle_tsk_mgmt()
1796 rc = target_submit_tmr(&send_ioctx->cmd, sess, NULL, unpacked_lun, in srpt_handle_tsk_mgmt()
1800 send_ioctx->cmd.se_tmr_req->response = TMR_FUNCTION_REJECTED; in srpt_handle_tsk_mgmt()
1815 struct srpt_send_ioctx *send_ioctx) in srpt_handle_new_iu() argument
1838 if (!send_ioctx) in srpt_handle_new_iu()
1839 send_ioctx = srpt_get_send_ioctx(ch); in srpt_handle_new_iu()
1840 if (unlikely(!send_ioctx)) { in srpt_handle_new_iu()
1849 srpt_handle_cmd(ch, recv_ioctx, send_ioctx); in srpt_handle_new_iu()
1852 srpt_handle_tsk_mgmt(ch, recv_ioctx, send_ioctx); in srpt_handle_new_iu()
1919 struct srpt_send_ioctx *send_ioctx; in srpt_process_send_completion() local
1925 send_ioctx = ch->ioctx_ring[index]; in srpt_process_send_completion()
1928 srpt_handle_send_comp(ch, send_ioctx); in srpt_process_send_completion()
1932 srpt_handle_rdma_comp(ch, send_ioctx, opcode); in srpt_process_send_completion()
1942 srpt_handle_rdma_err_comp(ch, send_ioctx, opcode); in srpt_process_send_completion()
1949 && (send_ioctx = srpt_get_send_ioctx(ch)) != NULL)) { in srpt_process_send_completion()
1956 srpt_handle_new_iu(ch, recv_ioctx, send_ioctx); in srpt_process_send_completion()