Lines Matching refs:send_ioctx
1554 struct srpt_send_ioctx *send_ioctx) in srpt_handle_cmd() argument
1564 BUG_ON(!send_ioctx); in srpt_handle_cmd()
1567 cmd = &send_ioctx->cmd; in srpt_handle_cmd()
1586 rc = srpt_get_desc_tbl(recv_ioctx, send_ioctx, srp_cmd, &dir, in srpt_handle_cmd()
1596 rc = target_init_cmd(cmd, ch->sess, &send_ioctx->sense_data[0], in srpt_handle_cmd()
1647 struct srpt_send_ioctx *send_ioctx) in srpt_handle_tsk_mgmt() argument
1655 BUG_ON(!send_ioctx); in srpt_handle_tsk_mgmt()
1658 cmd = &send_ioctx->cmd; in srpt_handle_tsk_mgmt()
1664 srpt_set_cmd_state(send_ioctx, SRPT_STATE_MGMT); in srpt_handle_tsk_mgmt()
1665 send_ioctx->cmd.tag = srp_tsk->tag; in srpt_handle_tsk_mgmt()
1667 rc = target_submit_tmr(&send_ioctx->cmd, sess, NULL, in srpt_handle_tsk_mgmt()
1672 send_ioctx->cmd.se_tmr_req->response = TMR_FUNCTION_REJECTED; in srpt_handle_tsk_mgmt()
1686 struct srpt_send_ioctx *send_ioctx = NULL; in srpt_handle_new_iu() local
1705 send_ioctx = srpt_get_send_ioctx(ch); in srpt_handle_new_iu()
1706 if (unlikely(!send_ioctx)) in srpt_handle_new_iu()
1717 srpt_handle_cmd(ch, recv_ioctx, send_ioctx); in srpt_handle_new_iu()
1720 srpt_handle_tsk_mgmt(ch, recv_ioctx, send_ioctx); in srpt_handle_new_iu()
1739 if (!send_ioctx || !send_ioctx->recv_ioctx) in srpt_handle_new_iu()