Home
last modified time | relevance | path

Searched refs:extent_size (Results 1 – 3 of 3) sorted by relevance

/qemu/block/
H A Dbochs.c80 uint32_t extent_size; member
173 s->extent_size = le32_to_cpu(bochs.extent); in bochs_open()
174 if (s->extent_size < BDRV_SECTOR_SIZE) { in bochs_open()
179 } else if (!is_power_of_2(s->extent_size)) { in bochs_open()
181 s->extent_size); in bochs_open()
184 } else if (s->extent_size > 0x800000) { in bochs_open()
186 s->extent_size); in bochs_open()
192 s->extent_size / BDRV_SECTOR_SIZE)) in bochs_open()
222 extent_index = offset / s->extent_size; in seek_to_sector()
223 extent_offset = (offset % s->extent_size) / 512; in seek_to_sector()
H A Dvmdk.c2446 int64_t extent_size; in vmdk_co_do_create() local
2522 extent_size = split_size; in vmdk_co_do_create()
2524 extent_size = size; in vmdk_co_do_create()
2527 created_size = extent_size; in vmdk_co_do_create()
2584 int64_t cur_size = MIN(size - created_size, extent_size); in vmdk_co_do_create()
/qemu/linux-user/
H A Dsyscall.c4661 int i, extent_size = thunk_type_size(extent_arg_type, 0); in do_ioctl_fs_ioc_fiemap() local
4701 target_size_out += fm->fm_mapped_extents * extent_size; in do_ioctl_fs_ioc_fiemap()
4715 p += extent_size; in do_ioctl_fs_ioc_fiemap()