Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/gpu/drm/virtio/
Dvirtgpu_vq.c96 int size, int resp_size, void *resp_buf, in virtio_gpu_get_vbuf() argument
113 vbuf->resp_buf = (void *)vbuf->buf + size; in virtio_gpu_get_vbuf()
115 vbuf->resp_buf = resp_buf; in virtio_gpu_get_vbuf()
116 BUG_ON(!vbuf->resp_buf); in virtio_gpu_get_vbuf()
158 void *resp_buf) in virtio_gpu_alloc_cmd_resp() argument
163 resp_size, resp_buf, cb); in virtio_gpu_alloc_cmd_resp()
176 kfree(vbuf->resp_buf); in free_vbuf()
215 resp = (struct virtio_gpu_ctrl_hdr *)entry->resp_buf; in virtio_gpu_dequeue_ctrl_func()
287 sg_init_one(&vresp, vbuf->resp_buf, vbuf->resp_size); in virtio_gpu_queue_ctrl_buffer_locked()
534 (struct virtio_gpu_resp_display_info *)vbuf->resp_buf; in virtio_gpu_cmd_get_display_info_cb()
[all …]
Dvirtgpu_drv.h100 char *resp_buf; member
/Linux-v4.19/fs/cifs/
Dtransport.c111 cifs_buf_release(midEntry->resp_buf); in DeleteMidQEntry()
113 cifs_small_buf_release(midEntry->resp_buf); in DeleteMidQEntry()
727 unsigned int len = get_rfc1002_length(mid->resp_buf) + 4; in cifs_check_receive()
729 dump_smb(mid->resp_buf, min_t(u32, 92, len)); in cifs_check_receive()
738 iov[0].iov_base = mid->resp_buf; in cifs_check_receive()
740 iov[1].iov_base = (char *)mid->resp_buf + 4; in cifs_check_receive()
751 return map_smb_to_linux_error(mid->resp_buf, log_error); in cifs_check_receive()
887 if (!midQ[i]->resp_buf || in compound_send_recv()
894 buf = (char *)midQ[i]->resp_buf; in compound_send_recv()
919 midQ[i]->resp_buf = NULL; in compound_send_recv()
[all …]
Dcifs_debug.c80 mid_entry->resp_buf, in cifs_dump_mids()
86 if (mid_entry->resp_buf) { in cifs_dump_mids()
87 cifs_dump_detail(mid_entry->resp_buf, server); in cifs_dump_mids()
89 mid_entry->resp_buf, 62); in cifs_dump_mids()
Dsmb2transport.c649 iov[0].iov_base = (char *)mid->resp_buf; in smb2_check_receive()
652 dump_smb(mid->resp_buf, min_t(u32, 80, len)); in smb2_check_receive()
663 return map_smb2_to_linux_error(mid->resp_buf, log_error); in smb2_check_receive()
Dsmb1ops.c398 if (mid->resp_buf) { in cifs_check_trans2()
400 malformed = coalesce_t2(buf, mid->resp_buf); in cifs_check_trans2()
413 mid->resp_buf = buf; in cifs_check_trans2()
/Linux-v4.19/sound/firewire/fireworks/
Dfireworks.c193 kfree(efw->resp_buf); in efw_free()
251 efw->resp_buf = kzalloc(snd_efw_resp_buf_size, GFP_KERNEL); in do_registration()
252 if (efw->resp_buf == NULL) { in do_registration()
256 efw->pull_ptr = efw->push_ptr = efw->resp_buf; in do_registration()
304 kfree(efw->resp_buf); in do_registration()
305 efw->resp_buf = NULL; in do_registration()
Dfireworks_hwdep.c62 (unsigned int)(pull_ptr - efw->resp_buf); in hwdep_read_resp_buf()
73 if (pull_ptr >= efw->resp_buf + snd_efw_resp_buf_size) 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.h109 u8 *resp_buf; member
/Linux-v4.19/drivers/scsi/qedf/
Dqedf_els.c375 void *resp_buf, *fc_payload; in qedf_l2_els_compl() local
398 resp_buf = mp_req->resp_buf; in qedf_l2_els_compl()
437 memcpy(fc_payload, resp_buf, resp_len); in qedf_l2_els_compl()
492 void *resp_buf, *fc_payload; in qedf_srr_compl() local
527 resp_buf = mp_req->resp_buf; in qedf_srr_compl()
542 memcpy(fc_payload, resp_buf, resp_len); in qedf_srr_compl()
780 void *resp_buf, *fc_payload; in qedf_rec_compl() local
819 acc = resp_buf = mp_req->resp_buf; in qedf_rec_compl()
834 memcpy(fc_payload, resp_buf, resp_len); in qedf_rec_compl()
Dqedf_io.c402 if (mp_req->resp_buf) { in qedf_free_mp_resc()
404 mp_req->resp_buf, mp_req->resp_buf_dma); in qedf_free_mp_resc()
405 mp_req->resp_buf = NULL; in qedf_free_mp_resc()
1724 mp_req->resp_buf = dma_alloc_coherent(&qedf->pdev->dev, in qedf_init_mp_req()
1726 if (!mp_req->resp_buf) { in qedf_init_mp_req()
/Linux-v4.19/drivers/scsi/bnx2fc/
Dbnx2fc_els.c129 void *resp_buf; in bnx2fc_l2_els_compl() local
157 resp_buf = mp_req->resp_buf; in bnx2fc_l2_els_compl()
171 memcpy(buf + hdr_len, resp_buf, resp_len); in bnx2fc_l2_els_compl()
273 void *resp_buf; in bnx2fc_srr_compl() local
327 resp_buf = mp_req->resp_buf; in bnx2fc_srr_compl()
336 memcpy(buf + hdr_len, resp_buf, resp_len); in bnx2fc_srr_compl()
388 void *resp_buf; in bnx2fc_rec_compl() local
451 acc = resp_buf = mp_req->resp_buf; in bnx2fc_rec_compl()
461 memcpy(buf + hdr_len, resp_buf, resp_len); in bnx2fc_rec_compl()
Dbnx2fc_io.c573 if (mp_req->resp_buf) { in bnx2fc_free_mp_resc()
575 mp_req->resp_buf, in bnx2fc_free_mp_resc()
577 mp_req->resp_buf = NULL; in bnx2fc_free_mp_resc()
609 mp_req->resp_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
612 if (!mp_req->resp_buf) { in bnx2fc_init_mp_req()
618 memset(mp_req->resp_buf, 0, CNIC_PAGE_SIZE); in bnx2fc_init_mp_req()
1523 rsp_buf = tm_req->resp_buf; in bnx2fc_process_tm_compl()
/Linux-v4.19/drivers/firmware/
Dqcom_scm-32.c176 const void *cmd_buf, size_t cmd_len, void *resp_buf, in qcom_scm_call() argument
218 if (resp_buf) { in qcom_scm_call()
222 memcpy(resp_buf, qcom_scm_get_response_buffer(rsp), in qcom_scm_call()
/Linux-v4.19/drivers/scsi/qedi/
Dqedi_iscsi.c85 if (qedi_conn->gen_pdu.resp_buf) { in qedi_conn_free_login_resources()
88 qedi_conn->gen_pdu.resp_buf, in qedi_conn_free_login_resources()
90 qedi_conn->gen_pdu.resp_buf = NULL; in qedi_conn_free_login_resources()
116 qedi_conn->gen_pdu.resp_buf = in qedi_conn_alloc_login_resources()
121 if (!qedi_conn->gen_pdu.resp_buf) in qedi_conn_alloc_login_resources()
125 qedi_conn->gen_pdu.resp_wr_ptr = qedi_conn->gen_pdu.resp_buf; in qedi_conn_alloc_login_resources()
153 qedi_conn->gen_pdu.resp_buf, in qedi_conn_alloc_login_resources()
155 qedi_conn->gen_pdu.resp_buf = NULL; in qedi_conn_alloc_login_resources()
Dqedi_iscsi.h140 char *resp_buf; member
Dqedi_fw.c120 qedi_conn->gen_pdu.resp_wr_ptr = qedi_conn->gen_pdu.resp_buf + pld_len; in qedi_process_text_resp()
143 qedi_conn->gen_pdu.resp_buf, in qedi_process_text_resp()
145 qedi_conn->gen_pdu.resp_buf)); in qedi_process_text_resp()
294 qedi_conn->gen_pdu.resp_wr_ptr = qedi_conn->gen_pdu.resp_buf + pld_len; in qedi_process_login_resp()
305 qedi_conn->gen_pdu.resp_buf, in qedi_process_login_resp()
307 qedi_conn->gen_pdu.resp_buf)); in qedi_process_login_resp()
/Linux-v4.19/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.c1472 bnx2i_conn->gen_pdu.resp_buf + pld_len; in bnx2i_process_login_resp()
1487 bnx2i_conn->gen_pdu.resp_buf, in bnx2i_process_login_resp()
1488 bnx2i_conn->gen_pdu.resp_wr_ptr - bnx2i_conn->gen_pdu.resp_buf); in bnx2i_process_login_resp()
1533 bnx2i_conn->gen_pdu.resp_wr_ptr = bnx2i_conn->gen_pdu.resp_buf + in bnx2i_process_text_resp()
1547 bnx2i_conn->gen_pdu.resp_buf, in bnx2i_process_text_resp()
1549 bnx2i_conn->gen_pdu.resp_buf); in bnx2i_process_text_resp()
Dbnx2i.h201 char *resp_buf; member
/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Ddev.h138 u8 resp_buf[2][LBS_UPLD_SIZE]; member
/Linux-v4.19/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-v4.19/drivers/net/wireless/ath/ath10k/
Dusb.c548 u8 resp_val, u8 *resp_buf, in ath10k_usb_ctrl_msg_exchange() argument
560 if (resp_buf) { in ath10k_usb_ctrl_msg_exchange()
562 resp_buf, *resp_len); in ath10k_usb_ctrl_msg_exchange()
/Linux-v4.19/drivers/scsi/be2iscsi/
Dbe_mgmt.c225 void *resp_buf, u32 resp_buf_len) in beiscsi_exec_nemb_cmd() argument
269 if (resp_buf) in beiscsi_exec_nemb_cmd()
270 memcpy(resp_buf, nonemb_cmd->va, resp_buf_len); in beiscsi_exec_nemb_cmd()

12