/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… 420 [{ "start": 0, "length": 4295467008, "depth": 0, "present": true, "zero": true, "data": false, "com… 424 [{ "start": 0, "length": 4295467008, "depth": 0, "present": true, "zero": true, "data": false, "com… 428 [{ "start": 0, "length": 4295467008, "depth": 0, "present": true, "zero": true, "data": false, "com… 436 [{ "start": 0, "length": 4294967296, "depth": 0, "present": true, "zero": true, "data": false, "com… [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… 37 { "start": 6291456, "length": 2097152, "depth": 0, "present": true, "zero": true, "data": false, "c… 60 [{ "start": 0, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "compr… 90 [{ "start": 0, "length": 2097152, "depth": 0, "present": false, "zero": true, "data": false, "compr… [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… 44 [{ "start": 0, "length": 32768, "depth": 1, "present": false, "zero": true, "data": false, "compres… 71 [{ "start": 0, "length": 32768, "depth": 1, "present": false, "zero": true, "data": false, "compres… 104 [{ "start": 0, "length": 4096, "depth": 1, "present": false, "zero": true, "data": false, "compress… [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 | 184.out | 124 "bps-read-max-length": 1, 125 "iops-read-max-length": 1, 128 "iops-total-max-length": 1, 136 "iops-write-max-length": 1, 138 "bps-total-max-length": 1, 141 "bps-write-max-length": 1, 151 "bps-read-max-length": 1, 152 "iops-read-max-length": 1, 155 "iops-total-max-length": 1, 165 "bps-total-max-length": 1, [all …]
|
H A D | 221.out | 8 [{ "start": 0, "length": 66048, "depth": 0, "present": true, "zero": true, "data": false, "compress… 9 [{ "start": 0, "length": 66048, "depth": 0, "present": true, "zero": true, "data": false, "compress… 12 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": true, "data": false, "compress… 13 { "start": 65536, "length": 1, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 14 { "start": 65537, "length": 511, "depth": 0, "present": true, "zero": true, "data": false, "compres… 15 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": true, "data": false, "compress… 16 { "start": 65536, "length": 1, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 17 { "start": 65537, "length": 511, "depth": 0, "present": true, "zero": true, "data": false, "compres…
|
H A D | 122.out | 70 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "compress… 72 { "start": 4194304, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "com… 74 { "start": 8388608, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "com… 97 [{ "start": 0, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "compress… 101 { "start": 983040, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "comp… 140 [{ "start": 0, "length": 67108864, "depth": 0, "present": true, "zero": false, "data": true, "compr… 207 [{ "start": 0, "length": 1024, "depth": 0, "present": true, "zero": false, "data": true, "compresse… 209 { "start": 8192, "length": 1024, "depth": 0, "present": true, "zero": false, "data": true, "compres… 211 { "start": 17408, "length": 1024, "depth": 0, "present": true, "zero": false, "data": true, "compre… 219 [{ "start": 0, "length": 1024, "depth": 0, "present": true, "zero": false, "data": true, "compresse… [all …]
|
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 | 76 return length; in usb_desc_msos_compat() 126 return length*2; in usb_desc_msos_prop_name() 148 length += vlen*2; in usb_desc_msos_prop_str() 151 return length; in usb_desc_msos_prop_str() 173 return length; in usb_desc_msos_prop_dword() 187 length += usb_desc_msos_prop_str(dest+length, MSOS_REG_SZ, in usb_desc_msos_prop() 199 length += usb_desc_msos_prop_dword(dest+length, in usb_desc_msos_prop() 211 return length; in usb_desc_msos_prop() 220 int length = 0; in usb_desc_msos() local 231 if (length > len) { in usb_desc_msos() [all …]
|
H A D | ccid-card-passthru.c | 79 const uint8_t *payload, uint32_t length) in DECLARE_INSTANCE_CHECKER() 85 scr_msg_header.length = htonl(length); in DECLARE_INSTANCE_CHECKER() 90 qemu_chr_fe_write_all(&s->cs, payload, length); in DECLARE_INSTANCE_CHECKER() 94 const uint8_t *apdu, uint32_t length) in ccid_card_vscard_send_apdu() argument 97 s, VSC_APDU, VSCARD_MINIMAL_READER_ID, apdu, length); in ccid_card_vscard_send_apdu() 216 if (scr_msg_header->length > MAX_ATR_SIZE) { in ccid_card_vscard_handle_message() 222 if (!check_atr(card, data, scr_msg_header->length)) { in ccid_card_vscard_handle_message() 228 memcpy(card->atr, data, scr_msg_header->length); in ccid_card_vscard_handle_message() 229 card->atr_length = scr_msg_header->length; in ccid_card_vscard_handle_message() 236 &card->base, data, scr_msg_header->length); in ccid_card_vscard_handle_message() [all …]
|
/qemu/include/qemu/ |
H A D | bitops.h | 28 #define MAKE_64BIT_MASK(shift, length) \ argument 351 assert(start >= 0 && length > 0 && length <= 32 - start); in extract32() 370 assert(start >= 0 && length > 0 && length <= 8 - start); in extract8() 389 assert(start >= 0 && length > 0 && length <= 16 - start); in extract16() 408 assert(start >= 0 && length > 0 && length <= 64 - start); in extract64() 430 assert(start >= 0 && length > 0 && length <= 32 - start); in sextract32() 434 return ((int32_t)(value << (32 - length - start))) >> (32 - length); in sextract32() 455 assert(start >= 0 && length > 0 && length <= 64 - start); in sextract64() 459 return ((int64_t)(value << (64 - length - start))) >> (64 - length); in sextract64() 483 assert(start >= 0 && length > 0 && length <= 32 - start); in deposit32() [all …]
|
H A D | userfaultfd.h | 32 int uffd_register_memory(int uffd_fd, void *addr, uint64_t length, 34 int uffd_unregister_memory(int uffd_fd, void *addr, uint64_t length); 35 int uffd_change_protection(int uffd_fd, void *addr, uint64_t length, 38 uint64_t length, bool dont_wake); 39 int uffd_zero_page(int uffd_fd, void *addr, uint64_t length, bool dont_wake); 40 int uffd_wakeup(int uffd_fd, void *addr, uint64_t length);
|
/qemu/system/ |
H A D | memory_mapping.c | 48 memory_mapping->length = length; in create_new_memory_mapping() 100 if ((virt_addr + length) > in mapping_merge() 101 (map->virt_addr + map->length)) { in mapping_merge() 102 map->length = virt_addr + length - map->virt_addr; in mapping_merge() 121 last_mapping->length += length; in memory_mapping_list_add_merge_sorted() 128 memory_mapping->length += length; in memory_mapping_list_add_merge_sorted() 314 ram_addr_t offset, length; in qemu_get_guest_memory_mapping() local 351 int64_t length) in memory_mapping_filter() argument 356 if (cur->phys_addr >= begin + length || in memory_mapping_filter() 372 if (cur->phys_addr + cur->length > begin + length) { in memory_mapping_filter() [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() 32 assert(hdr->length == sizeof(CDATDsis)); 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() 89 for (i = 0; i < hdr->length; i++) { in ct3_build_cdat() 109 cdat_st[0].length = sizeof(*cdat_header); in ct3_build_cdat() 146 i += hdr->length; in ct3_load_cdat() 165 while (i < cdat_st[0].length) { in ct3_load_cdat() [all …]
|
/qemu/hw/char/ |
H A D | sclpconsole-lm.c | 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() 172 oc->message_unit.cpmsu.length = in read_event_data() 176 oc->message_unit.text_command.length = in read_event_data() 184 oc->message_unit.text_message.length = in read_event_data() 219 len = be16_to_cpu(mdbo->length); in process_mdb() 258 len -= be16_to_cpu(mdbo->length); in write_event_data() 278 len -= be16_to_cpu(mdbo->length); in write_event_data() [all …]
|
/qemu/util/ |
H A D | userfaultfd.c | 164 uffd_register.range.len = length; in uffd_register_memory() 192 uffd_range.len = length; in uffd_unregister_memory() 219 uffd_writeprotect.range.len = length; in uffd_change_protection() 229 " mode=%" PRIx64 " errno=%i", addr, length, in uffd_change_protection() 252 uint64_t length, bool dont_wake) in uffd_copy_page() argument 258 uffd_copy.len = length; in uffd_copy_page() 264 length, (uint64_t) uffd_copy.mode, errno); in uffd_copy_page() 288 uffd_zeropage.range.len = length; in uffd_zero_page() 315 int uffd_wakeup(int uffd_fd, void *addr, uint64_t length) in uffd_wakeup() argument 320 uffd_range.len = length; in uffd_wakeup() [all …]
|
/qemu/include/exec/ |
H A D | ram_addr.h | 155 ram_addr_t length, in cpu_physical_memory_get_dirty() argument 165 end = TARGET_PAGE_ALIGN(start + length) >> TARGET_PAGE_BITS; in cpu_physical_memory_get_dirty() 205 end = TARGET_PAGE_ALIGN(start + length) >> TARGET_PAGE_BITS; in cpu_physical_memory_all_dirty() 301 end = TARGET_PAGE_ALIGN(start + length) >> TARGET_PAGE_BITS; in cpu_physical_memory_set_dirty_range() 335 xen_hvm_modified_memory(start, length); in cpu_physical_memory_set_dirty_range() 452 tlb_reset_dirty_range_all(start, length); in cpu_physical_memory_dirty_bits_cleared() 457 ram_addr_t length, 465 ram_addr_t length); 490 !(length & ((BITS_PER_LONG << TARGET_PAGE_BITS) - 1))) { in cpu_physical_memory_sync_dirty_bitmap() 492 int nr = BITS_TO_LONGS(length >> TARGET_PAGE_BITS); in cpu_physical_memory_sync_dirty_bitmap() [all …]
|
/qemu/tests/avocado/acpi-bits/bits-tests/ |
H A D | smbios.py2 | 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: 277 if self.length > 0xB: 280 if self.length > 0xD: 283 if self.length > 0xE: 340 if self.length > 9: 360 if self.length > 0xd: [all …]
|
/qemu/tests/qtest/fuzz/ |
H A D | virtio_net_fuzz.c | 35 uint8_t length; in virtio_net_fuzz_multi() member 56 vqa.length = vqa.length >= Size ? Size : vqa.length; in virtio_net_fuzz_multi() 63 int ignored = write(sockfds[0], Data, vqa.length); in virtio_net_fuzz_multi() 67 uint64_t req_addr = guest_alloc(t_alloc, vqa.length); in virtio_net_fuzz_multi() 72 qtest_memwrite(s, req_addr, Data, vqa.length); in virtio_net_fuzz_multi() 75 free_head = qvirtqueue_add(s, q, req_addr, vqa.length, in virtio_net_fuzz_multi() 77 qvirtqueue_add(s, q, req_addr, vqa.length, vqa.write , vqa.next); in virtio_net_fuzz_multi() 112 Data += vqa.length; in virtio_net_fuzz_multi() 113 Size -= vqa.length; in virtio_net_fuzz_multi()
|
H A D | virtio_scsi_fuzz.c | 75 uint8_t length; in virtio_scsi_fuzz() member 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() 124 Size -= vqa.length; in virtio_scsi_fuzz()
|
H A D | virtio_blk_fuzz.c | 72 uint8_t length; in virtio_blk_fuzz() member 97 vqa.length = vqa.length >= Size ? Size : vqa.length; in virtio_blk_fuzz() 105 uint64_t req_addr = guest_alloc(t_alloc, vqa.length); in virtio_blk_fuzz() 106 qtest_memwrite(s, req_addr, Data, vqa.length); in virtio_blk_fuzz() 109 free_head[vqa.queue] = qvirtqueue_add(s, q, req_addr, vqa.length, in virtio_blk_fuzz() 112 qvirtqueue_add(s, q, req_addr, vqa.length, vqa.write , vqa.next); in virtio_blk_fuzz() 119 Data += vqa.length; in virtio_blk_fuzz() 120 Size -= vqa.length; in virtio_blk_fuzz()
|
/qemu/block/export/ |
H A D | fuse.c | 415 if (length < 0) { in fuse_getattr() 433 .st_size = length, in fuse_getattr() 580 int64_t length; in fuse_read() local 595 if (length < 0) { in fuse_read() 600 if (offset + size > length) { in fuse_read() 601 size = length - offset; in fuse_read() 627 int64_t length; in fuse_write() local 646 if (length < 0) { in fuse_write() 695 length = MIN(length, blk_len - offset); in fuse_fallocate() 739 length -= size; in fuse_fallocate() [all …]
|
/qemu/ui/ |
H A D | shader.c | 86 GLint status, length; in qemu_gl_create_compile_shader() local 95 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &length); in qemu_gl_create_compile_shader() 96 errmsg = g_malloc(length); in qemu_gl_create_compile_shader() 97 glGetShaderInfoLog(shader, length, &length, errmsg); in qemu_gl_create_compile_shader() 110 GLint status, length; in qemu_gl_create_link_program() local 120 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &length); in qemu_gl_create_link_program() 121 errmsg = g_malloc(length); in qemu_gl_create_link_program() 122 glGetProgramInfoLog(program, length, &length, errmsg); in qemu_gl_create_link_program()
|
/qemu/target/loongarch/ |
H A D | gdbstub.c | 65 int length = 0; in loongarch_cpu_gdb_write_register() local 77 length = read_length; in loongarch_cpu_gdb_write_register() 80 length = read_length; in loongarch_cpu_gdb_write_register() 82 return length; in loongarch_cpu_gdb_write_register() 104 int length = 0; in loongarch_gdb_set_fpu() local 108 length = 8; in loongarch_gdb_set_fpu() 111 length = 1; in loongarch_gdb_set_fpu() 114 length = 4; in loongarch_gdb_set_fpu() 116 return length; in loongarch_gdb_set_fpu()
|
/qemu/hw/i386/ |
H A D | e820_memory_layout.c | 16 int e820_add_entry(uint64_t address, uint64_t length, uint32_t type) in e820_add_entry() argument 21 e820_table[e820_entries].length = cpu_to_le64(length); in e820_add_entry() 33 bool e820_get_entry(int idx, uint32_t type, uint64_t *address, uint64_t *length) in e820_get_entry() argument 37 *length = le64_to_cpu(e820_table[idx].length); in e820_get_entry()
|