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

/linux-4.1.27/drivers/scsi/bnx2fc/
H A Dbnx2fc_els.c121 void *resp_buf; bnx2fc_l2_els_compl() local
149 resp_buf = mp_req->resp_buf; bnx2fc_l2_els_compl()
163 memcpy(buf + hdr_len, resp_buf, resp_len); bnx2fc_l2_els_compl()
265 void *resp_buf; bnx2fc_srr_compl() local
319 resp_buf = mp_req->resp_buf; bnx2fc_srr_compl()
328 memcpy(buf + hdr_len, resp_buf, resp_len); bnx2fc_srr_compl()
380 void *resp_buf; bnx2fc_rec_compl() local
443 acc = resp_buf = mp_req->resp_buf; bnx2fc_rec_compl()
453 memcpy(buf + hdr_len, resp_buf, resp_len); bnx2fc_rec_compl()
H A Dbnx2fc_io.c605 if (mp_req->resp_buf) { bnx2fc_free_mp_resc()
607 mp_req->resp_buf, bnx2fc_free_mp_resc()
609 mp_req->resp_buf = NULL; bnx2fc_free_mp_resc()
637 mp_req->resp_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, bnx2fc_init_mp_req()
640 if (!mp_req->resp_buf) { bnx2fc_init_mp_req()
646 memset(mp_req->resp_buf, 0, CNIC_PAGE_SIZE); bnx2fc_init_mp_req()
1553 rsp_buf = tm_req->resp_buf; bnx2fc_process_tm_compl()
H A Dbnx2fc.h397 void *resp_buf; member in struct:bnx2fc_mp_req
/linux-4.1.27/sound/firewire/fireworks/
H A Dfireworks.c191 kfree(efw->resp_buf); efw_card_free()
240 efw->resp_buf = kzalloc(snd_efw_resp_buf_size, GFP_KERNEL); efw_probe()
241 if (efw->resp_buf == NULL) { efw_probe()
245 efw->pull_ptr = efw->push_ptr = efw->resp_buf; efw_probe()
H A Dfireworks_hwdep.c52 (unsigned int)(efw->pull_ptr - efw->resp_buf); hwdep_read_resp_buf()
59 if (efw->pull_ptr >= efw->resp_buf + hwdep_read_resp_buf()
H A Dfireworks_transaction.c144 (unsigned int)(efw->push_ptr - efw->resp_buf); copy_resp_to_buf()
150 if (efw->push_ptr >= efw->resp_buf + snd_efw_resp_buf_size) copy_resp_to_buf()
H A Dfireworks.h106 u8 *resp_buf; member in struct:snd_efw
/linux-4.1.27/fs/cifs/
H A Dtransport.c93 cifs_buf_release(midEntry->resp_buf); DeleteMidQEntry()
95 cifs_small_buf_release(midEntry->resp_buf); DeleteMidQEntry()
664 unsigned int len = get_rfc1002_length(mid->resp_buf) + 4; cifs_check_receive()
666 dump_smb(mid->resp_buf, min_t(u32, 92, len)); cifs_check_receive()
675 iov.iov_base = mid->resp_buf; cifs_check_receive()
686 return map_smb_to_linux_error(mid->resp_buf, log_error); cifs_check_receive()
807 if (!midQ->resp_buf || midQ->mid_state != MID_RESPONSE_RECEIVED) { SendReceive2()
813 buf = (char *)midQ->resp_buf; SendReceive2()
828 midQ->resp_buf = NULL; SendReceive2()
929 if (!midQ->resp_buf || !out_buf || SendReceive()
936 *pbytes_returned = get_rfc1002_length(midQ->resp_buf); SendReceive()
937 memcpy(out_buf, midQ->resp_buf, *pbytes_returned + 4); SendReceive()
1107 *pbytes_returned = get_rfc1002_length(midQ->resp_buf); SendReceiveBlockingLock()
1108 memcpy(out_buf, midQ->resp_buf, *pbytes_returned + 4); SendReceiveBlockingLock()
H A Dsmb2transport.c550 unsigned int len = get_rfc1002_length(mid->resp_buf); smb2_check_receive()
555 iov.iov_base = (char *)mid->resp_buf; smb2_check_receive()
556 iov.iov_len = get_rfc1002_length(mid->resp_buf) + 4; smb2_check_receive()
558 dump_smb(mid->resp_buf, min_t(u32, 80, len)); smb2_check_receive()
569 return map_smb2_to_linux_error(mid->resp_buf, log_error); smb2_check_receive()
H A Dcifs_debug.c93 mid_entry->resp_buf, cifs_dump_mids()
99 if (mid_entry->resp_buf) { cifs_dump_mids()
100 cifs_dump_detail(mid_entry->resp_buf); cifs_dump_mids()
102 mid_entry->resp_buf, 62); cifs_dump_mids()
H A Dsmb1ops.c395 if (mid->resp_buf) { cifs_check_trans2()
397 malformed = coalesce_t2(buf, mid->resp_buf); cifs_check_trans2()
410 mid->resp_buf = buf; cifs_check_trans2()
H A Dcifsglob.h1236 * - mid->resp_buf will point to the current buffer.
1269 void *resp_buf; /* pointer to received SMB header */ member in struct:mid_q_entry
H A Dsmb2pdu.c1614 struct smb2_echo_rsp *smb2 = (struct smb2_echo_rsp *)mid->resp_buf; smb2_echo_callback()
1933 struct smb2_write_rsp *rsp = (struct smb2_write_rsp *)mid->resp_buf; smb2_writev_callback()
H A Dsmb2ops.c117 return le16_to_cpu(((struct smb2_hdr *)mid->resp_buf)->CreditRequest); smb2_get_credits()
H A Dconnect.c680 mid->resp_buf = buf; handle_mid()
H A Dcifssmb.c2052 WRITE_RSP *smb = (WRITE_RSP *)mid->resp_buf; cifs_writev_callback()
/linux-4.1.27/drivers/firmware/
H A Dqcom_scm.c263 * @resp_buf: response buffer
276 size_t cmd_len, void *resp_buf, size_t resp_len) qcom_scm_call()
307 if (resp_buf) qcom_scm_call()
308 memcpy(resp_buf, qcom_scm_get_response_buffer(rsp), resp_len); qcom_scm_call()
275 qcom_scm_call(u32 svc_id, u32 cmd_id, const void *cmd_buf, size_t cmd_len, void *resp_buf, size_t resp_len) qcom_scm_call() argument
/linux-4.1.27/drivers/net/wireless/libertas/
H A Ddev.h135 u8 resp_buf[2][LBS_UPLD_SIZE]; member in struct:lbs_private
H A Dif_cs.c554 if_cs_receive_cmdres(priv, priv->resp_buf[i], if_cs_interrupt()
H A Dif_sdio.c228 memcpy(priv->resp_buf[i], buffer, size); if_sdio_handle_cmd()
H A Dif_spi.c731 memcpy(priv->resp_buf[i], card->cmd_buffer, len); if_spi_c2h_cmd()
H A Dif_usb.c644 memcpy(priv->resp_buf[i], recvbuff + MESSAGE_HEADER_LEN, process_cmdrequest()
H A Dmain.c537 priv->resp_buf[resp_idx], lbs_thread()
/linux-4.1.27/drivers/scsi/bnx2i/
H A Dbnx2i_iscsi.c953 if (bnx2i_conn->gen_pdu.resp_buf) { bnx2i_conn_free_login_resources()
956 bnx2i_conn->gen_pdu.resp_buf, bnx2i_conn_free_login_resources()
958 bnx2i_conn->gen_pdu.resp_buf = NULL; bnx2i_conn_free_login_resources()
992 bnx2i_conn->gen_pdu.resp_buf = bnx2i_conn_alloc_login_resources()
997 if (bnx2i_conn->gen_pdu.resp_buf == NULL) bnx2i_conn_alloc_login_resources()
1001 bnx2i_conn->gen_pdu.resp_wr_ptr = bnx2i_conn->gen_pdu.resp_buf; bnx2i_conn_alloc_login_resources()
1026 bnx2i_conn->gen_pdu.resp_buf, bnx2i_conn_alloc_login_resources()
1028 bnx2i_conn->gen_pdu.resp_buf = NULL; bnx2i_conn_alloc_login_resources()
H A Dbnx2i_hwi.c1487 bnx2i_conn->gen_pdu.resp_buf + pld_len; bnx2i_process_login_resp()
1502 bnx2i_conn->gen_pdu.resp_buf, bnx2i_process_login_resp()
1503 bnx2i_conn->gen_pdu.resp_wr_ptr - bnx2i_conn->gen_pdu.resp_buf); bnx2i_process_login_resp()
1548 bnx2i_conn->gen_pdu.resp_wr_ptr = bnx2i_conn->gen_pdu.resp_buf + bnx2i_process_text_resp()
1562 bnx2i_conn->gen_pdu.resp_buf, bnx2i_process_text_resp()
1564 bnx2i_conn->gen_pdu.resp_buf); bnx2i_process_text_resp()
H A Dbnx2i.h182 * @resp_buf: buffer to stage login response payload
201 char *resp_buf; member in struct:generic_pdu_resc
/linux-4.1.27/drivers/scsi/be2iscsi/
H A Dbe_mgmt.c841 * @resp_buf: Buffer to copy the MBX cmd response
846 struct be_dma_mem *nonemb_cmd, void *resp_buf, mgmt_exec_nonemb_cmd()
877 if (resp_buf) mgmt_exec_nonemb_cmd()
878 memcpy(resp_buf, nonemb_cmd->va, resp_buf_len); mgmt_exec_nonemb_cmd()
845 mgmt_exec_nonemb_cmd(struct beiscsi_hba *phba, struct be_dma_mem *nonemb_cmd, void *resp_buf, int resp_buf_len) mgmt_exec_nonemb_cmd() argument
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dusb.c919 u8 resp_val, u8 *resp_buf, u32 *resp_len) ath6kl_usb_ctrl_msg_exchange()
930 if (resp_buf == NULL) { ath6kl_usb_ctrl_msg_exchange()
937 resp_buf, *resp_len); ath6kl_usb_ctrl_msg_exchange()
917 ath6kl_usb_ctrl_msg_exchange(struct ath6kl_usb *ar_usb, u8 req_val, u8 *req_buf, u32 req_len, u8 resp_val, u8 *resp_buf, u32 *resp_len) ath6kl_usb_ctrl_msg_exchange() argument
/linux-4.1.27/drivers/scsi/isci/
H A Drequest.c980 void *resp_buf; sci_io_request_copy_response() local
987 resp_buf = &isci_tmf->resp.resp_iu; sci_io_request_copy_response()
993 memcpy(resp_buf, ssp_response->resp_data, len); sci_io_request_copy_response()
/linux-4.1.27/drivers/scsi/lpfc/
H A Dlpfc_sli.c3795 uint32_t __iomem *resp_buf; lpfc_reset_barrier() local
3812 resp_buf = phba->MBslimaddr; lpfc_reset_barrier()
3833 writel(BARRIER_TEST_PATTERN, (resp_buf + 1)); lpfc_reset_barrier()
3838 if (lpfc_readl((resp_buf + 1), &resp_data)) lpfc_reset_barrier()
3846 if (lpfc_readl((resp_buf + 1), &resp_data)) lpfc_reset_barrier()
3859 if (lpfc_readl(resp_buf, &resp_data)) lpfc_reset_barrier()

Completed in 2290 milliseconds