Home
last modified time | relevance | path

Searched refs:blk1 (Results 1 – 10 of 10) 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/linux/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c56 xfs_da_state_blk_t *blk1,
1722 struct xfs_da_state_blk *blk1, in xfs_attr3_leaf_rebalance() argument
1741 ASSERT(blk1->magic == XFS_ATTR_LEAF_MAGIC); in xfs_attr3_leaf_rebalance()
1743 leaf1 = blk1->bp->b_addr; in xfs_attr3_leaf_rebalance()
1759 if (xfs_attr3_leaf_order(blk1->bp, &ichdr1, blk2->bp, &ichdr2)) { in xfs_attr3_leaf_rebalance()
1760 swap(blk1, blk2); in xfs_attr3_leaf_rebalance()
1765 leaf1 = blk1->bp->b_addr; in xfs_attr3_leaf_rebalance()
1778 state->inleaf = xfs_attr3_leaf_figure_balance(state, blk1, &ichdr1, in xfs_attr3_leaf_rebalance()
1831 xfs_attr3_leaf_compact(args, &ichdr1, blk1->bp); in xfs_attr3_leaf_rebalance()
1842 xfs_trans_log_buf(args->trans, blk1->bp, 0, args->geo->blksize - 1); in xfs_attr3_leaf_rebalance()
[all …]
H A Dxfs_da_btree.c651 struct xfs_da_state_blk *blk1, in xfs_da3_root_split() argument
685 oldroot = blk1->bp->b_addr; in xfs_da3_root_split()
734 bp->b_ops = blk1->bp->b_ops; in xfs_da3_root_split()
735 xfs_trans_buf_copy_type(bp, blk1->bp); in xfs_da3_root_split()
736 blk1->bp = bp; in xfs_da3_root_split()
737 blk1->blkno = blkno; in xfs_da3_root_split()
751 btree[0].hashval = cpu_to_be32(blk1->hashval); in xfs_da3_root_split()
752 btree[0].before = cpu_to_be32(blk1->blkno); in xfs_da3_root_split()
761 ASSERT(blk1->blkno >= args->geo->leafblk && in xfs_da3_root_split()
762 blk1->blkno < args->geo->freeblk); in xfs_da3_root_split()
[all …]
H A Dxfs_dir2_node.c30 xfs_da_state_blk_t *blk1,
1063 xfs_da_state_blk_t *blk1, /* first btree block */ in xfs_dir2_leafn_rebalance() argument
1087 swap_blocks = xfs_dir2_leafn_order(dp, blk1->bp, blk2->bp); in xfs_dir2_leafn_rebalance()
1089 swap(blk1, blk2); in xfs_dir2_leafn_rebalance()
1091 leaf1 = blk1->bp->b_addr; in xfs_dir2_leafn_rebalance()
1130 xfs_dir3_leafn_moveents(args, blk1->bp, &hdr1, ents1, in xfs_dir2_leafn_rebalance()
1135 blk1->bp, &hdr1, ents1, in xfs_dir2_leafn_rebalance()
1144 xfs_dir3_leaf_log_header(args, blk1->bp); in xfs_dir2_leafn_rebalance()
1147 xfs_dir3_leaf_check(dp, blk1->bp); in xfs_dir2_leafn_rebalance()
1158 state->inleaf = swap_blocks ^ (blk1->index <= hdr1.count); in xfs_dir2_leafn_rebalance()
[all …]
/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.c1361 BlockBackend *blk1, *blk2; in img_compare() local
1468 blk1 = img_open(image_opts, filename1, fmt1, flags, writethrough, quiet, in img_compare()
1470 if (!blk1) { in img_compare()
1481 bs1 = blk_bs(blk1); in img_compare()
1484 buf1 = blk_blockalign(blk1, IO_BUF_SIZE); in img_compare()
1486 total_size1 = blk_getlength(blk1); in img_compare()
1552 ret = blk_pread(blk1, offset, chunk, buf1, 0); in img_compare()
1579 ret = check_empty_sectors(blk1, offset, chunk, in img_compare()
1599 blk_over = blk1; in img_compare()
1638 blk_unref(blk1); in img_compare()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D0411122 blk1 = { 'node-name': 'dest',
1131 self.vm.add_blockdev(self.vm.qmp_to_opts(blk1))
/openbmc/linux/fs/xfs/
H A Dxfs_log_recover.c32 #define BLK_AVG(blk1, blk2) ((blk1+blk2) >> 1) argument