Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-image-locking.c34 static BlockBackend *open_image(const char *path, in open_image() function
87 blk1 = open_image(img_path, perm, shared_perm, &error_abort); in test_image_locking_basic()
93 blk2 = open_image(img_path, perm | BLK_PERM_RESIZE, shared_perm, NULL); in test_image_locking_basic()
98 blk3 = open_image(img_path, perm, BLK_PERM_WRITE_UNCHANGED, NULL); in test_image_locking_basic()
110 blk3 = open_image(img_path, perm, BLK_PERM_WRITE_UNCHANGED, &error_abort); in test_image_locking_basic()
128 blk1 = open_image(img_path, perm, shared_perm, &error_abort); in test_set_perm_abort()
131 blk2 = open_image(img_path, perm, shared_perm, &error_abort); in test_set_perm_abort()