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,
1714 struct xfs_da_state_blk *blk1, in xfs_attr3_leaf_rebalance() argument
1735 leaf1 = blk1->bp->b_addr; in xfs_attr3_leaf_rebalance()
1752 swap(blk1, blk2); in xfs_attr3_leaf_rebalance()
1757 leaf1 = blk1->bp->b_addr; in xfs_attr3_leaf_rebalance()
1857 if (blk1->index > ichdr1.count) { in xfs_attr3_leaf_rebalance()
1862 } else if (blk1->index == ichdr1.count) { in xfs_attr3_leaf_rebalance()
1864 args->index = blk1->index; in xfs_attr3_leaf_rebalance()
1865 args->blkno = blk1->blkno; in xfs_attr3_leaf_rebalance()
1904 struct xfs_da_state_blk *blk1, in xfs_attr3_leaf_figure_balance() argument
[all …]
H A Dxfs_da_btree.c650 struct xfs_da_state_blk *blk1, in xfs_da3_root_split() argument
684 oldroot = blk1->bp->b_addr; in xfs_da3_root_split()
733 bp->b_ops = blk1->bp->b_ops; in xfs_da3_root_split()
735 blk1->bp = bp; in xfs_da3_root_split()
736 blk1->blkno = blkno; in xfs_da3_root_split()
877 struct xfs_da_state_blk *blk1, in xfs_da3_node_rebalance() argument
896 node1 = blk1->bp->b_addr; in xfs_da3_node_rebalance()
960 xfs_trans_log_buf(tp, blk1->bp, in xfs_da3_node_rebalance()
978 xfs_trans_log_buf(tp, blk1->bp, in xfs_da3_node_rebalance()
993 node1 = blk1->bp->b_addr; in xfs_da3_node_rebalance()
[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()
1163 blk2->index = 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.c1365 BlockBackend *blk1, *blk2; in img_compare() local
1474 if (!blk1) { in img_compare()
1485 bs1 = blk_bs(blk1); in img_compare()
1488 buf1 = blk_blockalign(blk1, IO_BUF_SIZE); in img_compare()
1490 total_size1 = blk_getlength(blk1); in img_compare()
1603 blk_over = blk1; in img_compare()
1642 blk_unref(blk1); in img_compare()
5084 BlockBackend *blk1 = NULL, *blk2 = NULL; in img_dd() local
5202 if (!blk1) { in img_dd()
5237 size = blk_getlength(blk1); in img_dd()
[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