Lines Matching refs:footer
85 new_eof = vhd->footer.curr_size - vhd_sectors_to_bytes(secs); in vhd_fixed_shrink()
93 vhd->footer.curr_size = new_eof; in vhd_fixed_shrink()
94 return vhd_write_footer(vhd, &vhd->footer); in vhd_fixed_shrink()
160 vhd->footer.curr_size += size; in vhd_fixed_grow()
161 err = vhd_write_footer(vhd, &vhd->footer); in vhd_fixed_grow()
179 cur_secs = vhd->footer.curr_size >> VHD_SECTOR_SHIFT; in vhd_fixed_resize()
427 vhd->footer.curr_size = (uint64_t)new_entries * vhd->header.block_size; in vhd_clear_bat_entries()
428 vhd->footer.geometry = vhd_chs(vhd->footer.curr_size); in vhd_clear_bat_entries()
429 err = vhd_write_footer(vhd, &vhd->footer); in vhd_clear_bat_entries()
622 vhd->footer.data_offset, sizeof(vhd_header_t))) { in vhd_check_for_clobber()
820 vhd->footer.curr_size = (uint64_t)new_entries * vhd->header.block_size; in vhd_add_bat_entries()
821 vhd->footer.geometry = vhd_chs(vhd->footer.curr_size); in vhd_add_bat_entries()
822 vhd->footer.checksum = vhd_checksum_footer(&vhd->footer); in vhd_add_bat_entries()
823 err = vhd_write_footer(vhd, &vhd->footer); in vhd_add_bat_entries()
1002 cur_secs = vhd->footer.curr_size >> VHD_SECTOR_SHIFT; in vhd_dynamic_resize()