Home
last modified time | relevance | path

Searched refs:TEST_IMAGE_SIZE (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Dvirtio-blk-test.c20 #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 Dvhost-user-blk-test.c24 #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 Dfdc-test.c34 #define TEST_IMAGE_SIZE 1440 * 1024 macro
612 ret = ftruncate(fd, TEST_IMAGE_SIZE); in main()
H A Dide-test.c38 #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 Dufs-test.c19 #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 Dvirtio_blk_fuzz.c24 #define TEST_IMAGE_SIZE (64 * 1024 * 1024) macro
164 ret = ftruncate(fd, TEST_IMAGE_SIZE); in drive_create()