Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dvirtio-iommu-test.c76 ro_addr = guest_alloc(alloc, ro_size); in send_attach_detach()
77 wr_addr = guest_alloc(alloc, wr_size); in send_attach_detach()
121 ro_addr = guest_alloc(alloc, ro_size); in send_map()
122 wr_addr = guest_alloc(alloc, wr_size); in send_map()
161 ro_addr = guest_alloc(alloc, ro_size); in send_unmap()
162 wr_addr = guest_alloc(alloc, wr_size); in send_unmap()
H A Dtulip-test.c60 context_pa = guest_alloc(alloc, sizeof(context)); in tulip_large_tx()
61 guest_pa = guest_alloc(alloc, 4096); in tulip_large_tx()
H A Dvirtio-net-test.c52 req_addr = guest_alloc(alloc, 64); in rx_test()
79 req_addr = guest_alloc(alloc, 64); in tx_test()
120 req_addr = guest_alloc(alloc, 64); in rx_stop_cont_test()
302 req_addr = guest_alloc(t_alloc, alloc_size); in large_tx()
H A De1000e-test.c52 uint64_t data = guest_alloc(alloc, sizeof(buffer)); in e1000e_send_verify()
109 uint64_t data = guest_alloc(alloc, sizeof(buffer)); in e1000e_receive_verify()
H A Digb-test.c56 uint64_t data = guest_alloc(alloc, sizeof(buffer)); in igb_send_verify()
112 uint64_t data = guest_alloc(alloc, sizeof(buffer)); in igb_receive_verify()
H A Dmegasas-test.c69 context_pa = guest_alloc(alloc, sizeof(context)); in megasas_pd_get_info_fuzz()
H A Dufs-test.c327 guest_alloc(alloc, nutrs * UTP_COMMAND_DESCRIPTOR_SIZE); in ufs_init()
329 guest_alloc(alloc, MAX_PRD_ENTRY_COUNT * PRD_ENTRY_DATA_SIZE); in ufs_init()
330 ufs->utrlba = guest_alloc(alloc, nutrs * sizeof(UtpTransferReqDesc)); in ufs_init()
331 ufs->utmrlba = guest_alloc(alloc, nutmrs * sizeof(UtpTaskReqDesc)); in ufs_init()
H A Dide-test.c250 guest_prdt = guest_alloc(&guest_malloc, len); in send_dma_request()
340 guest_buf = guest_alloc(&guest_malloc, len); in test_bmdma_simple_rw()
414 guest_buf = guest_alloc(&guest_malloc, len); in test_bmdma_trim()
704 guest_buf = guest_alloc(&guest_malloc, len); in make_dirty()
1063 guest_buf = guest_alloc(&guest_malloc, len); in test_cdrom_dma()
H A Dvirtio-scsi-test.c54 addr = guest_alloc(alloc, alloc_size); in qvirtio_scsi_alloc()
H A Dvirtio-blk-test.c102 addr = guest_alloc(alloc, sizeof(*req) + data_size); in virtio_blk_request()
H A Dvhost-user-blk-test.c86 addr = guest_alloc(alloc, sizeof(*req) + data_size); in virtio_blk_request()
H A Dahci-test.c1039 ptr = guest_alloc(&ahci->parent->alloc, bufsize); in test_dma_fragmented()
/openbmc/qemu/tests/qtest/libqos/
H A Drtas.c38 target_args = guest_alloc(alloc, nargs * sizeof(uint32_t)); in qrtas_call()
39 target_ret = guest_alloc(alloc, nret * sizeof(uint32_t)); in qrtas_call()
H A Digb.c157 d->e1000e.tx_ring = guest_alloc(alloc, E1000E_RING_LEN); in igb_pci_create()
161 d->e1000e.rx_ring = guest_alloc(alloc, E1000E_RING_LEN); in igb_pci_create()
H A Dlibqos-malloc.h39 uint64_t guest_alloc(QGuestAllocator *allocator, size_t size);
H A Dlibqos.h37 return guest_alloc(&q->alloc, bytes); in qmalloc()
H A De1000e.c192 d->e1000e.tx_ring = guest_alloc(alloc, E1000E_RING_LEN); in e1000e_pci_create()
196 d->e1000e.rx_ring = guest_alloc(alloc, E1000E_RING_LEN); in e1000e_pci_create()
H A Dvirtio-pci.c235 addr = guest_alloc(alloc, qvring_size(vqpci->vq.size, in qvirtio_pci_virtqueue_setup_common()
327 vqpci->msix_addr = guest_alloc(alloc, 4); in qvirtqueue_pci_msix_setup()
359 d->config_msix_addr = guest_alloc(alloc, 4); in qvirtio_pci_set_msix_configuration_vector()
H A Dlibqos-malloc.c253 uint64_t guest_alloc(QGuestAllocator *allocator, size_t size) in guest_alloc() function
H A Dvirtio-mmio.c182 addr = guest_alloc(alloc, qvring_size(vq->size, dev->page_size)); in qvirtio_mmio_virtqueue_setup()
H A Dvirtio.c281 indirect->desc = guest_alloc(alloc, sizeof(struct vring_desc) * elem); in qvring_indirect_desc_setup()
H A Dvirtio-9p-client.c208 req->t_msg = guest_alloc(alloc, req->t_size); in v9fs_req_init()
218 req->r_msg = guest_alloc(alloc, P9_MAX_SIZE); in v9fs_req_send()
/openbmc/qemu/tests/qtest/fuzz/
H A Dvirtio_net_fuzz.c67 uint64_t req_addr = guest_alloc(t_alloc, vqa.length); in virtio_net_fuzz_multi()
H A Dvirtio_scsi_fuzz.c109 uint64_t req_addr = guest_alloc(t_alloc, vqa.length); in virtio_scsi_fuzz()
H A Dvirtio_blk_fuzz.c105 uint64_t req_addr = guest_alloc(t_alloc, vqa.length); in virtio_blk_fuzz()