Searched refs:send_ioctx (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c1685 struct srpt_send_ioctx *send_ioctx) srpt_handle_cmd()
1695 BUG_ON(!send_ioctx); srpt_handle_cmd()
1698 cmd = &send_ioctx->cmd; srpt_handle_cmd()
1717 if (srpt_get_desc_tbl(send_ioctx, srp_cmd, &dir, &data_len)) { srpt_handle_cmd()
1727 &send_ioctx->sense_data[0], unpacked_lun, data_len, srpt_handle_cmd()
1768 struct srpt_send_ioctx *send_ioctx) srpt_handle_tsk_mgmt()
1777 BUG_ON(!send_ioctx); srpt_handle_tsk_mgmt()
1780 cmd = &send_ioctx->cmd; srpt_handle_tsk_mgmt()
1786 srpt_set_cmd_state(send_ioctx, SRPT_STATE_MGMT); srpt_handle_tsk_mgmt()
1787 send_ioctx->cmd.tag = srp_tsk->tag; srpt_handle_tsk_mgmt()
1791 rc = target_submit_tmr(&send_ioctx->cmd, sess, NULL, unpacked_lun, srpt_handle_tsk_mgmt()
1795 send_ioctx->cmd.se_tmr_req->response = TMR_FUNCTION_REJECTED; srpt_handle_tsk_mgmt()
1810 struct srpt_send_ioctx *send_ioctx) srpt_handle_new_iu()
1833 if (!send_ioctx) srpt_handle_new_iu()
1834 send_ioctx = srpt_get_send_ioctx(ch); srpt_handle_new_iu()
1835 if (unlikely(!send_ioctx)) { srpt_handle_new_iu()
1844 srpt_handle_cmd(ch, recv_ioctx, send_ioctx); srpt_handle_new_iu()
1847 srpt_handle_tsk_mgmt(ch, recv_ioctx, send_ioctx); srpt_handle_new_iu()
1914 struct srpt_send_ioctx *send_ioctx; srpt_process_send_completion() local
1920 send_ioctx = ch->ioctx_ring[index]; srpt_process_send_completion()
1923 srpt_handle_send_comp(ch, send_ioctx); srpt_process_send_completion()
1927 srpt_handle_rdma_comp(ch, send_ioctx, opcode); srpt_process_send_completion()
1937 srpt_handle_rdma_err_comp(ch, send_ioctx, opcode); srpt_process_send_completion()
1944 && (send_ioctx = srpt_get_send_ioctx(ch)) != NULL)) { srpt_process_send_completion()
1951 srpt_handle_new_iu(ch, recv_ioctx, send_ioctx); srpt_process_send_completion()
1683 srpt_handle_cmd(struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx, struct srpt_send_ioctx *send_ioctx) srpt_handle_cmd() argument
1766 srpt_handle_tsk_mgmt(struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx, struct srpt_send_ioctx *send_ioctx) srpt_handle_tsk_mgmt() argument
1808 srpt_handle_new_iu(struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx, struct srpt_send_ioctx *send_ioctx) srpt_handle_new_iu() argument

Completed in 80 milliseconds