Searched refs:alloc_hint (Results 1 – 6 of 6) sorted by relevance
/qemu/system/ |
H A D | dma-helpers.c | 29 void qemu_sglist_init(QEMUSGList *qsg, DeviceState *dev, int alloc_hint, in qemu_sglist_init() argument 32 qsg->sg = g_new(ScatterGatherEntry, alloc_hint); in qemu_sglist_init() 34 qsg->nalloc = alloc_hint; in qemu_sglist_init()
|
H A D | physmem.c | 186 static unsigned alloc_hint = 16; in phys_map_node_reserve() local 188 map->nodes_nb_alloc = MAX(alloc_hint, map->nodes_nb + nodes); in phys_map_node_reserve() 190 alloc_hint = map->nodes_nb_alloc; in phys_map_node_reserve()
|
/qemu/include/hw/pci/ |
H A D | pci_device.h | 349 int alloc_hint) in pci_dma_sglist_init() argument 351 qemu_sglist_init(qsg, DEVICE(dev), alloc_hint, pci_get_address_space(dev)); in pci_dma_sglist_init()
|
/qemu/util/ |
H A D | iov.c | 282 void qemu_iovec_init(QEMUIOVector *qiov, int alloc_hint) in qemu_iovec_init() argument 284 qiov->iov = g_new(struct iovec, alloc_hint); in qemu_iovec_init() 286 qiov->nalloc = alloc_hint; in qemu_iovec_init()
|
/qemu/include/qemu/ |
H A D | iov.h | 251 void qemu_iovec_init(QEMUIOVector *qiov, int alloc_hint);
|
/qemu/include/system/ |
H A D | dma.h | 284 void qemu_sglist_init(QEMUSGList *qsg, DeviceState *dev, int alloc_hint,
|