/openbmc/qemu/block/ |
H A D | vhdx-log.c | 428 buffer = qemu_blockalign(bs, VHDX_LOG_SECTOR_SIZE); in vhdx_log_flush_desc() 504 data = qemu_blockalign(bs, VHDX_LOG_SECTOR_SIZE); in vhdx_log_flush() 636 buffer = qemu_blockalign(bs, VHDX_LOG_SECTOR_SIZE); in vhdx_validate_log_entry() 767 s->log.hdr = qemu_blockalign(bs, sizeof(VHDXLogEntryHeader)); in vhdx_parse_log() 960 buffer = qemu_blockalign(bs, total_length); in vhdx_log_write() 970 merged_sector = qemu_blockalign(bs, VHDX_LOG_SECTOR_SIZE); in vhdx_log_write()
|
H A D | parallels-ext.c | 83 buf = qemu_blockalign(bs, s->cluster_size); in parallels_load_bitmap_data() 286 uint8_t *ext_cluster = qemu_blockalign(bs, s->cluster_size); in parallels_read_format_extension()
|
H A D | vhdx.c | 326 buffer = qemu_blockalign(bs_file, VHDX_HEADER_SIZE); in vhdx_write_header() 433 header1 = qemu_blockalign(bs, sizeof(VHDXHeader)); in vhdx_parse_header() 434 header2 = qemu_blockalign(bs, sizeof(VHDXHeader)); in vhdx_parse_header() 436 buffer = qemu_blockalign(bs, VHDX_HEADER_SIZE); in vhdx_parse_header() 534 buffer = qemu_blockalign(bs, VHDX_HEADER_BLOCK_SIZE); in vhdx_open_region_tables() 648 buffer = qemu_blockalign(bs, VHDX_METADATA_TABLE_MAX_SIZE); in vhdx_parse_metadata() 1416 iov1.iov_base = qemu_blockalign(bs, iov1.iov_len); in vhdx_co_writev() 1432 iov2.iov_base = qemu_blockalign(bs, iov2.iov_len); in vhdx_co_writev()
|
H A D | qed-table.c | 84 new_table = qemu_blockalign(s->bs, len_bytes); in qed_write_table()
|
H A D | blkverify.c | 241 buf = qemu_blockalign(bs->file->bs, qiov->size); in blkverify_co_preadv()
|
H A D | qed.c | 118 buf = qemu_blockalign(s->bs, len); in qed_write_header() 237 return qemu_blockalign(s->bs, in qed_alloc_table() 921 qemu_iovec_init_buf(&qiov, qemu_blockalign(s->bs, len), len); in qed_copy_from_backing_file()
|
H A D | parallels.c | 351 void *buf = qemu_blockalign(bs, nb_cow_bytes); in allocate_clusters() 821 buf = qemu_blockalign(bs, s->cluster_size); in parallels_check_duplicate()
|
H A D | io.c | 1499 pad->buf = qemu_blockalign(bs, pad->buf_len); in bdrv_init_padding() 1670 pad->collapse_bounce_buf = qemu_blockalign(bs, pad->collapse_len); in bdrv_create_padded_qiov() 3292 void *qemu_blockalign(BlockDriverState *bs, size_t size) in qemu_blockalign() function 3301 return memset(qemu_blockalign(bs, size), 0, size); in qemu_blockalign0()
|
H A D | block-copy.c | 553 bounce_buffer = qemu_blockalign(s->source->bs, nbytes); in block_copy_do_copy()
|
H A D | qcow.c | 1064 buf = qemu_blockalign(bs, s->cluster_size); in qcow_co_pwritev_compressed()
|
H A D | quorum.c | 617 acb->qcrs[i].buf = qemu_blockalign(s->children[i]->bs, acb->qiov->size); in read_quorum_children()
|
H A D | qcow2-refcount.c | 1956 uint64_t *l2_table = qemu_blockalign(bs, s->cluster_size); in check_oflag_copied() 3369 void *new_refblock = qemu_blockalign(bs->file->bs, s->cluster_size); in qcow2_change_refcount_order()
|
H A D | qcow2.c | 2933 buf = qemu_blockalign(bs, buflen); in qcow2_update_header() 4688 buf = qemu_blockalign(bs, s->cluster_size); in qcow2_co_pwritev_compressed_task() 4842 out_buf = qemu_blockalign(bs, s->cluster_size); in qcow2_co_preadv_compressed()
|
H A D | mirror.c | 1594 bounce_buf = qemu_blockalign(bs, bytes); in bdrv_mirror_top_pwritev()
|
H A D | block-backend.c | 2343 return qemu_blockalign(blk ? blk_bs(blk) : NULL, size); in blk_blockalign()
|
H A D | vmdk.c | 1465 whole_grain = qemu_blockalign(bs, cluster_bytes); in get_whole_cluster()
|
/openbmc/qemu/include/block/ |
H A D | block-io.h | 233 void *qemu_blockalign(BlockDriverState *bs, size_t size);
|
/openbmc/qemu/docs/devel/ |
H A D | style.rst | 432 or QEMU's ``qemu_memalign/qemu_blockalign/qemu_vfree`` APIs. 472 Memory allocated by ``qemu_memalign`` or ``qemu_blockalign`` must be freed with
|