| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 271 | 61 expected_alloc="$alloc" # Space-separated list of allocated subcluster indexes 156 alloc="0"; zero="" 160 alloc="0 1"; zero="" 164 alloc="0 1 2"; zero="" 168 alloc="0 1 2 3"; zero="" 172 alloc="$(seq 0 6)"; zero="" 176 alloc="$(seq 0 9)"; zero="" 180 alloc="$(seq 0 9) 16"; zero="" 184 alloc="$(seq 0 9) 16 31"; zero="" 186 alloc="0 1" ; zero="" [all …]
|
| /openbmc/qemu/tests/qtest/ |
| H A D | igb-test.c | 48 static void igb_send_verify(QE1000E *d, int *test_sockets, QGuestAllocator *alloc) in igb_send_verify() argument 56 uint64_t data = guest_alloc(alloc, sizeof(buffer)); in igb_send_verify() 85 guest_free(alloc, data); in igb_send_verify() 88 static void igb_receive_verify(QE1000E *d, int *test_sockets, QGuestAllocator *alloc) in igb_receive_verify() argument 112 uint64_t data = guest_alloc(alloc, sizeof(buffer)); in igb_receive_verify() 133 guest_free(alloc, data); in igb_receive_verify() 136 static void test_e1000e_init(void *obj, void *data, QGuestAllocator * alloc) in test_e1000e_init() argument 141 static void test_igb_tx(void *obj, void *data, QGuestAllocator * alloc) in test_igb_tx() argument 153 igb_send_verify(d, data, alloc); in test_igb_tx() 156 static void test_igb_rx(void *obj, void *data, QGuestAllocator * alloc) in test_igb_rx() argument [all …]
|
| H A D | e1000e-test.c | 44 static void e1000e_send_verify(QE1000E *d, int *test_sockets, QGuestAllocator *alloc) in e1000e_send_verify() argument 52 uint64_t data = guest_alloc(alloc, sizeof(buffer)); in e1000e_send_verify() 82 guest_free(alloc, data); in e1000e_send_verify() 85 static void e1000e_receive_verify(QE1000E *d, int *test_sockets, QGuestAllocator *alloc) in e1000e_receive_verify() argument 109 uint64_t data = guest_alloc(alloc, sizeof(buffer)); in e1000e_receive_verify() 130 guest_free(alloc, data); in e1000e_receive_verify() 133 static void test_e1000e_init(void *obj, void *data, QGuestAllocator * alloc) in test_e1000e_init() argument 138 static void test_e1000e_tx(void *obj, void *data, QGuestAllocator * alloc) in test_e1000e_tx() argument 150 e1000e_send_verify(d, data, alloc); in test_e1000e_tx() 153 static void test_e1000e_rx(void *obj, void *data, QGuestAllocator * alloc) in test_e1000e_rx() argument [all …]
|
| H A D | tulip-test.c | 37 static void *tulip_pci_create(void *pci_bus, QGuestAllocator *alloc, void *addr) in tulip_pci_create() argument 48 static void tulip_large_tx(void *obj, void *data, QGuestAllocator *alloc) in tulip_large_tx() argument 60 context_pa = guest_alloc(alloc, sizeof(context)); in tulip_large_tx() 61 guest_pa = guest_alloc(alloc, 4096); in tulip_large_tx() 73 guest_free(alloc, context_pa); in tulip_large_tx() 74 guest_free(alloc, guest_pa); in tulip_large_tx()
|
| H A D | virtio-iommu-test.c | 24 static QGuestAllocator *alloc; variable 76 ro_addr = guest_alloc(alloc, ro_size); in send_attach_detach() 77 wr_addr = guest_alloc(alloc, wr_size); in send_attach_detach() 87 guest_free(alloc, ro_addr); in send_attach_detach() 88 guest_free(alloc, wr_addr); 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() 132 guest_free(alloc, ro_addr); in send_map() 133 guest_free(alloc, wr_addr); in send_map() 161 ro_addr = guest_alloc(alloc, ro_size); in send_unmap() [all …]
|
| H A D | virtio-scsi-test.c | 37 static QGuestAllocator *alloc; variable 44 qvirtqueue_cleanup(vs->dev->bus, vs->vq[i], alloc); in qvirtio_scsi_pci_free() 54 addr = guest_alloc(alloc, alloc_size); in qvirtio_scsi_alloc() 114 guest_free(alloc, req_addr); in virtio_scsi_do_command() 115 guest_free(alloc, resp_addr); in virtio_scsi_do_command() 116 guest_free(alloc, data_in_addr); in virtio_scsi_do_command() 117 guest_free(alloc, data_out_addr); in virtio_scsi_do_command() 141 vs->vq[i] = qvirtqueue_setup(dev, alloc, i); in qvirtio_scsi_init() 185 alloc = t_alloc; in test_unaligned_write_same() 228 alloc = t_alloc; in test_unmap_large_lba() [all …]
|
| /openbmc/qemu/tests/qtest/libqos/ |
| H A D | rtas.c | 30 static uint64_t qrtas_call(QTestState *qts, QGuestAllocator *alloc, in qrtas_call() argument 38 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() 45 guest_free(alloc, target_ret); in qrtas_call() 46 guest_free(alloc, target_args); in qrtas_call() 51 int qrtas_get_time_of_day(QTestState *qts, QGuestAllocator *alloc, in qrtas_get_time_of_day() argument 57 res = qrtas_call(qts, alloc, "get-time-of-day", 0, NULL, 8, ret); in qrtas_get_time_of_day() 75 uint32_t qrtas_ibm_read_pci_config(QTestState *qts, QGuestAllocator *alloc, in qrtas_ibm_read_pci_config() argument 86 res = qrtas_call(qts, alloc, "ibm,read-pci-config", 4, args, 2, ret); in qrtas_ibm_read_pci_config() 98 int qrtas_ibm_write_pci_config(QTestState *qts, QGuestAllocator *alloc, in qrtas_ibm_write_pci_config() argument [all …]
|
| H A D | ppc64_pseries-machine.c | 36 QGuestAllocator alloc; member 54 QGuestAllocator *alloc) in qos_create_QSPAPR_host() argument 57 qpci_init_spapr(&host->pci, qts, alloc); in qos_create_QSPAPR_host() 65 alloc_destroy(&machine->alloc); in spapr_destructor() 72 return &machine->alloc; in spapr_get_driver() 96 spapr_alloc_init(&machine->alloc, qts, ALLOC_NO_FLAGS); in qos_create_machine_spapr() 98 qos_create_QSPAPR_host(&machine->bridge, qts, &machine->alloc); in qos_create_machine_spapr()
|
| H A D | x86_64_pc-machine.c | 37 QGuestAllocator alloc; member 55 QGuestAllocator *alloc) in qos_create_i440FX_host() argument 58 qpci_init_pc(&host->pci, qts, alloc); in qos_create_i440FX_host() 66 alloc_destroy(&machine->alloc); in pc_destructor() 73 return &machine->alloc; in pc_get_driver() 97 pc_alloc_init(&machine->alloc, qts, ALLOC_NO_FLAGS); in qos_create_machine_pc() 98 qos_create_i440FX_host(&machine->bridge, qts, &machine->alloc); in qos_create_machine_pc()
|
| H A D | arm-virt-machine.c | 38 QGuestAllocator alloc; member 46 alloc_destroy(&machine->alloc); in virt_destructor() 53 return &machine->alloc; in virt_get_driver() 77 alloc_init(&machine->alloc, 0, in qos_create_machine_arm_virt() 84 qos_create_generic_pcihost(&machine->bridge, qts, &machine->alloc); in qos_create_machine_arm_virt()
|
| H A D | loongarch-virt-machine.c | 43 QGuestAllocator alloc; member 51 alloc_destroy(&machine->alloc); in virt_destructor() 58 return &machine->alloc; in virt_get_driver() 92 alloc_init(&machine->alloc, 0, in qos_create_machine_loongarch_virt() 97 qos_create_generic_pcihost(&machine->bridge, qts, &machine->alloc); in qos_create_machine_loongarch_virt()
|
| H A D | libqos.h | 12 QPCIBus *(*qpci_new)(QTestState *qts, QGuestAllocator *alloc); 19 QGuestAllocator alloc; member 37 return guest_alloc(&q->alloc, bytes); in qmalloc() 42 guest_free(&q->alloc, addr); in qfree()
|
| H A D | riscv-virt-machine.c | 58 QGuestAllocator alloc; member 66 alloc_destroy(&machine->alloc); in virt_destructor() 73 return &machine->alloc; in virt_get_driver() 108 alloc_init(&machine->alloc, 0, in qos_create_machine_riscv_virt() 115 qos_create_generic_pcihost(&machine->bridge, qts, &machine->alloc); in qos_create_machine_riscv_virt()
|
| H A D | arm-smdkc210-machine.c | 34 QGuestAllocator alloc; member 42 return &machine->alloc; in smdkc210_get_driver() 63 alloc_destroy(&machine->alloc); in smdkc210_destructor() 70 alloc_init(&machine->alloc, 0, in qos_create_machine_arm_smdkc210()
|
| H A D | arm-sabrelite-machine.c | 34 QGuestAllocator alloc; member 42 return &machine->alloc; in sabrelite_get_driver() 63 alloc_destroy(&machine->alloc); in sabrelite_destructor() 70 alloc_init(&machine->alloc, 0, in qos_create_machine_arm_sabrelite()
|
| H A D | aarch64-xlnx-zcu102-machine.c | 30 QGuestAllocator alloc; member 42 return &machine->alloc; in xlnx_zcu102_get_driver() 63 alloc_destroy(&machine->alloc); in xlnx_zcu102_destructor() 70 alloc_init(&machine->alloc, 0, in qos_create_machine_aarch64_xlnx_zcu102()
|
| H A D | arm-raspi2-machine.c | 34 QGuestAllocator alloc; member 42 return &machine->alloc; in raspi2_get_driver() 63 alloc_destroy(&machine->alloc); in raspi2_destructor() 70 alloc_init(&machine->alloc, 0, in qos_create_machine_arm_raspi2()
|
| H A D | arm-xilinx-zynq-a9-machine.c | 30 QGuestAllocator alloc; member 42 return &machine->alloc; in xilinx_zynq_a9_get_driver() 63 alloc_destroy(&machine->alloc); in xilinx_zynq_a9_destructor() 70 alloc_init(&machine->alloc, 0, in qos_create_machine_arm_xilinx_zynq_a9()
|
| H A D | arm-imx25-pdk-machine.c | 36 QGuestAllocator alloc; member 44 return &machine->alloc; in imx25_pdk_get_driver() 65 alloc_destroy(&machine->alloc); in imx25_pdk_destructor() 72 alloc_init(&machine->alloc, 0, in qos_create_machine_arm_imx25_pdk()
|
| H A D | rtas.h | 10 int qrtas_get_time_of_day(QTestState *qts, QGuestAllocator *alloc, 12 uint32_t qrtas_ibm_read_pci_config(QTestState *qts, QGuestAllocator *alloc, 14 int qrtas_ibm_write_pci_config(QTestState *qts, QGuestAllocator *alloc,
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/libhugetlbfs/files/ |
| H A D | 0008-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch | 4 Subject: [PATCH] alloc.c: Avoid sysconf(_SC_LEVEL2_CACHE_LINESIZE) on linux 12 alloc.c | 15 ++++++++++++++- 15 diff --git a/alloc.c b/alloc.c 17 --- a/alloc.c 18 +++ b/alloc.c
|
| /openbmc/u-boot/arch/xtensa/include/asm/arch-dc233c/ |
| H A D | tie-asm.h | 56 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 64 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_GLOB) & ~(\alloc)) == 0 76 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_CALR) & ~(\alloc)) == 0 94 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_NOCC | XTHAL_SAS_CALR) & ~(\alloc)) == 0 120 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 128 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_GLOB) & ~(\alloc)) == 0 140 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_CALR) & ~(\alloc)) == 0 158 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_NOCC | XTHAL_SAS_CALR) & ~(\alloc)) == 0
|
| /openbmc/openbmc/poky/meta/recipes-devtools/qemu/qemu/ |
| H A D | 0008-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch | 17 util/mmap-alloc.c | 10 +++++++--- 20 diff --git a/util/mmap-alloc.c b/util/mmap-alloc.c 22 --- a/util/mmap-alloc.c 23 +++ b/util/mmap-alloc.c 43 #include "qemu/mmap-alloc.h"
|
| /openbmc/u-boot/lib/lzma/ |
| H A D | LzmaDec.h | 130 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc); 131 void LzmaDec_FreeProbs(CLzmaDec *p, ISzAlloc *alloc); 133 SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc); 134 void LzmaDec_Free(CLzmaDec *state, ISzAlloc *alloc); 221 ELzmaStatus *status, ISzAlloc *alloc);
|
| /openbmc/u-boot/arch/xtensa/include/asm/arch-de212/ |
| H A D | tie-asm.h | 55 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 65 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_CALR) & ~(\alloc)) == 0 83 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_NOCC | XTHAL_SAS_CALR) & ~(\alloc)) == 0 109 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0 119 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_CC | XTHAL_SAS_CALR) & ~(\alloc)) == 0 137 .elseif ((XTHAL_SAS_OPT | XTHAL_SAS_NOCC | XTHAL_SAS_CALR) & ~(\alloc)) == 0
|