Searched refs:this_chunk_size (Results 1 – 1 of 1) sorted by relevance
2422 size_t this_chunk_size = qemu_get_be32(f); in vhost_load_backend_state() local2426 if (this_chunk_size == 0) { in vhost_load_backend_state()2431 if (transfer_buf_size < this_chunk_size) { in vhost_load_backend_state()2432 transfer_buf = g_realloc(transfer_buf, this_chunk_size); in vhost_load_backend_state()2433 transfer_buf_size = this_chunk_size; in vhost_load_backend_state()2436 if (qemu_get_buffer(f, transfer_buf, this_chunk_size) < in vhost_load_backend_state()2437 this_chunk_size) in vhost_load_backend_state()2445 while (this_chunk_size > 0) { in vhost_load_backend_state()2447 write(write_fd, transfer_pointer, this_chunk_size) in vhost_load_backend_state()2459 assert(write_ret <= this_chunk_size); in vhost_load_backend_state()[all …]