/qemu/linux-user/ |
H A D | gen-vdso.c | 60 long total_len; in main() local 116 total_len = ftell(inf); in main() 119 buf = malloc(total_len); in main() 125 if (fread(buf, 1, total_len, inf) != total_len) { in main() 143 for (long i = 0; i < total_len; ++i) { in main()
|
H A D | syscall.c | 2964 abi_ulong total_len, max_len; in lock_iovec() local 2994 total_len = 0; in lock_iovec() 3023 if (len > max_len - total_len) { in lock_iovec() 3024 len = max_len - total_len; in lock_iovec() 3028 total_len += len; in lock_iovec()
|
/qemu/hw/net/ |
H A D | spapr_llan.c | 689 unsigned total_len; in h_send_logical_lan() local 711 total_len = 0; in h_send_logical_lan() 717 total_len += VLAN_BD_LEN(bufs[i]); in h_send_logical_lan() 721 trace_spapr_vlan_h_send_logical_lan_total(nbufs, total_len); in h_send_logical_lan() 723 if (total_len == 0) { in h_send_logical_lan() 727 if (total_len > MAX_PACKET_SIZE) { in h_send_logical_lan() 732 lbuf = g_malloc(total_len); in h_send_logical_lan() 744 qemu_send_packet(qemu_get_queue(dev->nic), lbuf, total_len); in h_send_logical_lan()
|
H A D | ne2000.c | 175 unsigned int total_len, next, avail, len, index, mcast_idx; in ne2000_receive() local 218 total_len = size + 4; in ne2000_receive() 220 next = index + ((total_len + 4 + 255) & ~0xff); in ne2000_receive() 231 p[2] = total_len; in ne2000_receive() 232 p[3] = total_len >> 8; in ne2000_receive()
|
H A D | trace-events | 313 spapr_vlan_h_send_logical_lan_total(int nbufs, unsigned total_len) "%d buffers, total length 0x%x"
|
/qemu/bsd-user/freebsd/ |
H A D | os-syscall.c | 122 abi_ulong total_len, max_len; in lock_iovec() local 149 total_len = 0; in lock_iovec() 181 if (len > max_len - total_len) { in lock_iovec() 182 len = max_len - total_len; in lock_iovec() 186 total_len += len; in lock_iovec()
|
/qemu/system/ |
H A D | device_tree.c | 414 int ret, i, total_len = 0; in qemu_fdt_setprop_string_array() local 417 total_len += strlen(array[i]) + 1; in qemu_fdt_setprop_string_array() 419 p = str = g_malloc0(total_len); in qemu_fdt_setprop_string_array() 426 ret = qemu_fdt_setprop(fdt, node_path, prop, str, total_len); in qemu_fdt_setprop_string_array()
|
/qemu/hw/block/ |
H A D | pflash_cfi01.c | 807 uint64_t total_len; in pflash_cfi01_realize() local 823 total_len = pfl->sector_len * pfl->nb_blocs; in pflash_cfi01_realize() 829 pfl->name, total_len, errp); in pflash_cfi01_realize() 851 total_len, errp)) { in pflash_cfi01_realize()
|
/qemu/audio/ |
H A D | ossaudio.c | 435 size_t total_len; in oss_write() local 438 total_len = len; in oss_write() 447 return total_len; in oss_write()
|
/qemu/gdbstub/ |
H A D | gdbstub.c | 1701 unsigned long len, total_len, addr; in handle_query_xfer_features() local 1726 total_len = strlen(xml); in handle_query_xfer_features() 1727 if (addr > total_len) { in handle_query_xfer_features() 1736 if (len < total_len - addr) { in handle_query_xfer_features() 1741 gdb_memtox(gdbserver_state.str_buf, xml + addr, total_len - addr); in handle_query_xfer_features()
|
/qemu/hw/usb/ |
H A D | dev-mtp.c | 1756 uint64_t total_len; in usb_mtp_get_data() local 1765 total_len = cpu_to_le32(container->length) - sizeof(mtp_container); in usb_mtp_get_data() 1768 if (total_len < MTP_WRITE_BUF_SZ) { in usb_mtp_get_data() 1769 usb_mtp_realloc(d, total_len); in usb_mtp_get_data() 1770 d->length += total_len; in usb_mtp_get_data()
|
/qemu/hw/scsi/ |
H A D | spapr_vscsi.c | 237 int total_len = sizeof(iu->srp.rsp); in vscsi_send_rsp() local 277 total_len += sense_data_len; in vscsi_send_rsp() 283 vscsi_send_iu(s, req, total_len, VIOSRP_SRP_FORMAT); in vscsi_send_rsp()
|
/qemu/disas/ |
H A D | m68k.c | 4677 unsigned int total_len, unsigned int start, unsigned int len) in get_field() argument 4686 cur_byte = (total_len / FLOATFORMAT_CHAR_BIT) - cur_byte - 1; in get_field() 4845 unsigned int total_len, unsigned int start, unsigned int len, in put_field() argument 4854 cur_byte = (total_len / FLOATFORMAT_CHAR_BIT) - cur_byte - 1; in put_field()
|