Lines Matching refs:vhd_header_t

149 vhd_header_in(vhd_header_t *header)  in vhd_header_in()
172 vhd_header_out(vhd_header_t *header) in vhd_header_out()
294 vhd_checksum_header(vhd_header_t *header) in vhd_checksum_header()
305 for (i = 0; i < sizeof(vhd_header_t); i++) in vhd_checksum_header()
313 vhd_validate_header(vhd_header_t *header) in vhd_validate_header()
613 eom = ctx->footer.data_offset + sizeof(vhd_header_t); in vhd_end_of_headers()
827 memset(&ctx->header, 0, sizeof(vhd_header_t)); in vhd_put_header()
973 vhd_read_header_at(vhd_context_t *ctx, vhd_header_t *header, off_t off) in vhd_read_header_at()
990 VHD_SECTOR_SIZE, sizeof(vhd_header_t)); in vhd_read_header_at()
997 err = vhd_read(ctx, buf, sizeof(vhd_header_t)); in vhd_read_header_at()
1001 memcpy(header, buf, sizeof(vhd_header_t)); in vhd_read_header_at()
1015 vhd_read_header(vhd_context_t *ctx, vhd_header_t *header) in vhd_read_header()
1523 vhd_header_decode_parent(vhd_context_t *ctx, vhd_header_t *header, char **buf) in vhd_header_decode_parent()
1959 vhd_write_header_at(vhd_context_t *ctx, vhd_header_t *header, off_t off) in vhd_write_header_at()
1962 vhd_header_t *h; in vhd_write_header_at()
1972 VHD_SECTOR_SIZE, sizeof(vhd_header_t)); in vhd_write_header_at()
1979 memcpy(h, header, sizeof(vhd_header_t)); in vhd_write_header_at()
1992 err = vhd_write(ctx, h, sizeof(vhd_header_t)); in vhd_write_header_at()
2003 vhd_write_header(vhd_context_t *ctx, vhd_header_t *header) in vhd_write_header()
2312 size = sizeof(vhd_footer_t) + sizeof(vhd_header_t); in vhd_open_fast()
2337 sizeof(vhd_header_t)); in vhd_open_fast()
2537 memset(&ctx->header, 0, sizeof(vhd_header_t)); in vhd_initialize_header()
2841 vhd_header_t *header; in __vhd_create()