Home
last modified time | relevance | path

Searched refs:max_bat_size (Results 1 – 8 of 8) sorted by relevance

/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/
A Dvhd-util-resize.c411 orig_entries = vhd->header.max_bat_size; in vhd_clear_bat_entries()
421 vhd->header.max_bat_size = new_entries; in vhd_clear_bat_entries()
629 vhd_bytes_padded(vhd->header.max_bat_size * in vhd_check_for_clobber()
786 new_entries = vhd->header.max_bat_size + entries; in vhd_add_bat_entries()
788 bat_size = vhd_bytes_padded(vhd->header.max_bat_size * in vhd_add_bat_entries()
792 map_size = vhd_bytes_padded((vhd->header.max_bat_size + 7) >> 3); in vhd_add_bat_entries()
814 vhd->header.max_bat_size = new_entries; in vhd_add_bat_entries()
902 bat_bytes = vhd->header.max_bat_size * sizeof(uint32_t); in vhd_dynamic_grow()
909 map_bytes = (vhd->header.max_bat_size + 7) >> 3; in vhd_dynamic_grow()
A Dvhd-util-fill.c83 for (i = 0; i < vhd.header.max_bat_size; i++) { in vhd_util_fill()
A Dvhd-util-check.c174 (header->max_bat_size * sizeof(uint32_t)) > in vhd_util_check_validate_header()
559 for (i = 0; i < vhd->header.max_bat_size; i++) { in vhd_util_check_bat()
576 for (j = 0; j < vhd->header.max_bat_size; j++) { in vhd_util_check_bat()
631 for (i = 0; i < vhd->header.max_bat_size; i++) { in vhd_util_check_batmap()
A Dlibvhd.c156 BE32_IN(&header->max_bat_size); in vhd_header_in()
179 BE32_OUT(&header->max_bat_size); in vhd_header_out()
420 bat = ctx->header.max_bat_size * sizeof(uint32_t); in vhd_batmap_header_offset()
1045 size = vhd_bytes_padded(ctx->header.max_bat_size * sizeof(uint32_t)); in vhd_read_bat()
1063 bat->entries = ctx->header.max_bat_size; in vhd_read_bat()
2545 ctx->header.max_bat_size = (ctx->footer.curr_size + in vhd_initialize_header()
2576 ctx->header.max_bat_size = in vhd_initialize_header()
2713 map_bytes = (ctx->header.max_bat_size + 7) >> 3; in vhd_create_batmap()
2751 size = vhd_bytes_padded(ctx->header.max_bat_size * sizeof(uint32_t)); in vhd_create_bat()
2759 for (i = 0; i < ctx->header.max_bat_size; i++) in vhd_create_bat()
[all …]
A Dvhd-util-read.c72 printf("Max BAT size : %s\n", conv(hex, h->max_bat_size)); in vhd_print_header()
254 if (block > vhd->header.max_bat_size) { in check_block_range()
A Dlibvhd-journal.c789 size = vhd_bytes_padded(vhd->header.max_bat_size * sizeof(uint32_t)); in vhd_journal_read_bat()
813 bat->entries = vhd->header.max_bat_size; in vhd_journal_read_bat()
/xen-4.10.0-shim-comet/tools/blktap2/include/
A Dvhd.h147 u32 max_bat_size; /* Maximum number of entries in the BAT */ member
/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dblock-vhd.c1151 if (blk > s->vhd.header.max_bat_size) { in read_bitmap_cache()

Completed in 19 milliseconds