Searched refs:TEST_IMAGE_SIZE (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | virtio-blk-test.c | 20 #define TEST_IMAGE_SIZE (64 * 1024 * 1024) macro 54 ret = ftruncate(fd, TEST_IMAGE_SIZE); in drive_create() 134 g_assert_cmpint(capacity, ==, TEST_IMAGE_SIZE / 512); in test_basic() 371 g_assert_cmpint(capacity, ==, TEST_IMAGE_SIZE / 512); in indirect() 437 int n_size = TEST_IMAGE_SIZE / 2; in config() 449 g_assert_cmpint(capacity, ==, TEST_IMAGE_SIZE / 512); in config() 470 int n_size = TEST_IMAGE_SIZE / 2; in msix() 496 g_assert_cmpint(capacity, ==, TEST_IMAGE_SIZE / 512); in msix() 606 g_assert_cmpint(capacity, ==, TEST_IMAGE_SIZE / 512); in idx() 753 int n_size = TEST_IMAGE_SIZE / 2; in resize()
|
H A D | vhost-user-blk-test.c | 24 #define TEST_IMAGE_SIZE (64 * 1024 * 1024) macro 167 dwz_hdr.sector = TEST_IMAGE_SIZE / 512 + 1; in test_invalid_discard_write_zeroes() 236 g_assert_cmpint(capacity, ==, TEST_IMAGE_SIZE / 512); in test_basic() 480 g_assert_cmpint(capacity, ==, TEST_IMAGE_SIZE / 512); in indirect() 576 g_assert_cmpint(capacity, ==, TEST_IMAGE_SIZE / 512); in idx() 830 ret = ftruncate(fd, TEST_IMAGE_SIZE); in drive_create()
|
H A D | fdc-test.c | 34 #define TEST_IMAGE_SIZE 1440 * 1024 macro 612 ret = ftruncate(fd, TEST_IMAGE_SIZE); in main()
|
H A D | ide-test.c | 38 #define TEST_IMAGE_SIZE ((130 * 16 * 63) * 512) macro 406 const uint64_t bad_range = trim_range_le(TEST_IMAGE_SIZE / 512 - 1, 2); in test_bmdma_trim() 1115 ret = ftruncate(fd, TEST_IMAGE_SIZE); in main()
|
H A D | ufs-test.c | 19 #define TEST_IMAGE_SIZE (64 * 1024 * 1024) macro 552 ret = ftruncate(fd, TEST_IMAGE_SIZE); in drive_create()
|
/openbmc/qemu/tests/qtest/fuzz/ |
H A D | virtio_blk_fuzz.c | 24 #define TEST_IMAGE_SIZE (64 * 1024 * 1024) macro 164 ret = ftruncate(fd, TEST_IMAGE_SIZE); in drive_create()
|