/qemu/hw/misc/ |
H A D | aspeed_hace.c | 207 hwaddr plen; in hash_prepare_direct_iov() local 210 plen = s->regs[R_HASH_SRC_LEN]; in hash_prepare_direct_iov() 213 haddr = address_space_map(&s->dram_as, src, &plen, false, in hash_prepare_direct_iov() 219 __func__, src, plen); in hash_prepare_direct_iov() 227 s->total_req_len += plen; in hash_prepare_direct_iov() 229 if (has_padding(s, &iov[0], plen, &total_msg_len, in hash_prepare_direct_iov() 235 iov[0].iov_len = plen; in hash_prepare_direct_iov() 238 iov[0].iov_len = plen; in hash_prepare_direct_iov() 253 hwaddr plen; in hash_prepare_sg_iov() local 278 plen = len & SG_LIST_LEN_MASK; in hash_prepare_sg_iov() [all …]
|
/qemu/tests/unit/ |
H A D | test-crypto-akcipher.c | 683 size_t plen; member 799 .plen = 128, 820 .plen = 64, 844 .plen = 256, 865 .plen = 128, 901 g_assert(qcrypto_akcipher_encrypt(pub_key, data->plaintext, data->plen, in test_akcipher() 913 data->plen, in test_akcipher() 914 &error_abort) == data->plen); in test_akcipher() 915 g_assert(!memcmp(plaintext, data->plaintext, data->plen)); in test_akcipher()
|
/qemu/include/accel/tcg/ |
H A D | iommu.h | 33 hwaddr *plen,
|
/qemu/system/ |
H A D | physmem.c | 368 hwaddr *plen, bool resolve_subpage) in address_space_translate_internal() argument 396 *plen = int128_get64(int128_min(diff, int128_make64(*plen))); in address_space_translate_internal() 506 hwaddr plen = (hwaddr)(-1); in flatview_do_translate() local 509 plen_out = &plen; in flatview_do_translate() 570 hwaddr *plen, bool is_write, in flatview_translate() argument 578 section = flatview_do_translate(fv, addr, xlat, plen, NULL, in flatview_translate() 584 *plen = MIN(page, *plen); in flatview_translate() 686 hwaddr *xlat, hwaddr *plen, in address_space_translate_for_iotlb() argument 698 section = address_space_translate_internal(d, addr, &addr, plen, false); in address_space_translate_for_iotlb() 3400 hwaddr *plen, in address_space_map() argument [all …]
|
/qemu/include/hw/pci/ |
H A D | pci_device.h | 336 dma_addr_t *plen, DMADirection dir) in pci_dma_map() argument 338 return dma_memory_map(pci_get_address_space(dev), addr, plen, dir, in pci_dma_map()
|
/qemu/hw/dma/ |
H A D | xlnx_csu_dma.c | 299 uint32_t plen = MIN(s->regs[R_SIZE], sizeof buf); in xlnx_csu_dma_src_notify() local 303 if (s->regs[R_SIZE] == plen && xlnx_csu_dma_get_eop(s)) { in xlnx_csu_dma_src_notify() 308 xlnx_csu_dma_read(s, buf, plen); in xlnx_csu_dma_src_notify() 309 rlen = stream_push(s->tx_dev, buf, plen, eop); in xlnx_csu_dma_src_notify()
|
/qemu/ui/ |
H A D | spice-core.c | 386 socklen_t plen; in qmp_query_spice_channels() local 393 plen = item->info->plen_ext; in qmp_query_spice_channels() 394 getnameinfo(paddr, plen, in qmp_query_spice_channels()
|
/qemu/hw/intc/ |
H A D | spapr_xive.c | 1394 hwaddr plen = 1 << qsize; in h_int_set_queue_config() local 1401 eq = address_space_map(CPU(cpu)->as, qpage, &plen, true, in h_int_set_queue_config() 1403 if (plen != 1 << qsize) { in h_int_set_queue_config() 1408 address_space_unmap(CPU(cpu)->as, eq, plen, true, plen); in h_int_set_queue_config()
|
/qemu/include/exec/ |
H A D | cpu-common.h | 146 hwaddr *plen,
|
/qemu/subprojects/libvduse/ |
H A D | libvduse.c | 388 static inline void *iova_to_va(VduseDev *dev, uint64_t *plen, uint64_t iova) in iova_to_va() argument 401 if ((iova + *plen) > (r->iova + r->size)) { in iova_to_va() 402 *plen = r->iova + r->size - iova; in iova_to_va() 418 return iova_to_va(dev, plen, iova); in iova_to_va()
|
/qemu/target/ppc/ |
H A D | mmu-hash64.c | 557 hwaddr plen = n * HASH_PTE_SIZE_64; in ppc_hash64_map_hptes() local 569 hptes = address_space_map(CPU(cpu)->as, base + pte_offset, &plen, false, in ppc_hash64_map_hptes() 571 if (plen < (n * HASH_PTE_SIZE_64)) { in ppc_hash64_map_hptes()
|
/qemu/hw/usb/ |
H A D | hcd-ehci.c | 1188 uint32_t cpage, offset, bytes, plen; in ehci_init_transfer() local 1205 plen = bytes; in ehci_init_transfer() 1206 if (plen > 4096 - offset) { in ehci_init_transfer() 1207 plen = 4096 - offset; in ehci_init_transfer() 1212 qemu_sglist_add(&p->sgl, page, plen); in ehci_init_transfer() 1213 bytes -= plen; in ehci_init_transfer()
|
H A D | trace-events | 294 usb_mtp_xfer(int dev, uint32_t ep, uint32_t dlen, uint32_t plen) "dev %d, ep %d, %d/%d"
|
/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.h | 519 void *vu_gpa_to_va(VuDev *dev, uint64_t *plen, uint64_t guest_addr);
|
H A D | libvhost-user.c | 234 vu_gpa_to_va(VuDev *dev, uint64_t *plen, uint64_t guest_addr) in vu_gpa_to_va() argument 238 if (*plen == 0) { in vu_gpa_to_va() 247 if ((guest_addr + *plen) > (r->gpa + r->size)) { in vu_gpa_to_va() 248 *plen = r->gpa + r->size - guest_addr; in vu_gpa_to_va()
|
/qemu/hw/hyperv/ |
H A D | vmbus.c | 1048 uint32_t plen = MIN(range.byte_count, in sgl_from_gpa_ranges() local 1061 range.byte_count -= plen; in sgl_from_gpa_ranges() 1065 curlen += plen; in sgl_from_gpa_ranges() 1072 curlen = plen; in sgl_from_gpa_ranges()
|
/qemu/qom/ |
H A D | object.c | 143 int plen; in type_name_is_valid() local 156 plen = strspn(name, "abcdefghijklmnopqrstuvwxyz" in type_name_is_valid() 160 return plen == slen; in type_name_is_valid()
|
/qemu/target/ppc/translate/ |
H A D | vmx-impl.c.inc | 1605 * plen = n << step, m = 0; 1606 * for(int i = 0; i < 64/plen; i++) { 1608 * m = ror64(m, plen); 1610 * p >>= plen * DIV_ROUND_UP(64, plen) - 64;
|
/qemu/hw/virtio/ |
H A D | vhost.c | 461 hwaddr *plen, bool is_write) in vhost_memory_map() argument 464 return cpu_physical_memory_map(addr, plen, is_write); in vhost_memory_map()
|
/qemu/include/system/ |
H A D | memory.h | 2933 * May map a subset of the requested range, given by and returned in @plen. 2934 * May return %NULL and set *@plen to zero(0), if resources needed to perform 2942 * @plen: pointer to length of buffer; updated on return 2947 hwaddr *plen, bool is_write, MemTxAttrs attrs);
|