Home
last modified time | relevance | path

Searched refs:resp_buf (Results 1 – 32 of 32) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c124 int size, int resp_size, void *resp_buf, in virtio_gpu_get_vbuf() argument
144 vbuf->resp_buf = (void *)vbuf->buf + size; in virtio_gpu_get_vbuf()
146 vbuf->resp_buf = resp_buf; in virtio_gpu_get_vbuf()
147 BUG_ON(!vbuf->resp_buf); in virtio_gpu_get_vbuf()
189 void *resp_buf) in virtio_gpu_alloc_cmd_resp() argument
194 resp_size, resp_buf, cb); in virtio_gpu_alloc_cmd_resp()
207 kfree(vbuf->resp_buf); in free_vbuf()
248 resp = (struct virtio_gpu_ctrl_hdr *)entry->resp_buf; in virtio_gpu_dequeue_ctrl_func()
318 sg_init_one(&vresp, vbuf->resp_buf, vbuf->resp_size); in virtio_gpu_queue_ctrl_buffer_locked()
564 (struct virtio_gpu_resp_display_info *)vbuf->resp_buf; in virtio_gpu_cmd_get_display_info_cb()
[all …]
Dvirtgpu_drv.h98 char *resp_buf; member
/linux-4.4.14/fs/cifs/
Dtransport.c93 cifs_buf_release(midEntry->resp_buf); in DeleteMidQEntry()
95 cifs_small_buf_release(midEntry->resp_buf); in DeleteMidQEntry()
666 unsigned int len = get_rfc1002_length(mid->resp_buf) + 4; in cifs_check_receive()
668 dump_smb(mid->resp_buf, min_t(u32, 92, len)); in cifs_check_receive()
677 iov.iov_base = mid->resp_buf; in cifs_check_receive()
688 return map_smb_to_linux_error(mid->resp_buf, log_error); in cifs_check_receive()
809 if (!midQ->resp_buf || midQ->mid_state != MID_RESPONSE_RECEIVED) { in SendReceive2()
815 buf = (char *)midQ->resp_buf; in SendReceive2()
830 midQ->resp_buf = NULL; in SendReceive2()
931 if (!midQ->resp_buf || !out_buf || in SendReceive()
[all …]
Dsmb2transport.c550 unsigned int len = get_rfc1002_length(mid->resp_buf); in smb2_check_receive()
555 iov.iov_base = (char *)mid->resp_buf; in smb2_check_receive()
556 iov.iov_len = get_rfc1002_length(mid->resp_buf) + 4; in smb2_check_receive()
558 dump_smb(mid->resp_buf, min_t(u32, 80, len)); in smb2_check_receive()
569 return map_smb2_to_linux_error(mid->resp_buf, log_error); in smb2_check_receive()
Dcifs_debug.c93 mid_entry->resp_buf, in cifs_dump_mids()
99 if (mid_entry->resp_buf) { in cifs_dump_mids()
100 cifs_dump_detail(mid_entry->resp_buf); in cifs_dump_mids()
102 mid_entry->resp_buf, 62); in cifs_dump_mids()
Dsmb1ops.c395 if (mid->resp_buf) { in cifs_check_trans2()
397 malformed = coalesce_t2(buf, mid->resp_buf); in cifs_check_trans2()
410 mid->resp_buf = buf; in cifs_check_trans2()
Dcifsglob.h1284 void *resp_buf; /* pointer to received SMB header */ member
Dsmb2pdu.c1800 struct smb2_echo_rsp *smb2 = (struct smb2_echo_rsp *)mid->resp_buf; in smb2_echo_callback()
2124 struct smb2_write_rsp *rsp = (struct smb2_write_rsp *)mid->resp_buf; in smb2_writev_callback()
Dsmb2ops.c117 return le16_to_cpu(((struct smb2_hdr *)mid->resp_buf)->CreditRequest); in smb2_get_credits()
Dconnect.c691 mid->resp_buf = buf; in handle_mid()
Dcifssmb.c2056 WRITE_RSP *smb = (WRITE_RSP *)mid->resp_buf; in cifs_writev_callback()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_els.c121 void *resp_buf; in bnx2fc_l2_els_compl() local
149 resp_buf = mp_req->resp_buf; in bnx2fc_l2_els_compl()
163 memcpy(buf + hdr_len, resp_buf, resp_len); in bnx2fc_l2_els_compl()
265 void *resp_buf; in bnx2fc_srr_compl() local
319 resp_buf = mp_req->resp_buf; in bnx2fc_srr_compl()
328 memcpy(buf + hdr_len, resp_buf, resp_len); in bnx2fc_srr_compl()
380 void *resp_buf; in bnx2fc_rec_compl() local
443 acc = resp_buf = mp_req->resp_buf; in bnx2fc_rec_compl()
453 memcpy(buf + hdr_len, resp_buf, resp_len); in bnx2fc_rec_compl()
Dbnx2fc_io.c560 if (mp_req->resp_buf) { in bnx2fc_free_mp_resc()
562 mp_req->resp_buf, in bnx2fc_free_mp_resc()
564 mp_req->resp_buf = NULL; in bnx2fc_free_mp_resc()
596 mp_req->resp_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
599 if (!mp_req->resp_buf) { in bnx2fc_init_mp_req()
605 memset(mp_req->resp_buf, 0, CNIC_PAGE_SIZE); in bnx2fc_init_mp_req()
1492 rsp_buf = tm_req->resp_buf; in bnx2fc_process_tm_compl()
Dbnx2fc.h396 void *resp_buf; member
/linux-4.4.14/sound/firewire/fireworks/
Dfireworks.c191 kfree(efw->resp_buf); in efw_card_free()
240 efw->resp_buf = kzalloc(snd_efw_resp_buf_size, GFP_KERNEL); in efw_probe()
241 if (efw->resp_buf == NULL) { in efw_probe()
245 efw->pull_ptr = efw->push_ptr = efw->resp_buf; in efw_probe()
Dfireworks_hwdep.c52 (unsigned int)(efw->pull_ptr - efw->resp_buf); in hwdep_read_resp_buf()
59 if (efw->pull_ptr >= efw->resp_buf + in hwdep_read_resp_buf()
Dfireworks_transaction.c144 (unsigned int)(efw->push_ptr - efw->resp_buf); in copy_resp_to_buf()
150 if (efw->push_ptr >= efw->resp_buf + snd_efw_resp_buf_size) in copy_resp_to_buf()
Dfireworks.h106 u8 *resp_buf; member
/linux-4.4.14/drivers/firmware/
Dqcom_scm-32.c268 size_t cmd_len, void *resp_buf, size_t resp_len) in qcom_scm_call() argument
299 if (resp_buf) in qcom_scm_call()
300 memcpy(resp_buf, qcom_scm_get_response_buffer(rsp), resp_len); in qcom_scm_call()
/linux-4.4.14/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c953 if (bnx2i_conn->gen_pdu.resp_buf) { in bnx2i_conn_free_login_resources()
956 bnx2i_conn->gen_pdu.resp_buf, in bnx2i_conn_free_login_resources()
958 bnx2i_conn->gen_pdu.resp_buf = NULL; in bnx2i_conn_free_login_resources()
992 bnx2i_conn->gen_pdu.resp_buf = in bnx2i_conn_alloc_login_resources()
997 if (bnx2i_conn->gen_pdu.resp_buf == NULL) in bnx2i_conn_alloc_login_resources()
1001 bnx2i_conn->gen_pdu.resp_wr_ptr = bnx2i_conn->gen_pdu.resp_buf; in bnx2i_conn_alloc_login_resources()
1026 bnx2i_conn->gen_pdu.resp_buf, in bnx2i_conn_alloc_login_resources()
1028 bnx2i_conn->gen_pdu.resp_buf = NULL; in bnx2i_conn_alloc_login_resources()
Dbnx2i_hwi.c1487 bnx2i_conn->gen_pdu.resp_buf + pld_len; in bnx2i_process_login_resp()
1502 bnx2i_conn->gen_pdu.resp_buf, in bnx2i_process_login_resp()
1503 bnx2i_conn->gen_pdu.resp_wr_ptr - bnx2i_conn->gen_pdu.resp_buf); in bnx2i_process_login_resp()
1548 bnx2i_conn->gen_pdu.resp_wr_ptr = bnx2i_conn->gen_pdu.resp_buf + in bnx2i_process_text_resp()
1562 bnx2i_conn->gen_pdu.resp_buf, in bnx2i_process_text_resp()
1564 bnx2i_conn->gen_pdu.resp_buf); in bnx2i_process_text_resp()
Dbnx2i.h201 char *resp_buf; member
/linux-4.4.14/drivers/net/wireless/libertas/
Ddev.h135 u8 resp_buf[2][LBS_UPLD_SIZE]; member
Dif_cs.c554 if_cs_receive_cmdres(priv, priv->resp_buf[i], in if_cs_interrupt()
Dif_usb.c644 memcpy(priv->resp_buf[i], recvbuff + MESSAGE_HEADER_LEN, in process_cmdrequest()
Dmain.c537 priv->resp_buf[resp_idx], in lbs_thread()
Dif_sdio.c228 memcpy(priv->resp_buf[i], buffer, size); in if_sdio_handle_cmd()
Dif_spi.c731 memcpy(priv->resp_buf[i], card->cmd_buffer, len); in if_spi_c2h_cmd()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dusb.c919 u8 resp_val, u8 *resp_buf, u32 *resp_len) in ath6kl_usb_ctrl_msg_exchange() argument
930 if (resp_buf == NULL) { in ath6kl_usb_ctrl_msg_exchange()
937 resp_buf, *resp_len); in ath6kl_usb_ctrl_msg_exchange()
/linux-4.4.14/drivers/scsi/be2iscsi/
Dbe_mgmt.c846 struct be_dma_mem *nonemb_cmd, void *resp_buf, in mgmt_exec_nonemb_cmd() argument
877 if (resp_buf) in mgmt_exec_nonemb_cmd()
878 memcpy(resp_buf, nonemb_cmd->va, resp_buf_len); in mgmt_exec_nonemb_cmd()
/linux-4.4.14/drivers/scsi/isci/
Drequest.c980 void *resp_buf; in sci_io_request_copy_response() local
987 resp_buf = &isci_tmf->resp.resp_iu; in sci_io_request_copy_response()
993 memcpy(resp_buf, ssp_response->resp_data, len); in sci_io_request_copy_response()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_sli.c3795 uint32_t __iomem *resp_buf; in lpfc_reset_barrier() local
3812 resp_buf = phba->MBslimaddr; in lpfc_reset_barrier()
3833 writel(BARRIER_TEST_PATTERN, (resp_buf + 1)); in lpfc_reset_barrier()
3838 if (lpfc_readl((resp_buf + 1), &resp_data)) in lpfc_reset_barrier()
3846 if (lpfc_readl((resp_buf + 1), &resp_data)) in lpfc_reset_barrier()
3859 if (lpfc_readl(resp_buf, &resp_data)) in lpfc_reset_barrier()