Home
last modified time | relevance | path

Searched refs:vhd_bytes_padded (Results 1 – 5 of 5) sorted by relevance

/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/
A Dvhd-util-resize.c455 size = vhd_bytes_padded(sizeof(struct dd_batmap_hdr)); in vhd_clear_bat_entries()
629 vhd_bytes_padded(vhd->header.max_bat_size * in vhd_check_for_clobber()
638 vhd_bytes_padded(vhd->batmap.header.batmap_size))) { in vhd_check_for_clobber()
788 bat_size = vhd_bytes_padded(vhd->header.max_bat_size * in vhd_add_bat_entries()
790 new_bat_size = vhd_bytes_padded(new_entries * sizeof(uint32_t)); in vhd_add_bat_entries()
792 map_size = vhd_bytes_padded((vhd->header.max_bat_size + 7) >> 3); in vhd_add_bat_entries()
793 new_map_size = vhd_bytes_padded((new_entries + 7) >> 3); in vhd_add_bat_entries()
925 bat_needed = vhd_bytes_padded(bat_needed); in vhd_dynamic_grow()
932 map_needed = vhd_bytes_padded(map_needed); in vhd_dynamic_grow()
A Dlibvhd.c421 off += vhd_bytes_padded(bat); in vhd_batmap_header_offset()
615 bat_bytes = vhd_bytes_padded(ctx->header.max_bat_size * sizeof(uint32_t)); in vhd_end_of_headers()
1045 size = vhd_bytes_padded(ctx->header.max_bat_size * sizeof(uint32_t)); in vhd_read_bat()
1095 size = vhd_bytes_padded(sizeof(vhd_batmap_header_t)); in vhd_read_batmap_header()
1732 size = vhd_bytes_padded(len); in vhd_parent_locator_write_at()
1814 size = vhd_bytes_padded(ctx->spb >> 3); in vhd_read_bitmap()
2037 size = vhd_bytes_padded(bat->entries * sizeof(uint32_t)); in vhd_write_bat()
2107 size = vhd_bytes_padded(sizeof(vhd_batmap_header_t)); in vhd_write_batmap()
2597 off = vhd_bytes_padded(off); in vhd_write_parent_locators()
2724 vhd_bytes_padded(sizeof(vhd_batmap_header_t)); in vhd_create_batmap()
[all …]
A Dlibvhd-journal.c561 size = vhd_bytes_padded(bat.entries * sizeof(uint32_t)); in vhd_journal_add_bat()
590 size = vhd_bytes_padded(sizeof(struct dd_batmap_hdr)); in vhd_journal_add_batmap()
789 size = vhd_bytes_padded(vhd->header.max_bat_size * sizeof(uint32_t)); in vhd_journal_read_bat()
832 size = vhd_bytes_padded(sizeof(struct dd_batmap_hdr)); in vhd_journal_read_batmap_header()
/xen-4.10.0-shim-comet/tools/blktap2/vhd/
A Dvhd-update.c119 size = vhd_bytes_padded(journal->vhd.spb / 8); in update_vhd()
/xen-4.10.0-shim-comet/tools/blktap2/include/
A Dlibvhd.h175 vhd_bytes_padded(uint64_t bytes) in vhd_bytes_padded() function

Completed in 12 milliseconds