/qemu/linux-user/ |
H A D | uaccess.c | 8 void *lock_user(int type, abi_ulong guest_addr, ssize_t len, bool copy) in lock_user() 28 void unlock_user(void *host_ptr, abi_ulong guest_addr, ssize_t len) in unlock_user() 48 ssize_t len = target_strlen(guest_addr); in lock_user_string() local 59 int copy_from_user(void *hptr, abi_ulong gaddr, ssize_t len) in copy_from_user() 73 int copy_to_user(abi_ulong gaddr, void *hptr, ssize_t len) in copy_to_user() 94 size_t max_len, len; in target_strlen() local
|
H A D | semihost.c | 26 int qemu_semihosting_console_read(CPUState *cs, void *buf, int len) in qemu_semihosting_console_read() 47 int qemu_semihosting_console_write(void *buf, int len) in qemu_semihosting_console_write()
|
/qemu/util/ |
H A D | bufferiszero.c | 30 buffer_zero_int(const void *buf, size_t len) in buffer_zero_int() 73 buffer_zero_sse2(const void *buf, size_t len) in buffer_zero_sse2() 104 buffer_zero_sse4(const void *buf, size_t len) in buffer_zero_sse4() 132 buffer_zero_avx2(const void *buf, size_t len) in buffer_zero_avx2() 161 buffer_zero_avx512(const void *buf, size_t len) in buffer_zero_avx512() 216 unsigned len; in select_accel_cpuinfo() member 259 static bool select_accel_fn(const void *buf, size_t len) in select_accel_fn() 278 bool buffer_is_zero(const void *buf, size_t len) in buffer_is_zero()
|
H A D | cacheflush.c | 79 size_t len = sizeof(size); in sys_cache_info() local 90 size_t len = sizeof(size); in sys_cache_info() local 242 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range() 260 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range() 308 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range() 318 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range() 358 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range() 369 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range()
|
H A D | buffer.c | 34 static size_t buffer_req_size(Buffer *buffer, size_t len) in buffer_req_size() 40 static void buffer_adj_size(Buffer *buffer, size_t len) in buffer_adj_size() 91 void buffer_reserve(Buffer *buffer, size_t len) in buffer_reserve() 125 void buffer_append(Buffer *buffer, const void *data, size_t len) in buffer_append() 131 void buffer_advance(Buffer *buffer, size_t len) in buffer_advance()
|
H A D | guest-random.c | 24 static int glib_random_bytes(void *buf, size_t len) in glib_random_bytes() 46 int qemu_guest_getrandom(void *buf, size_t len, Error **errp) in qemu_guest_getrandom() 65 void qemu_guest_getrandom_nofail(void *buf, size_t len) in qemu_guest_getrandom_nofail()
|
H A D | crc-ccitt.c | 105 uint16_t crc_ccitt(uint16_t crc, uint8_t const *buffer, size_t len) in crc_ccitt() 121 uint16_t crc_ccitt_false(uint16_t crc, uint8_t const *buffer, size_t len) in crc_ccitt_false()
|
/qemu/include/sysemu/ |
H A D | dma.h | 73 dma_addr_t addr, dma_addr_t len, in dma_memory_valid() 83 void *buf, dma_addr_t len, in dma_memory_rw_relaxed() 93 void *buf, dma_addr_t len) in dma_memory_read_relaxed() 103 dma_addr_t len) in dma_memory_write_relaxed() 125 void *buf, dma_addr_t len, in dma_memory_rw() 147 void *buf, dma_addr_t len, in dma_memory_read() 168 const void *buf, dma_addr_t len, in dma_memory_write() 206 dma_addr_t addr, dma_addr_t *len, in dma_memory_map() 233 void *buffer, dma_addr_t len, in dma_memory_unmap() 282 dma_addr_t len; member
|
/qemu/semihosting/ |
H A D | uaccess.c | 15 target_ulong len, bool copy) in uaccess_lock_user() 30 size_t len = 0; in uaccess_strlen_user() local 77 ssize_t len = uaccess_strlen_user(env, addr); in uaccess_lock_user_string() local 85 target_ulong addr, target_ulong len) in uaccess_unlock_user()
|
/qemu/hw/pci/ |
H A D | pci_host.c | 77 uint32_t limit, uint32_t val, uint32_t len) in pci_host_config_write_common() 100 uint32_t limit, uint32_t len) in pci_host_config_read_common() 126 void pci_data_write(PCIBus *s, uint32_t addr, uint32_t val, unsigned len) in pci_data_write() 142 uint32_t pci_data_read(PCIBus *s, uint32_t addr, unsigned len) in pci_data_read() 159 uint64_t val, unsigned len) in pci_host_config_write() 172 unsigned len) in pci_host_config_read() 183 uint64_t val, unsigned len) in pci_host_data_write() 192 hwaddr addr, unsigned len) in pci_host_data_read()
|
/qemu/hw/usb/ |
H A D | desc.c | 10 bool msos, uint8_t *dest, size_t len) in usb_desc_device() 55 uint8_t *dest, size_t len) in usb_desc_device_qualifier() 80 uint8_t *dest, size_t len) in usb_desc_config() 128 uint8_t *dest, size_t len) in usb_desc_iface_group() 163 uint8_t *dest, size_t len) in usb_desc_iface() 205 uint8_t *dest, size_t len) in usb_desc_endpoint() 250 int usb_desc_other(const USBDescOther *desc, uint8_t *dest, size_t len) in usb_desc_other() 283 static int usb_desc_cap_super(const USBDesc *desc, uint8_t *dest, size_t len) in usb_desc_cap_super() 324 static int usb_desc_bos(const USBDesc *desc, uint8_t *dest, size_t len) in usb_desc_bos() 592 int usb_desc_string(USBDevice *dev, int index, uint8_t *dest, size_t len) in usb_desc_string() [all …]
|
/qemu/bsd-user/ |
H A D | uaccess.c | 11 abi_long copy_from_user(void *hptr, abi_ulong gaddr, size_t len) in copy_from_user() 26 abi_long copy_to_user(abi_ulong gaddr, void *hptr, size_t len) in copy_to_user() 46 int max_len, len; in target_strlen() local
|
/qemu/accel/tcg/ |
H A D | watchpoint.c | 37 vaddr addr, vaddr len) in watchpoint_address_matches() 52 int cpu_watchpoint_address_matches(CPUState *cpu, vaddr addr, vaddr len) in cpu_watchpoint_address_matches() 66 void cpu_check_watchpoint(CPUState *cpu, vaddr addr, vaddr len, in cpu_check_watchpoint()
|
/qemu/pc-bios/optionrom/ |
H A D | optrom_fw_cfg.h | 41 void bios_cfg_read_entry_io(void *buf, uint16_t entry, uint32_t len) in bios_cfg_read_entry_io() 52 void bios_cfg_read_entry_dma(void *buf, uint16_t entry, uint32_t len) in bios_cfg_read_entry_dma() 72 void bios_cfg_read_entry(void *buf, uint16_t entry, uint32_t len, in bios_cfg_read_entry()
|
/qemu/include/qemu/ |
H A D | pmem.h | 20 pmem_memcpy_persist(void *pmemdest, const void *src, size_t len) in pmem_memcpy_persist() 29 pmem_persist(const void *addr, size_t len) in pmem_persist()
|
/qemu/tests/qtest/libqos/ |
H A D | i2c.c | 13 void qi2c_send(QI2CDevice *i2cdev, const uint8_t *buf, uint16_t len) in qi2c_send() 18 void qi2c_recv(QI2CDevice *i2cdev, uint8_t *buf, uint16_t len) in qi2c_recv() 24 uint8_t *buf, uint16_t len) in i2c_read_block() 31 const uint8_t *buf, uint16_t len) in i2c_write_block()
|
H A D | fw_cfg.c | 26 void qfw_cfg_read_data(QFWCFG *fw_cfg, void *data, size_t len) in qfw_cfg_read_data() 31 void qfw_cfg_get(QFWCFG *fw_cfg, uint16_t key, void *data, size_t len) in qfw_cfg_get() 93 uint32_t len = be32_to_cpu(pdir_entry->size); in qfw_cfg_get_file() local 107 static void mm_fw_cfg_read(QFWCFG *fw_cfg, void *data, size_t len) in mm_fw_cfg_read() 139 static void io_fw_cfg_read(QFWCFG *fw_cfg, void *data, size_t len) in io_fw_cfg_read()
|
/qemu/replay/ |
H A D | replay-random.c | 17 void replay_save_random(int ret, void *buf, size_t len) in replay_save_random() 27 int replay_read_random(void *buf, size_t len) in replay_read_random()
|
/qemu/ui/ |
H A D | vnc-auth-sasl.c | 255 static int protocol_client_auth_sasl_step(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_step() 342 static int protocol_client_auth_sasl_step_len(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_step_len() 376 static int protocol_client_auth_sasl_start(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_start() 457 static int protocol_client_auth_sasl_start_len(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_start_len() 474 static int protocol_client_auth_sasl_mechname(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_mechname() 509 static int protocol_client_auth_sasl_mechname_len(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_sasl_mechname_len()
|
/qemu/crypto/ |
H A D | block.c | 35 size_t len) in qcrypto_block_has_format() 143 size_t *len, in qcrypto_block_calculate_payload_offset() 205 size_t len, in qcrypto_block_decrypt() 215 size_t len, in qcrypto_block_encrypt() 365 size_t len, in do_qcrypto_block_cipher_encdec() 418 size_t len, in qcrypto_block_cipher_decrypt_helper() 433 size_t len, in qcrypto_block_cipher_encrypt_helper() 445 size_t len, in qcrypto_block_decrypt_helper() 464 size_t len, in qcrypto_block_encrypt_helper()
|
/qemu/hw/pci-host/ |
H A D | xen_igd_pt.c | 35 uint8_t len; member 49 static void host_pci_config_read(int pos, int len, uint32_t *val, Error **errp) in host_pci_config_read() 85 int pos, len; in igd_pt_i440fx_realize() local
|
/qemu/hw/misc/ |
H A D | pc-testdev.c | 67 unsigned len) in test_irq_line_write() 84 unsigned len) in test_ioport_write() 94 static uint64_t test_ioport_read(void *opaque, hwaddr addr, unsigned len) in test_ioport_read() 125 unsigned len) in test_flush_page_write() 147 static uint64_t test_iomem_read(void *opaque, hwaddr addr, unsigned len) in test_iomem_read() 157 unsigned len) in test_iomem_write()
|
/qemu/hw/nvram/ |
H A D | mac_nvram.c | 105 int64_t len = blk_getlength(s->blk); in macio_nvram_realizefn() local 170 int len) in pmac_format_nvram_partition_of() 186 int len) in pmac_format_nvram_partition_osx() 207 void pmac_format_nvram_partition(MacIONVRAMState *nvr, int len) in pmac_format_nvram_partition()
|
/qemu/hw/i386/kvm/ |
H A D | xen_xenstore.c | 541 unsigned int len) in xs_write() 578 unsigned int len) in xs_mkdir() 649 unsigned int len) in xs_directory() 833 unsigned int len) in xs_get_perms() 864 unsigned int len) in xs_set_perms() 914 unsigned int len) in xs_watch() 964 unsigned int len) in xs_unwatch() 1007 unsigned int len) in xs_reset_watches() 1022 unsigned int len) in xs_priv() 1029 unsigned int len) in xs_unimpl() [all …]
|
/qemu/hw/dma/ |
H A D | pl330.c | 185 uint32_t len; member 320 unsigned int b, i, len; in pl330_hexdump() local 653 uint8_t *args, int len) in pl330_dmaend() 870 uint8_t *args, int len) in pl330_dmanop() 939 uint8_t *args, int len) in pl330_dmastp() 960 uint8_t *args, int len) in pl330_dmastz() 976 uint8_t *args, int len) in pl330_dmawfe() 1016 uint8_t *args, int len) in pl330_dmawfp() 1061 uint8_t *args, int len) in pl330_dmawmb() 1191 int len = q->len - (q->addr & (q->len - 1)); in pl330_exec_cycle() local [all …]
|