/qemu/tests/qemu-iotests/ |
H A D | 146.out | 5 [{ "start": 0, "length": 136363130880, "depth": 0, "present": true, "zero": true, "data": false, "c… 9 [{ "start": 0, "length": 136365211648, "depth": 0, "present": true, "zero": true, "data": false, "c… 13 [{ "start": 0, "length": 136363130880, "depth": 0, "present": true, "zero": true, "data": false, "c… 17 [{ "start": 0, "length": 136365211648, "depth": 0, "present": true, "zero": true, "data": false, "c… 21 [{ "start": 0, "length": 136365211648, "depth": 0, "present": true, "zero": true, "data": false, "c… 25 [{ "start": 0, "length": 136363130880, "depth": 0, "present": true, "zero": true, "data": false, "c… 29 [{ "start": 0, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "compre… 30 { "start": 2097152, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "c… 31 { "start": 4194304, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "c… 32 { "start": 6291456, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "c… [all …]
|
H A D | 179.out | 16 [{ "start": 0, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "compr… 17 { "start": 2097152, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 18 { "start": 4194304, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "… 19 { "start": 6291456, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 20 { "start": 8388608, "length": 58720256, "depth": 0, "present": false, "zero": true, "data": false, … 34 [{ "start": 0, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "compr… 35 { "start": 2097152, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 36 { "start": 4194304, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "… 37 { "start": 6291456, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 38 { "start": 8388608, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "… [all …]
|
H A D | 154.out | 14 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": true, "data": false, "compresse… 15 { "start": 4096, "length": 4096, "depth": 1, "present": false, "zero": true, "data": false, "compre… 16 { "start": 8192, "length": 4096, "depth": 0, "present": true, "zero": true, "data": false, "compres… 17 { "start": 12288, "length": 4096, "depth": 1, "present": false, "zero": true, "data": false, "compr… 18 { "start": 16384, "length": 4096, "depth": 0, "present": true, "zero": true, "data": false, "compre… 19 { "start": 20480, "length": 4096, "depth": 1, "present": false, "zero": true, "data": false, "compr… 20 { "start": 24576, "length": 8192, "depth": 0, "present": true, "zero": true, "data": false, "compre… 21 { "start": 32768, "length": 134184960, "depth": 1, "present": false, "zero": true, "data": false, "… 44 [{ "start": 0, "length": 32768, "depth": 1, "present": false, "zero": true, "data": false, "compres… 45 { "start": 32768, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compre… [all …]
|
H A D | 122.out | 11 Offset Length File 35 Offset Length File 41 Offset Length File 60 Offset Length File 70 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "compress… 71 { "start": 65536, "length": 4128768, "depth": 0, "present": false, "zero": true, "data": false, "co… 72 { "start": 4194304, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "com… 73 { "start": 4259840, "length": 4128768, "depth": 0, "present": false, "zero": true, "data": false, "… 74 { "start": 8388608, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "com… 75 { "start": 8454144, "length": 4128768, "depth": 0, "present": false, "zero": true, "data": false, "… [all …]
|
H A D | 253.out | 6 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 7 { "start": 4096, "length": 1044480, "depth": 0, "present": true, "zero": true, "data": false, "comp… 8 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 9 { "start": 4096, "length": 1044480, "depth": 0, "present": true, "zero": true, "data": false, "comp… 12 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 13 { "start": 4096, "length": 978944, "depth": 0, "present": true, "zero": true, "data": false, "compr… 14 { "start": 983040, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "comp… 15 [{ "start": 0, "length": 4096, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 16 { "start": 4096, "length": 978944, "depth": 0, "present": true, "zero": true, "data": false, "compr… 17 { "start": 983040, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "comp…
|
H A D | 031.out | 29 length 31 57 length 31 85 length 11 90 length 31 120 length 384 125 length 31 153 length 384 158 length 31 186 length 11 191 length 384 [all …]
|
/qemu/hw/usb/ |
H A D | desc-msos.c | 57 int length = sizeof(*hdr); in usb_desc_msos_compat() local 60 func = (void *)(dest + length); in usb_desc_msos_compat() 67 length += sizeof(*func); in usb_desc_msos_compat() 70 hdr->dwLength = cpu_to_le32(length); in usb_desc_msos_compat() 76 return length; in usb_desc_msos_compat() 117 int length = wcslen(name) + 1; in usb_desc_msos_prop_name() local 120 prop->dwPropertyNameLength_lo = usb_lo(length*2); in usb_desc_msos_prop_name() 121 prop->dwPropertyNameLength_hi = usb_hi(length*2); in usb_desc_msos_prop_name() 122 for (i = 0; i < length; i++) { in usb_desc_msos_prop_name() 126 return length*2; in usb_desc_msos_prop_name() [all …]
|
/qemu/system/ |
H A D | memory_mapping.c | 42 ram_addr_t length) in create_new_memory_mapping() argument 49 memory_mapping->length = length; in create_new_memory_mapping() 59 return phys_addr == map->phys_addr + map->length && in mapping_contiguous() 60 virt_addr == map->virt_addr + map->length; in mapping_contiguous() 64 * [map->phys_addr, map->phys_addr + map->length) and 65 * [phys_addr, phys_addr + length) have intersection? 69 ram_addr_t length) in mapping_have_same_region() argument 71 return !(phys_addr + length < map->phys_addr || in mapping_have_same_region() 72 phys_addr >= map->phys_addr + map->length); in mapping_have_same_region() 76 * [map->phys_addr, map->phys_addr + map->length) and [all …]
|
/qemu/hw/uefi/ |
H A D | var-service-vars.c | 270 uint64_t length; in uefi_vars_mm_get_variable() local 272 length = sizeof(*mvar) + sizeof(*va); in uefi_vars_mm_get_variable() 273 if (mhdr->length < length) { in uefi_vars_mm_get_variable() 283 if (uadd64_overflow(length, va->name_size, &length)) { in uefi_vars_mm_get_variable() 286 if (mhdr->length < length) { in uefi_vars_mm_get_variable() 307 if (uadd64_overflow(length, va->data_size, &length)) { in uefi_vars_mm_get_variable() 310 if (uv->buf_size < length) { in uefi_vars_mm_get_variable() 317 length -= va->data_size; in uefi_vars_mm_get_variable() 324 return length; in uefi_vars_mm_get_variable() 334 uint64_t length; in uefi_vars_mm_get_next_variable() local [all …]
|
/qemu/util/ |
H A D | userfaultfd.c | 154 * @length: length of memory range 158 int uffd_register_memory(int uffd_fd, void *addr, uint64_t length, in uffd_register_memory() argument 164 uffd_register.range.len = length; in uffd_register_memory() 168 trace_uffd_register_memory_failed(addr, length, mode, errno); in uffd_register_memory() 185 * @length: length of memory range 187 int uffd_unregister_memory(int uffd_fd, void *addr, uint64_t length) in uffd_unregister_memory() argument 192 uffd_range.len = length; in uffd_unregister_memory() 195 trace_uffd_unregister_memory_failed(addr, length, errno); in uffd_unregister_memory() 209 * @length: length of memory range 213 int uffd_change_protection(int uffd_fd, void *addr, uint64_t length, in uffd_change_protection() argument [all …]
|
/qemu/include/qemu/ |
H A D | bitops.h | 27 #define MAKE_64BIT_MASK(shift, length) \ argument 28 (((~0ULL) >> (64 - (length))) << (shift)) 33 * We provide a set of functions which work on arbitrary-length arrays of 506 * @length: the length of the bit field 509 * @start and @length parameters, and return it. The bit field must 511 * all 32 bits are returned (ie @length 32 and @start 0). 515 static inline uint32_t extract32(uint32_t value, int start, int length) in extract32() argument 517 assert(start >= 0 && length > 0 && length <= 32 - start); in extract32() 518 return (value >> start) & (~0U >> (32 - length)); in extract32() 525 * @length: the length of the bit field [all …]
|
H A D | throttle-options.h | 15 #define QEMU_OPT_IOPS_TOTAL_MAX_LENGTH "iops-total-max-length" 18 #define QEMU_OPT_IOPS_READ_MAX_LENGTH "iops-read-max-length" 21 #define QEMU_OPT_IOPS_WRITE_MAX_LENGTH "iops-write-max-length" 24 #define QEMU_OPT_BPS_TOTAL_MAX_LENGTH "bps-total-max-length" 27 #define QEMU_OPT_BPS_READ_MAX_LENGTH "bps-read-max-length" 30 #define QEMU_OPT_BPS_WRITE_MAX_LENGTH "bps-write-max-length" 87 .help = "length of the iops-total-max burst period, in seconds",\ 91 .help = "length of the iops-read-max burst period, in seconds",\ 95 .help = "length of the iops-write-max burst period, in seconds",\ 99 .help = "length of the bps-total-max burst period, in seconds",\ [all …]
|
/qemu/tests/functional/acpi-bits/bits-tests/ |
H A D | smbios.py2 | 104 self.add_field('length', u.unpack_one("B")) 129 length = u.unpack_peek_one("<xB") 130 self.raw_data = u.unpack_raw(length) 147 self.add_field('length', self.u.unpack_one("B")) 186 characteristic_bytes = self.length - 0x12 211 if self.length > 0x8: 225 if self.length > 0x19: 263 if self.length > 0x8: 266 if self.length > 0x9: 274 if self.length > 0xA: [all …]
|
/qemu/hw/cxl/ |
H A D | cxl-cdat.c | 18 assert(hdr->length); in cdat_len_check() 23 assert(hdr->length == sizeof(CDATDsmas)); in cdat_len_check() 26 assert(hdr->length == sizeof(CDATDslbis)); in cdat_len_check() 29 assert(hdr->length == sizeof(CDATDsmscis)); in cdat_len_check() 32 assert(hdr->length == sizeof(CDATDsis)); in cdat_len_check() 35 assert(hdr->length == sizeof(CDATDsemts)); in cdat_len_check() 38 assert(hdr->length >= sizeof(CDATSslbisHeader)); in cdat_len_check() 39 assert((hdr->length - sizeof(CDATSslbisHeader)) % in cdat_len_check() 86 cdat_st[ent].length = hdr->length; in ct3_build_cdat() 88 cdat_header->length += hdr->length; in ct3_build_cdat() [all …]
|
/qemu/include/standard-headers/linux/ |
H A D | virtio_crypto.h | 89 /* length of key */ 126 /* hash result length */ 154 /* hash result length */ 156 /* length of authenticated key */ 172 /* length of key */ 174 /* hash result length */ 176 /* length of the additional authenticated data (AAD) in bytes */ 257 /* length of the additional authenticated data (AAD) in bytes */ 349 * Byte Length of valid IV/Counter 352 * SNOW3G in UEA2 mode, this is the length of the IV (which [all …]
|
/qemu/crypto/ |
H A D | der.h | 34 * @value: the starting address of |value| part of 'Tag-Length-Value' pattern. 35 * @vlen: length of the |value|. 44 * @dlen: pointer to length of input data 52 * will be set to the rest length of data, if cb is not NULL, must 53 * return 0 to make decode success, at last, the length of the data 68 * @dlen: pointer to length of input data 74 * will be set to the rest length of data, if cb is not NULL, must 75 * return 0 to make decode success, at last, the length of the data 91 * @dlen: pointer to length of input data 97 * will be set to the rest length of data, if cb is not NULL, must [all …]
|
H A D | cipher-nettle.c.inc | 44 error_setg(errp, "Length %zu must be a multiple of block size %zu", 159 static void NAME##_xts_wrape(const void *ctx, size_t length, \ 162 ENCRYPT((const void *)ctx, length, dst, src); \ 164 static void NAME##_xts_wrapd(const void *ctx, size_t length, \ 167 DECRYPT((const void *)ctx, length, dst, src); \ 247 static void des_encrypt_native(const void *ctx, size_t length, 250 des_encrypt(ctx, length, dst, src); 253 static void des_decrypt_native(const void *ctx, size_t length, 256 des_decrypt(ctx, length, dst, src); 269 static void des3_encrypt_native(const void *ctx, size_t length, [all …]
|
/qemu/hw/char/ |
H A D | sclpconsole-lm.c | 47 uint32_t length; /* length of byte stream in buffer */ member 64 * The maximum command line length is limited by the maximum in DECLARE_INSTANCE_CHECKER() 90 if (scon->length == SIZE_CONSOLE_BUFFER) { in chr_read() 94 scon->buf[scon->length] = *buf; in chr_read() 95 scon->length += 1; in chr_read() 132 len = cons->length; in get_console_data() 140 cons->length = 0; in get_console_data() 169 oc->message_unit.mdmsu.length = cpu_to_be16(sizeof(struct MDMSU)); in read_event_data() 172 oc->message_unit.cpmsu.length = in read_event_data() 176 oc->message_unit.text_command.length = in read_event_data() [all …]
|
/qemu/docs/system/arm/ |
H A D | cpu-features.rst | 238 number of bits of the length. The ``sve<N>`` CPU properties have special 249 1) At least one vector length must be enabled when ``sve`` is enabled. 251 2) If a vector length ``N`` is enabled, then, when KVM is enabled, all 256 is enabled, the 128-bit vector length, 256-bit vector length, and 257 384-bit vector length must also be enabled. Without KVM, the 384-bit 258 vector length would not be required. 283 disable the last enabled vector length (see constraint (1) of "SVE 287 least one of the dependency lengths of the maximum enabled length 303 When KVM is not enabled, disabling a power-of-two vector length also 304 disables all vector lengths larger than the power-of-two length. [all …]
|
/qemu/tests/unit/ |
H A D | test-crypto-der.c | 27 "\x30\x82\x01\x39" /* SEQUENCE, offset: 0, length: 313 */ 28 "\x02\x01\x00" /* INTEGER, offset: 4, length: 1 */ 29 "\x02\x41" /* INTEGER, offset: 7, length: 65 */ 35 "\x02\x03\x01\x00\x01" /* INTEGER, offset: 74, length: 3 */ 36 "\x02\x40" /* INTEGER, offset: 79, length: 64 */ 41 "\x02\x21" /* INTEGER, offset: 145, length: 33 */ 45 "\x02\x21" /* INTEGER, offset: 180, length: 33 */ 49 "\x02\x20" /* INTEGER, offset: 215, length: 32 */ 52 "\x02\x20" /* INTEGER, offset: 249, length: 32 */ 55 "\x02\x20" /* INTEGER, offset: 283, length: 32 */ [all …]
|
/qemu/include/system/ |
H A D | ram_addr.h | 126 typedef void (*qemu_ram_resize_cb)(const char *, uint64_t length, void *host); 148 void qemu_ram_msync(RAMBlock *block, ram_addr_t start, ram_addr_t length); 160 ram_addr_t length, in cpu_physical_memory_get_dirty() argument 170 end = TARGET_PAGE_ALIGN(start + length) >> TARGET_PAGE_BITS; in cpu_physical_memory_get_dirty() 200 ram_addr_t length, in cpu_physical_memory_all_dirty() argument 210 end = TARGET_PAGE_ALIGN(start + length) >> TARGET_PAGE_BITS; in cpu_physical_memory_all_dirty() 254 ram_addr_t length, in cpu_physical_memory_range_includes_clean() argument 260 !cpu_physical_memory_all_dirty(start, length, DIRTY_MEMORY_VGA)) { in cpu_physical_memory_range_includes_clean() 264 !cpu_physical_memory_all_dirty(start, length, DIRTY_MEMORY_CODE)) { in cpu_physical_memory_range_includes_clean() 268 !cpu_physical_memory_all_dirty(start, length, DIRTY_MEMORY_MIGRATION)) { in cpu_physical_memory_range_includes_clean() [all …]
|
/qemu/tests/qemu-iotests/tests/ |
H A D | iov-padding | 47 # - Offset 4096, length 1023 * 512 + 512: Fully aligned to 4k 48 # - Offset 4096, length 1023 * 512 + 4096: Head is aligned, tail is not 49 # - Offset 512, length 1023 * 512 + 512: Neither head nor tail are aligned 50 # - Offset 512, length 1023 * 512 + 4096: Tail is aligned, head is not 53 length=$((1023 * 512 + $last_element_length)) 56 …"== performing 1024-element vectored requests to image (offset: $start_offset; length: $length) ==" 61 # 1023 512-byte buffers, and then one with length $last_element_length 73 -c "read -P 2 $start_offset $length" \ 75 -c "read -P 1 $((start_offset + length)) $((1024 * 1024 - length - start_offset))" \
|
/qemu/target/loongarch/ |
H A D | gdbstub.c | 66 int length = 0; in loongarch_cpu_gdb_write_register() local 74 length = 8; in loongarch_cpu_gdb_write_register() 77 length = 4; in loongarch_cpu_gdb_write_register() 85 return length; in loongarch_cpu_gdb_write_register() 107 int length = 0; in loongarch_gdb_set_fpu() local 111 length = 8; in loongarch_gdb_set_fpu() 114 length = 1; in loongarch_gdb_set_fpu() 117 length = 4; in loongarch_gdb_set_fpu() 119 return length; in loongarch_gdb_set_fpu() 129 int i, length = 0; in loongarch_gdb_get_vec() local [all …]
|
/qemu/include/crypto/ |
H A D | akcipher.h | 45 * @key_len: the length of key buffer 63 * @in_len: length of plaintext, less or equal to the size reported 66 * @out_len: length of ciphertext, less or equal to the size reported 72 * Returns: length of ciphertext if encrypt succeed, 83 * @in_len: the length of ciphertext, less or equal to the size reported 86 * @out_len: length of the plaintext buffer, less or equal to the size 92 * Returns: length of plaintext if decrypt succeed, 103 * @in_len: the length of data, less or equal to the size reported 106 * @out_len: length of the signature buffer, less or equal to the size 112 * Returns: length of signature if succeed, [all …]
|
/qemu/tests/qtest/fuzz/ |
H A D | virtio_scsi_fuzz.c | 71 * The length of the data is specified by the preceding vqa.length in virtio_scsi_fuzz() 75 uint8_t length; in virtio_scsi_fuzz() member 92 /* Copy the action, so we can normalize length, queue and flags */ in virtio_scsi_fuzz() 99 /* Cap length at the number of remaining bytes in data */ in virtio_scsi_fuzz() 100 vqa.length = vqa.length >= Size ? Size : vqa.length; in virtio_scsi_fuzz() 109 uint64_t req_addr = guest_alloc(t_alloc, vqa.length); in virtio_scsi_fuzz() 110 qtest_memwrite(s, req_addr, Data, vqa.length); in virtio_scsi_fuzz() 113 free_head[vqa.queue] = qvirtqueue_add(s, q, req_addr, vqa.length, in virtio_scsi_fuzz() 116 qvirtqueue_add(s, q, req_addr, vqa.length, vqa.write , vqa.next); in virtio_scsi_fuzz() 123 Data += vqa.length; in virtio_scsi_fuzz() [all …]
|