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()
1531 rc = target_init_cmd(cmd, ch->sess, &send_ioctx->sense_data[0], in srpt_handle_cmd()
1582 struct srpt_send_ioctx *send_ioctx) in srpt_handle_tsk_mgmt() argument
1590 BUG_ON(!send_ioctx); in srpt_handle_tsk_mgmt()
1593 cmd = &send_ioctx->cmd; in srpt_handle_tsk_mgmt()
1599 srpt_set_cmd_state(send_ioctx, SRPT_STATE_MGMT); in srpt_handle_tsk_mgmt()
1600 send_ioctx->cmd.tag = srp_tsk->tag; in srpt_handle_tsk_mgmt()
1602 rc = target_submit_tmr(&send_ioctx->cmd, sess, NULL, in srpt_handle_tsk_mgmt()
1607 send_ioctx->cmd.se_tmr_req->response = TMR_FUNCTION_REJECTED; in srpt_handle_tsk_mgmt()
1621 struct srpt_send_ioctx *send_ioctx = NULL; in srpt_handle_new_iu() local
1640 send_ioctx = srpt_get_send_ioctx(ch); in srpt_handle_new_iu()
1641 if (unlikely(!send_ioctx)) in srpt_handle_new_iu()
1652 srpt_handle_cmd(ch, recv_ioctx, send_ioctx); in srpt_handle_new_iu()
1655 srpt_handle_tsk_mgmt(ch, recv_ioctx, send_ioctx); in srpt_handle_new_iu()
1674 if (!send_ioctx || !send_ioctx->recv_ioctx) in srpt_handle_new_iu()