Lines Matching refs:VHD_SECTOR_SHIFT
536 if (block >= (batmap->header.batmap_size << (VHD_SECTOR_SHIFT + 3))) in vhd_batmap_test()
548 if (block >= (batmap->header.batmap_size << (VHD_SECTOR_SHIFT + 3))) in vhd_batmap_set()
560 if (block >= (batmap->header.batmap_size << (VHD_SECTOR_SHIFT + 3))) in vhd_batmap_clear()
687 max >>= VHD_SECTOR_SHIFT; in vhd_end_of_data()
1062 bat->spb = ctx->header.block_size >> VHD_SECTOR_SHIFT; in vhd_read_bat()
2345 ctx->spb = ctx->header.block_size >> VHD_SECTOR_SHIFT; in vhd_open_fast()
2409 ctx->spb = ctx->header.block_size >> VHD_SECTOR_SHIFT; in vhd_open()
2767 ctx->bat.spb = ctx->header.block_size >> VHD_SECTOR_SHIFT; in vhd_create_bat()
3112 map = calloc(1, secs << (VHD_SECTOR_SHIFT - 3)); in __vhd_io_dynamic_read()
3204 spp = getpagesize() >> VHD_SECTOR_SHIFT; in __vhd_io_allocate_block()
3212 max >>= VHD_SECTOR_SHIFT; in __vhd_io_allocate_block()