Home
last modified time | relevance | path

Searched refs:filesize (Results 1 – 5 of 5) sorted by relevance

/qemu/tests/qtest/
H A Dfw_cfg-test.c183 size_t filesize; in test_fw_cfg_reboot_timeout() local
188 filesize = qfw_cfg_get_file(fw_cfg, "etc/boot-fail-wait", in test_fw_cfg_reboot_timeout()
190 g_assert_cmpint(filesize, ==, sizeof(reboot_timeout)); in test_fw_cfg_reboot_timeout()
202 size_t filesize; in test_fw_cfg_no_reboot_timeout() local
208 filesize = qfw_cfg_get_file(fw_cfg, "etc/boot-fail-wait", in test_fw_cfg_no_reboot_timeout()
210 g_assert_cmpint(filesize, ==, sizeof(reboot_timeout)); in test_fw_cfg_no_reboot_timeout()
222 size_t filesize; in test_fw_cfg_splash_time() local
227 filesize = qfw_cfg_get_file(fw_cfg, "etc/boot-menu-wait", in test_fw_cfg_splash_time()
229 g_assert_cmpint(filesize, ==, sizeof(splash_time)); in test_fw_cfg_splash_time()
/qemu/hw/misc/
H A Dsifive_u_otp.c216 int filesize; in sifive_u_otp_realize() local
220 filesize = SIFIVE_U_OTP_NUM_FUSES * SIFIVE_U_OTP_FUSE_WORD; in sifive_u_otp_realize()
221 if (blk_getlength(blk) < filesize) { in sifive_u_otp_realize()
236 if (blk_pread(s->blk, 0, filesize, s->fuse, 0) < 0) { in sifive_u_otp_realize()
/qemu/tests/qtest/libqos/
H A Dfw_cfg.c83 size_t filesize = 0; in qfw_cfg_get_file() local
95 filesize = len; in qfw_cfg_get_file()
104 return filesize; in qfw_cfg_get_file()
/qemu/tests/qemu-iotests/
H A Dqed.py55 self.filesize = f.tell()
106 table[index] = qed.filesize + random.randint(0, 100 * 1024 * 1024 * 1024 * 1024)
186 out.seek(qed.filesize - 1)
/qemu/block/
H A Dvmdk.c2216 vmdk_init_extent(BlockBackend *blk, int64_t filesize, bool flat, bool compress, in vmdk_init_extent() argument
2226 ret = blk_co_truncate(blk, filesize, false, PREALLOC_MODE_OFF, 0, errp); in vmdk_init_extent()
2242 header.capacity = filesize / BDRV_SECTOR_SIZE; in vmdk_init_extent()
2246 grains = DIV_ROUND_UP(filesize / BDRV_SECTOR_SIZE, header.granularity); in vmdk_init_extent()
2328 vmdk_create_extent(const char *filename, int64_t filesize, bool flat, in vmdk_create_extent() argument
2350 ret = vmdk_init_extent(blk, filesize, flat, compress, zeroed_grain, errp); in vmdk_create_extent()