Lines Matching refs:send_ioctx
1489 struct srpt_send_ioctx *send_ioctx) in srpt_handle_cmd() argument
1499 BUG_ON(!send_ioctx); in srpt_handle_cmd()
1502 cmd = &send_ioctx->cmd; in srpt_handle_cmd()
1521 rc = srpt_get_desc_tbl(recv_ioctx, send_ioctx, srp_cmd, &dir, in srpt_handle_cmd()
1532 &send_ioctx->sense_data[0], in srpt_handle_cmd()
1578 struct srpt_send_ioctx *send_ioctx) in srpt_handle_tsk_mgmt() argument
1586 BUG_ON(!send_ioctx); in srpt_handle_tsk_mgmt()
1589 cmd = &send_ioctx->cmd; in srpt_handle_tsk_mgmt()
1595 srpt_set_cmd_state(send_ioctx, SRPT_STATE_MGMT); in srpt_handle_tsk_mgmt()
1596 send_ioctx->cmd.tag = srp_tsk->tag; in srpt_handle_tsk_mgmt()
1598 rc = target_submit_tmr(&send_ioctx->cmd, sess, NULL, in srpt_handle_tsk_mgmt()
1603 send_ioctx->cmd.se_tmr_req->response = TMR_FUNCTION_REJECTED; in srpt_handle_tsk_mgmt()
1617 struct srpt_send_ioctx *send_ioctx = NULL; in srpt_handle_new_iu() local
1636 send_ioctx = srpt_get_send_ioctx(ch); in srpt_handle_new_iu()
1637 if (unlikely(!send_ioctx)) in srpt_handle_new_iu()
1648 srpt_handle_cmd(ch, recv_ioctx, send_ioctx); in srpt_handle_new_iu()
1651 srpt_handle_tsk_mgmt(ch, recv_ioctx, send_ioctx); in srpt_handle_new_iu()
1670 if (!send_ioctx || !send_ioctx->recv_ioctx) in srpt_handle_new_iu()