Home
last modified time | relevance | path

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

12

/drivers/net/fjes/
Dfjes_hw.c223 hw->hw_info.req_buf = kzalloc(mem_size, GFP_KERNEL); in fjes_hw_setup()
224 if (!(hw->hw_info.req_buf)) { in fjes_hw_setup()
271 param.req_start = __pa(hw->hw_info.req_buf); in fjes_hw_setup()
293 kfree(hw->hw_info.req_buf); in fjes_hw_setup()
294 hw->hw_info.req_buf = NULL; in fjes_hw_setup()
310 kfree(hw->hw_info.req_buf); in fjes_hw_cleanup()
311 hw->hw_info.req_buf = NULL; in fjes_hw_cleanup()
443 union fjes_device_command_req *req_buf = hw->hw_info.req_buf; in fjes_hw_request_info() local
448 memset(req_buf, 0, hw->hw_info.req_buf_size); in fjes_hw_request_info()
451 req_buf->info.length = FJES_DEV_COMMAND_INFO_REQ_LEN; in fjes_hw_request_info()
[all …]
Dfjes_trace.h94 TP_PROTO(union fjes_device_command_req *req_buf,
96 TP_ARGS(req_buf, buf_pair),
110 __entry->length = req_buf->share_buffer.length;
111 __entry->epid = req_buf->share_buffer.epid;
154 TP_PROTO(union fjes_device_command_req *req_buf),
155 TP_ARGS(req_buf),
161 __entry->length = req_buf->unshare_buffer.length;
162 __entry->epid = req_buf->unshare_buffer.epid;
198 TP_PROTO(union fjes_device_command_req *req_buf),
199 TP_ARGS(req_buf),
[all …]
Dfjes_hw.h279 union fjes_device_command_req *req_buf; member
/drivers/nvdimm/
Dnd_virtio.c16 struct virtio_pmem_request *req_data, *req_buf; in virtio_pmem_host_ack() local
26 req_buf = list_first_entry(&vpmem->req_list, in virtio_pmem_host_ack()
28 req_buf->wq_buf_avail = true; in virtio_pmem_host_ack()
29 wake_up(&req_buf->wq_buf); in virtio_pmem_host_ack()
30 list_del(&req_buf->list); in virtio_pmem_host_ack()
/drivers/mailbox/
Dzynqmp-ipi-mailbox.c67 void __iomem *req_buf; member
168 memcpy_fromio(msg->data, mchan->req_buf, in zynqmp_ipi_interrupt()
286 memcpy_toio(mchan->req_buf, msg->data, msg->len); in zynqmp_ipi_send_data()
504 mchan->req_buf = devm_ioremap(mdev, res.start, in zynqmp_ipi_mbox_probe()
506 if (!mchan->req_buf) { in zynqmp_ipi_mbox_probe()
541 mchan->req_buf = devm_ioremap(mdev, res.start, in zynqmp_ipi_mbox_probe()
543 if (!mchan->req_buf) { in zynqmp_ipi_mbox_probe()
/drivers/scsi/qedi/
Dqedi_iscsi.c90 if (qedi_conn->gen_pdu.req_buf) { in qedi_conn_free_login_resources()
93 qedi_conn->gen_pdu.req_buf, in qedi_conn_free_login_resources()
95 qedi_conn->gen_pdu.req_buf = NULL; in qedi_conn_free_login_resources()
102 qedi_conn->gen_pdu.req_buf = in qedi_conn_alloc_login_resources()
107 if (!qedi_conn->gen_pdu.req_buf) in qedi_conn_alloc_login_resources()
111 qedi_conn->gen_pdu.req_wr_ptr = qedi_conn->gen_pdu.req_buf; in qedi_conn_alloc_login_resources()
155 qedi_conn->gen_pdu.req_buf, in qedi_conn_alloc_login_resources()
157 qedi_conn->gen_pdu.req_buf = NULL; in qedi_conn_alloc_login_resources()
763 qedi_conn->gen_pdu.req_buf; in qedi_iscsi_prep_generic_pdu_bd()
786 buf = qedi_conn->gen_pdu.req_buf; in qedi_iscsi_send_generic_request()
[all …]
Dqedi_iscsi.h134 char *req_buf; member
/drivers/block/
Dsunvdc.c581 void *req_buf; in generic_request() local
645 req_buf = kzalloc(op_len, GFP_KERNEL); in generic_request()
646 if (!req_buf) in generic_request()
653 memcpy(req_buf, buf, len); in generic_request()
664 err = ldc_map_single(port->vio.lp, req_buf, op_len, in generic_request()
669 kfree(req_buf); in generic_request()
706 memcpy(buf, req_buf, len); in generic_request()
708 kfree(req_buf); in generic_request()
/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c959 if (bnx2i_conn->gen_pdu.req_buf) { in bnx2i_conn_free_login_resources()
962 bnx2i_conn->gen_pdu.req_buf, in bnx2i_conn_free_login_resources()
964 bnx2i_conn->gen_pdu.req_buf = NULL; in bnx2i_conn_free_login_resources()
979 bnx2i_conn->gen_pdu.req_buf = in bnx2i_conn_alloc_login_resources()
984 if (bnx2i_conn->gen_pdu.req_buf == NULL) in bnx2i_conn_alloc_login_resources()
988 bnx2i_conn->gen_pdu.req_wr_ptr = bnx2i_conn->gen_pdu.req_buf; in bnx2i_conn_alloc_login_resources()
1029 bnx2i_conn->gen_pdu.req_buf, in bnx2i_conn_alloc_login_resources()
1031 bnx2i_conn->gen_pdu.req_buf = NULL; in bnx2i_conn_alloc_login_resources()
1057 bnx2i_conn->gen_pdu.req_buf; in bnx2i_iscsi_prep_generic_pdu_bd()
1094 buf = bnx2i_conn->gen_pdu.req_buf; in bnx2i_iscsi_send_generic_request()
[all …]
Dbnx2i.h196 char *req_buf; member
/drivers/virt/gunyah/
Drsc_mgr.c508 const void *req_buf, size_t req_buf_size, in gunyah_rm_send_request() argument
512 const void *req_buf_curr = req_buf; in gunyah_rm_send_request()
586 int gunyah_rm_call(struct gunyah_rm *rm, u32 message_id, const void *req_buf, in gunyah_rm_call() argument
594 if (!rm || !message_id || (!req_buf && req_buf_size)) in gunyah_rm_call()
612 ret = gunyah_rm_send_request(rm, message_id, req_buf, req_buf_size, in gunyah_rm_call()
Drsc_mgr.h134 const void *req_buf, size_t req_buf_size, void **resp_buf,
/drivers/target/iscsi/
Discsi_target_nego.c772 login->req_buf, in iscsi_target_do_authentication()
868 login->req_buf, in iscsi_target_handle_csg_zero()
968 login->req_buf, in iscsi_target_handle_csg_one()
1130 tmpbuf = kmemdup_nul(login->req_buf, payload_length, GFP_KERNEL); in iscsi_target_locate_portal()
1403 kfree(login->req_buf); in iscsi_target_nego_release()
Discsi_target_login.c51 login->req_buf = kzalloc(MAX_KEY_VALUE_PAIRS, GFP_KERNEL); in iscsi_login_init_conn()
52 if (!login->req_buf) { in iscsi_login_init_conn()
68 kfree(login->req_buf); in iscsi_login_init_conn()
1005 memset(login->req_buf, 0, MAX_KEY_VALUE_PAIRS); in iscsit_get_login_rx()
1006 if (iscsi_login_rx_data(conn, login->req_buf, in iscsit_get_login_rx()
/drivers/scsi/bnx2fc/
Dbnx2fc_io.c565 if (mp_req->req_buf) { in bnx2fc_free_mp_resc()
567 mp_req->req_buf, in bnx2fc_free_mp_resc()
569 mp_req->req_buf = NULL; in bnx2fc_free_mp_resc()
598 mp_req->req_buf = dma_alloc_coherent(&hba->pcidev->dev, CNIC_PAGE_SIZE, in bnx2fc_init_mp_req()
601 if (!mp_req->req_buf) { in bnx2fc_init_mp_req()
615 memset(mp_req->req_buf, 0, CNIC_PAGE_SIZE); in bnx2fc_init_mp_req()
741 bnx2fc_build_fcp_cmnd(io_req, (struct fcp_cmnd *)tm_req->req_buf); in bnx2fc_initiate_tmf()
742 fcp_cmnd = (struct fcp_cmnd *)tm_req->req_buf; in bnx2fc_initiate_tmf()
Dbnx2fc.h390 void *req_buf; member
/drivers/net/wireless/purelifi/plfxlc/
Dusb.h132 u8 req_buf[64]; /* plfxlc_usb_iowrite16v needs 62 bytes */ member
/drivers/net/wireless/zydas/zd1211rw/
Dzd_usb.c1721 sizeof(__le16) > sizeof(usb->req_buf)); in zd_usb_ioread16v()
1723 sizeof(usb->req_buf)); in zd_usb_ioread16v()
1726 req = (void *)usb->req_buf; in zd_usb_ioread16v()
1993 sizeof(usb->req_buf)); in zd_usb_rfwrite()
1995 sizeof(usb->req_buf)); in zd_usb_rfwrite()
1998 req = (void *)usb->req_buf; in zd_usb_rfwrite()
Dzd_usb.h214 u8 req_buf[64]; /* zd_usb_iowrite16v needs 62 bytes */ member
/drivers/virt/coco/sev-guest/
Dsev-guest.c428 void *req_buf, size_t req_sz, void *resp_buf, in handle_guest_request() argument
443 rc = enc_payload(snp_dev, seqno, rio->msg_version, type, req_buf, req_sz); in handle_guest_request()
/drivers/scsi/qedf/
Dqedf_io.c420 if (mp_req->req_buf) { in qedf_free_mp_resc()
422 mp_req->req_buf, mp_req->req_buf_dma); in qedf_free_mp_resc()
423 mp_req->req_buf = NULL; in qedf_free_mp_resc()
2065 mp_req->req_buf = dma_alloc_coherent(&qedf->pdev->dev, QEDF_PAGE_SIZE, in qedf_init_mp_req()
2067 if (!mp_req->req_buf) { in qedf_init_mp_req()
Dqedf.h56 void *req_buf; member
/drivers/net/wireless/ath/ath10k/
Dusb.c553 u8 req_val, u8 *req_buf, u32 req_len, in ath10k_usb_ctrl_msg_exchange() argument
561 req_buf, req_len); in ath10k_usb_ctrl_msg_exchange()
/drivers/net/wireless/ath/ath6kl/
Dusb.c939 u8 req_val, u8 *req_buf, u32 req_len, in ath6kl_usb_ctrl_msg_exchange() argument
946 req_buf, req_len); in ath6kl_usb_ctrl_msg_exchange()
/drivers/usb/dwc2/
Dgadget.c1287 void *req_buf = hs_req->req.buf; in dwc2_hsotg_handle_unaligned_buf_start() local
1290 if (!using_dma(hsotg) || !((long)req_buf & 3)) in dwc2_hsotg_handle_unaligned_buf_start()
1296 hs_ep->ep.name, req_buf, hs_req->req.length); in dwc2_hsotg_handle_unaligned_buf_start()
1300 hs_req->req.buf = req_buf; in dwc2_hsotg_handle_unaligned_buf_start()
1308 hs_req->saved_req_buf = req_buf; in dwc2_hsotg_handle_unaligned_buf_start()
1311 memcpy(hs_req->req.buf, req_buf, hs_req->req.length); in dwc2_hsotg_handle_unaligned_buf_start()

12