/qemu/disas/ |
H A D | capstone.c | 183 size_t csize = 0; in cap_disas_target() local 191 size_t tsize = MIN(sizeof(cap_buf) - csize, size); in cap_disas_target() 194 if (info->read_memory_func(pc + csize, cap_buf + csize, tsize, info) == 0) { in cap_disas_target() 195 csize += tsize; in cap_disas_target() 198 while (cs_disasm_iter(handle, &cbuf, &csize, &pc, insn)) { in cap_disas_target() 208 if (csize != 0) { in cap_disas_target() 209 memmove(cap_buf, cbuf, csize); in cap_disas_target() 218 if (csize != 0) { in cap_disas_target() 272 size_t csize = 0; in cap_disas_monitor() local 289 uint64_t epc = QEMU_ALIGN_UP(pc + csize + 1, 1024); in cap_disas_monitor() [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 284 | 61 echo "== cluster size $csize" 74 …$QEMU_IO -c "write -P 0x9 $csize 1" $QEMU_IMG_EXTRA_ARGS $TEST_IMG | _filter_qemu_io | _filter_tes… 88 for csize in 512 2048 32768 90 …RET -o "encrypt.format=luks,encrypt.key-secret=sec0,encrypt.iter-time=10,cluster_size=$csize" $size
|
H A D | 212 | 180 for csize in [ 1234, 128, 4294967296, 9223372036854775808, 185 'cluster-size': csize })
|
H A D | 206 | 257 for csize in [ 1234, 128, 4194304, 0 ]: 261 'cluster-size': csize })
|
/qemu/tests/qtest/ |
H A D | tpm-crb-test.c | 28 uint32_t csize = readl(TPM_CRB_ADDR_BASE + A_CRB_CTRL_CMD_SIZE); in tpm_crb_test() local 48 g_assert_cmpint(csize, >=, 128); in tpm_crb_test()
|
/qemu/block/ |
H A D | qcow.c | 599 int ret, csize; in decompress_cluster() local 604 csize = cluster_offset >> (63 - s->cluster_bits); in decompress_cluster() 605 csize &= (s->cluster_size - 1); in decompress_cluster() 607 ret = bdrv_co_pread(bs->file, coffset, csize, s->cluster_data, 0); in decompress_cluster() 611 s->cluster_data, csize) < 0) { in decompress_cluster()
|
H A D | qcow2-refcount.c | 1183 int csize; in qcow2_free_any_cluster() local 1185 qcow2_parse_compressed_l2_entry(bs, l2_entry, &coffset, &csize); in qcow2_free_any_cluster() 1186 qcow2_free_clusters(bs, coffset, csize, type); in qcow2_free_any_cluster() 1325 int csize; in qcow2_update_snapshot_refcount() local 1328 &coffset, &csize); in qcow2_update_snapshot_refcount() 1330 bs, coffset, csize, in qcow2_update_snapshot_refcount() 1687 int csize; in check_refcounts_l2() local 1730 qcow2_parse_compressed_l2_entry(bs, l2_entry, &coffset, &csize); in check_refcounts_l2() 1732 bs, res, refcount_table, refcount_table_size, coffset, csize); in check_refcounts_l2()
|
H A D | qcow2.h | 945 uint64_t *coffset, int *csize);
|
H A D | qcow2.c | 4834 int ret = 0, csize; in qcow2_co_preadv_compressed() local 4839 qcow2_parse_compressed_l2_entry(bs, l2_entry, &coffset, &csize); in qcow2_co_preadv_compressed() 4841 buf = g_try_malloc(csize); in qcow2_co_preadv_compressed() 4849 ret = bdrv_co_pread(bs->file, coffset, csize, buf, 0); in qcow2_co_preadv_compressed() 4854 if (qcow2_co_decompress(bs, out_buf, s->cluster_size, buf, csize) < 0) { in qcow2_co_preadv_compressed()
|
H A D | qcow2-cluster.c | 2550 uint64_t *coffset, int *csize) in qcow2_parse_compressed_l2_entry() argument 2560 *csize = nb_csectors * QCOW2_COMPRESSED_SECTOR_SIZE - in qcow2_parse_compressed_l2_entry()
|
/qemu/hw/sd/ |
H A D | sd.c | 564 uint32_t csize; in sd_set_csd() local 572 csize = (size >> (CMULT_SHIFT + hwblock_shift)) - 1; in sd_set_csd() 583 ((csize >> 10) & 0x03); in sd_set_csd() 585 ((csize >> 2) & 0xff); in sd_set_csd() 587 ((csize << 6) & 0xc0); in sd_set_csd()
|