Home
last modified time | relevance | path

Searched refs:file_offset (Results 1 – 9 of 9) sorted by relevance

/qemu/block/
A Dvhdx-endian.c83 d->file_offset = le64_to_cpu(d->file_offset); in vhdx_log_desc_le_import()
94 d->file_offset = cpu_to_le64(d->file_offset); in vhdx_log_desc_le_export()
171 e->file_offset = le64_to_cpu(e->file_offset); in vhdx_region_entry_le_import()
181 e->file_offset = cpu_to_le64(e->file_offset); in vhdx_region_entry_le_export()
A Dvhdx.c1067 s->bat_offset = s->bat_rt.file_offset; in vhdx_open()
1157 if (sinfo->file_offset == 0) { in vhdx_block_translate()
1166 sinfo->file_offset += sinfo->block_offset; in vhdx_block_translate()
1444 if (sinfo.file_offset < (1 * MiB)) { in vhdx_co_writev()
1496 sinfo.file_offset = bat_prior_offset; in vhdx_co_writev()
1765 sinfo.file_offset = data_file_offset + in vhdx_create_bat()
1767 sinfo.file_offset = ROUND_UP(sinfo.file_offset, MiB); in vhdx_create_bat()
1846 s->bat_offset = rt_bat->file_offset; in vhdx_create_new_region_table()
1849 rt_metadata->file_offset = ROUND_UP(rt_bat->file_offset + rt_bat->length, in vhdx_create_new_region_table()
1852 *metadata_offset = rt_metadata->file_offset; in vhdx_create_new_region_table()
[all …]
A Dvhdx-log.c283 if (desc->file_offset % VHDX_LOG_SECTOR_SIZE) { in vhdx_log_desc_is_valid()
422 uint64_t seq, file_offset; in vhdx_log_flush_desc() local
469 file_offset = desc->file_offset; in vhdx_log_flush_desc()
473 ret = bdrv_pwrite_sync(bs->file, file_offset, VHDX_LOG_SECTOR_SIZE, in vhdx_log_flush_desc()
478 file_offset += VHDX_LOG_SECTOR_SIZE; in vhdx_log_flush_desc()
877 uint64_t file_offset; in vhdx_log_write() local
912 file_offset = QEMU_ALIGN_DOWN(offset, VHDX_LOG_SECTOR_SIZE); in vhdx_log_write()
975 new_desc->file_offset = file_offset; in vhdx_log_write()
979 ret = bdrv_co_pread(bs->file, file_offset, VHDX_LOG_SECTOR_SIZE, in vhdx_log_write()
989 ret = bdrv_co_pread(bs->file, file_offset + trailing_length, in vhdx_log_write()
[all …]
A Dvhdx.h154 uint64_t file_offset; /* offset of the object in the file. member
203 uint64_t file_offset; /* file offset to write zeros - multiple member
/qemu/replay/
A Dreplay-snapshot.c25 state->file_offset = ftell(replay_file); in replay_pre_save()
34 fseek(replay_file, state->file_offset, SEEK_SET); in replay_post_load()
61 VMSTATE_UINT64(file_offset, ReplayState),
A Dreplay-internal.h96 uint64_t file_offset; member
/qemu/migration/
A Dmultifd.h90 off_t file_offset; member
A Dfile.c259 data->size, data->file_offset, errp); in multifd_file_recv_data()
A Dram.c3899 data->file_offset = offset; in ram_load_multifd_pages()

Completed in 31 milliseconds