Home
last modified time | relevance | path

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

12

/qemu/tests/qtest/fuzz/
H A Di440fx_fuzz.c42 const unsigned char *Data, size_t Size) { in ioport_fuzz_qtest() argument
53 while (Size >= sizeof(a)) { in ioport_fuzz_qtest()
80 Size -= sizeof(a); in ioport_fuzz_qtest()
88 size_t Size) in i440fx_fuzz_qtest() argument
90 ioport_fuzz_qtest(s, Data, Size); in i440fx_fuzz_qtest()
95 const unsigned char *Data, size_t Size) { in pciconfig_fuzz_qos() argument
107 while (Size >= sizeof(a)) { in pciconfig_fuzz_qos()
129 Size -= sizeof(a); in pciconfig_fuzz_qos()
137 size_t Size) in i440fx_fuzz_qos() argument
145 pciconfig_fuzz_qos(s, bus, Data, Size); in i440fx_fuzz_qos()
H A Dvirtio_scsi_fuzz.c65 const unsigned char *Data, size_t Size) in virtio_scsi_fuzz() argument
91 while (Size >= sizeof(vqa)) { in virtio_scsi_fuzz()
96 Size -= sizeof(vqa); in virtio_scsi_fuzz()
100 vqa.length = vqa.length >= Size ? Size : vqa.length; in virtio_scsi_fuzz()
124 Size -= vqa.length; in virtio_scsi_fuzz()
135 const unsigned char *Data, size_t Size) in virtio_scsi_with_flag_fuzz() argument
140 if (Size >= sizeof(uint64_t)) { in virtio_scsi_with_flag_fuzz()
143 Data + sizeof(uint64_t), Size - sizeof(uint64_t)); in virtio_scsi_with_flag_fuzz()
H A Dvirtio_net_fuzz.c31 const unsigned char *Data, size_t Size, bool check_used) in virtio_net_fuzz_multi() argument
49 while (Size >= sizeof(vqa)) { in virtio_net_fuzz_multi()
52 Size -= sizeof(vqa); in virtio_net_fuzz_multi()
56 vqa.length = vqa.length >= Size ? Size : vqa.length; in virtio_net_fuzz_multi()
113 Size -= vqa.length; in virtio_net_fuzz_multi()
119 const unsigned char *Data, size_t Size) in virtio_net_fuzz_check_used() argument
121 virtio_net_fuzz_multi(s, Data, Size, true); in virtio_net_fuzz_check_used()
H A Dvirtio_blk_fuzz.c62 const unsigned char *Data, size_t Size) in virtio_blk_fuzz() argument
88 while (Size >= sizeof(vqa)) { in virtio_blk_fuzz()
93 Size -= sizeof(vqa); in virtio_blk_fuzz()
97 vqa.length = vqa.length >= Size ? Size : vqa.length; in virtio_blk_fuzz()
120 Size -= vqa.length; in virtio_blk_fuzz()
131 const unsigned char *Data, size_t Size) in virtio_blk_with_flag_fuzz() argument
136 if (Size >= sizeof(uint64_t)) { in virtio_blk_with_flag_fuzz()
139 Data + sizeof(uint64_t), Size - sizeof(uint64_t)); in virtio_blk_with_flag_fuzz()
H A Dfuzz.c143 int LLVMFuzzerTestOneInput(const unsigned char *Data, size_t Size) in LLVMFuzzerTestOneInput() argument
158 fuzz_target->fuzz(fuzz_qts, Data, Size); in LLVMFuzzerTestOneInput()
H A Dgeneric_fuzz.c631 static void generic_fuzz(QTestState *s, const unsigned char *Data, size_t Size) in generic_fuzz() argument
658 while (cmd && Size) { in generic_fuzz()
660 nextcmd = memmem(cmd, Size, SEPARATOR, strlen(SEPARATOR)); in generic_fuzz()
661 cmd_len = nextcmd ? nextcmd - cmd : Size; in generic_fuzz()
673 Size = Size - (cmd_len + sizeof(SEPARATOR) - 1); in generic_fuzz()
H A Dqos_fuzz.h19 int qos_fuzz(const unsigned char *Data, size_t Size);
H A Dfuzz.h121 int LLVMFuzzerTestOneInput(const unsigned char *Data, size_t Size);
/qemu/tests/qemu-iotests/
H A D084.out26 Test 2: Size too large (512 TB - 128 MB + 64 kB)
29 Test 3: Size valid (64M), but Blocks In Image too small (63)
32 Test 4: Size valid (64M), but Blocks In Image exceeds max allowed
35 Test 5: Valid Image: 64MB, Blocks In Image 64, Block Size 1MB
41 Test 6: Block Size != 1MB; too small test (1MB - 1)
44 Test 7: Block Size != 1MB; too large test (1MB + 64KB)
H A D178.out.raw19 == Size calculation for a new file (human) ==
77 == Size calculation for a new file (json) ==
H A D178.out.qcow219 == Size calculation for a new file (human) ==
152 == Size calculation for a new file (json) ==
H A D266.out75 === Size not representable in CHS ===
/qemu/contrib/elf2dmp/
H A Dmain.c119 kdbg = g_malloc(kdbg_hdr.Size); in get_kdbg()
121 if (!va_space_rw(vs, KdDebuggerDataBlock, kdbg, kdbg_hdr.Size, 0)) { in get_kdbg()
132 kdbg_decode((uint64_t *)kdbg, (uint64_t *)kdbg, kdbg_hdr.Size, in get_kdbg()
135 va_space_rw(vs, KdDebuggerDataBlock, kdbg, kdbg_hdr.Size, 1); in get_kdbg()
H A Dpe.h47 uint32_t Size; member
H A Dkdbg.h38 uint32_t Size; member
/qemu/docs/specs/
H A Dstandard-vga.rst29 Size is tunable via vga_mem_mb property.
H A Divshmem-spec.rst63 Offset Size Access On reset Function
/qemu/docs/system/devices/
H A Dnvme.rst49 Set the Maximum Data Transfer Size of the device.
201 Set the Zone Descriptor Extension Size (``ZDES``). Must be a multiple of 64
246 Set the Reclaim Unit Nominal Size. Defaults to 96 MiB.
/qemu/include/hw/
H A Delf_ops.h.inc426 mem_size = ph->p_memsz; /* Size of the ROM */
427 file_size = ph->p_filesz; /* Size of the allocated data */
586 file_size = ph->p_filesz; /* Size of the range of ELF notes */
/qemu/docs/interop/
H A Dqcow2.txt327 Size of the bitmap directory in bytes. It is the cumulative
695 32 - 35: Size of the VM state in bytes. 0 if no VM state is saved.
702 36 - 39: Size of extra data in the table entry (used for future
709 Byte 40 - 47: Size of the VM state in bytes. 0 if no VM
810 Size of the bitmap name. Must be non-zero.
816 Size of type-specific extra data.
H A Dqmp-spec.rst370 - Size of json-objects; in particular, future versions of QEMU may add
/qemu/audio/
H A Dcoreaudio.m409 /* set Buffer Frame Size */
422 /* get Buffer Frame Size */
/qemu/nbd/
H A Dtrace-events23 nbd_receive_negotiate_size_flags(uint64_t size, uint16_t flags) "Size is %" PRIu64 ", export flags …
/qemu/qapi/
H A Dblock-core.json4931 # @size: Size of the virtual disk in bytes
4958 # @size: Size of the virtual disk in bytes
4981 # @size: Size of the virtual disk in bytes
5002 # @size: Size of the virtual disk in bytes
5017 # @size: Size of the virtual disk in bytes
5035 # @size: Size of the virtual disk in bytes
5095 # @size: Size of the virtual disk in bytes
5144 # @size: Size of the virtual disk in bytes
5173 # @size: Size of the virtual disk in bytes
5230 # @size: Size of the virtual disk in bytes
[all …]
/qemu/target/arm/tcg/
H A Dmve.decode143 # 2-operand, but Qd and Qn share a field. Size is in bit 28, but we

12