Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/tools/blktap2/drivers/
A Dblock-vhd.c383 s->next_db = entry + s->spb + s->bm_secs; in find_next_free_block()
478 map_size = vhd_sectors_to_bytes(s->bm_secs); in vhd_initialize_bitmap_cache()
528 s->bm_secs = secs_round_up_no_zero(s->spb >> 3); in vhd_initialize_dynamic_disk()
966 memset(bm->map, 0, vhd_sectors_to_bytes(s->bm_secs)); in init_vhd_bitmap()
1275 if ((s->next_db + s->bm_secs) % s->spp) in reserve_new_block()
1402 if ((s->next_db + s->bm_secs) % s->spp) { in allocate_block()
1466 offset += s->bm_secs + sec; in schedule_data_read()
1519 offset += s->bm_secs + sec; in schedule_data_write()
1578 req->treq.secs = s->bm_secs; in schedule_bitmap_read()
1621 req->treq.secs = s->bm_secs; in schedule_bitmap_write()
[all …]
/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/
A Dvhd-util-resize.c248 size = vhd_sectors_to_bytes(vhd->bm_secs); in vhd_move_block()
292 vhd_sectors_to_bytes(vhd->bm_secs + vhd->spb)); in vhd_move_block()
575 end = blk + vhd->spb + vhd->bm_secs; in vhd_next_block_offset()
961 bm_size = vhd_sectors_to_bytes(vhd->bm_secs); in vhd_dynamic_grow()
A Dlibvhd.c693 blk += ctx->spb + ctx->bm_secs; in vhd_end_of_data()
1862 off = vhd_sectors_to_bytes(blk + ctx->bm_secs); in vhd_read_block()
2160 size = vhd_sectors_to_bytes(ctx->bm_secs); in vhd_write_bitmap()
2198 off = vhd_sectors_to_bytes(blk + ctx->bm_secs); in vhd_write_block()
2300 ctx->bm_secs + (sector % ctx->spb); in vhd_offset()
2346 ctx->bm_secs = secs_round_up_no_zero(ctx->spb >> 3); in vhd_open_fast()
2410 ctx->bm_secs = secs_round_up_no_zero(ctx->spb >> 3); in vhd_open()
3215 if ((max + ctx->bm_secs) % spp) { in __vhd_io_allocate_block()
3216 gap = (spp - ((max + ctx->bm_secs) % spp)); in __vhd_io_allocate_block()
3224 size = vhd_sectors_to_bytes(ctx->spb + ctx->bm_secs + gap); in __vhd_io_allocate_block()
[all …]
A Dlibvhd-journal.c1372 size = vhd_sectors_to_bytes(vhd->bm_secs); in vhd_journal_add_block()
1388 off += vhd_sectors_to_bytes(vhd->bm_secs); in vhd_journal_add_block()
A Dvhd-util-read.c420 vhd_sectors_to_bytes(vhd->bm_secs)); in vhd_print_bitmap()
A Dvhd-util-check.c557 block_size = vhd->spb + vhd->bm_secs; in vhd_util_check_bat()
A Dvhd-util-scan.c670 vhd->bm_secs = secs_round_up_no_zero(vhd->spb >> 3); in vhd_util_scan_read_volume_headers()
/xen-4.10.0-shim-comet/tools/blktap2/include/
A Dlibvhd.h148 uint32_t bm_secs; member

Completed in 23 milliseconds