Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-image-locking.c78 BlockBackend *blk1, *blk2, *blk3; in test_image_locking_basic() local
87 blk1 = open_image(img_path, perm, shared_perm, &error_abort); in test_image_locking_basic()
88 g_assert(blk1); in test_image_locking_basic()
106 blk_unref(blk1); in test_image_locking_basic()
119 BlockBackend *blk1, *blk2; in test_set_perm_abort() local
128 blk1 = open_image(img_path, perm, shared_perm, &error_abort); in test_set_perm_abort()
129 g_assert(blk1); in test_set_perm_abort()
141 blk_unref(blk1); in test_set_perm_abort()
H A Dtest-throttle.c740 BlockBackend *blk1, *blk2, *blk3; in test_groups() local
745 blk1 = blk_new(qemu_get_aio_context(), 0, BLK_PERM_ALL); in test_groups()
749 blkp1 = blk_get_public(blk1); in test_groups()
761 throttle_group_register_tgm(tgm1, "bar", blk_get_aio_context(blk1)); in test_groups()
/openbmc/u-boot/test/dm/
H A Dblk.c18 struct udevice *blk1, *blk3, *dev; in dm_test_blk_base() local
25 IF_TYPE_HOST, 1, 512, 2, &blk1)); in dm_test_blk_base()
26 ut_assertok(blk_create_device(blk1, "sandbox_host_blk", "test", in dm_test_blk_base()
32 ut_asserteq_ptr(blk1, dev); in dm_test_blk_base()
38 ut_asserteq_ptr(blk1, dev); in dm_test_blk_base()
/openbmc/qemu/hw/char/
H A Dipoctal232.c183 SCC2698Block *blk1 = &dev->blk[block^1]; in update_irq() local
186 if ((blk0->isr & blk0->imr) || (blk1->isr & blk1->imr)) { in update_irq()
/openbmc/qemu/
H A Dqemu-img.c1340 BlockBackend *blk1, *blk2; in img_compare() local
1463 blk1 = img_open(image_opts, filename1, fmt1, flags, writethrough, quiet, in img_compare()
1465 if (!blk1) { in img_compare()
1476 bs1 = blk_bs(blk1); in img_compare()
1479 buf1 = blk_blockalign(blk1, IO_BUF_SIZE); in img_compare()
1481 total_size1 = blk_getlength(blk1); in img_compare()
1547 ret = blk_pread(blk1, offset, chunk, buf1, 0); in img_compare()
1574 ret = check_empty_sectors(blk1, offset, chunk, in img_compare()
1594 blk_over = blk1; in img_compare()
1633 blk_unref(blk1); in img_compare()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D0411120 blk1 = { 'node-name': 'dest',
1129 self.vm.add_blockdev(self.vm.qmp_to_opts(blk1))