Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/fjes/
H A 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 …]
H A 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 …]
H A Dfjes_hw.h279 union fjes_device_command_req *req_buf; member
/openbmc/linux/drivers/nvdimm/
H A 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()
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-security/trusted-services/corstone1000/
H A D0012-Fix-GetNextVariableName-NameSize-input.patch311 - const struct rpc_buffer *req_buf = &req->request;
313 - if (req_buf->data_length >= SMM_VARIABLE_COMMUNICATE_GET_NEXT_VARIABLE_NAME_NAME_OFFSET) {
315 - (const SMM_VARIABLE_COMMUNICATE_GET_NEXT_VARIABLE_NAME *)req_buf->data;
318 - req_buf->data_length -
335 struct rpc_buffer *req_buf = &req->request;
338 - memmove(resp_buf->data, req_buf->data, param_len);
339 + memcpy(resp_buf->data, req_buf->data, param_len);
357 + struct rpc_buffer *req_buf = &req->request;
360 - struct rpc_buffer *req_buf = &req->request;
361 + memcpy(resp_buf->data, req_buf->data, req_buf->data_length);
[all …]
H A D0002-Fix-in-AEAD-for-psa-arch-test-254.patch61 rpc_status = serializer->deserialize_aead_update_req(req_buf, &op_handle,
89 rpc_status_t (*deserialize_aead_update_req)(const struct rpc_buffer *req_buf,
101 static rpc_status_t deserialize_aead_update_req(const struct rpc_buffer *req_buf,
107 @@ -208,6 +209,7 @@ static rpc_status_t deserialize_aead_update_req(const struct rpc_buffer *req_buf
108 memcpy(&recv_msg, req_buf->data, expected_fixed_len);
114 (uint8_t*)req_buf->data + expected_fixed_len,
H A D0004-smm_gateway-GetNextVariableName-Fix.patch27 struct rpc_buffer *req_buf = &req->request;
32 memmove(resp_buf->data, req_buf->data, param_len);
H A D0014-Provide-crypto-api-to-create-uefi-priv-var-fingerpri.patch94 + uint8_t *req_buf;
96 + call_handle = rpc_caller_session_begin(context->session, &req_buf, req_len, 0);
104 + tlv_iterator_begin(&req_iter, req_buf, req_len);
389 + struct rpc_buffer *req_buf = &req->request;
400 + req_buf, NULL, &signature_cert_len);
408 + req_buf, signature_cert, &signature_cert_len);
508 …pc_status_t (*deserialize_get_uefi_priv_auth_var_fingerprint_req)(const struct rpc_buffer *req_buf,
534 …c rpc_status_t deserialize_get_uefi_priv_auth_var_fingerprint_req(const struct rpc_buffer *req_buf,
540 + if (req_buf->data_length) {
546 + tlv_const_iterator_begin(&req_iter, (uint8_t *)req_buf->data, req_buf->data_length);
/openbmc/linux/drivers/mailbox/
H A 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()
/openbmc/u-boot/drivers/tee/optee/
H A Drpmb.c154 void *req_buf; in optee_suppl_cmd_rpmb() local
167 req_buf = (u8 *)req_shm->addr + arg->params[0].u.rmem.offs; in optee_suppl_cmd_rpmb()
174 arg->ret = rpmb_process_request(dev_get_priv(dev), req_buf, req_size, in optee_suppl_cmd_rpmb()
/openbmc/linux/drivers/scsi/qedi/
H A 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 …]
H A Dqedi_iscsi.h134 char *req_buf; member
/openbmc/linux/drivers/block/
H A 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()
/openbmc/linux/drivers/scsi/bnx2i/
H A 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 …]
H A Dbnx2i.h196 char *req_buf; member
/openbmc/linux/drivers/target/iscsi/
H A 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()
H A 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()
/openbmc/linux/drivers/scsi/bnx2fc/
H A 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()
/openbmc/linux/drivers/net/wireless/purelifi/plfxlc/
H A Dusb.h132 u8 req_buf[64]; /* plfxlc_usb_iowrite16v needs 62 bytes */ member
/openbmc/linux/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_usb.h214 u8 req_buf[64]; /* zd_usb_iowrite16v needs 62 bytes */ member
H A 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()
/openbmc/linux/drivers/virt/coco/sev-guest/
H A 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()
/openbmc/linux/drivers/scsi/qedf/
H A 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()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A 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()
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A 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()

12