Searched refs:vhd_footer_t (Results 1 – 7 of 7) sorted by relevance
/xen-4.10.0-shim-comet/tools/blktap2/include/ |
A D | libvhd.h | 121 typedef struct hd_ftr vhd_footer_t; typedef 151 vhd_footer_t footer; 230 uint32_t vhd_checksum_footer(vhd_footer_t *); 234 void vhd_footer_in(vhd_footer_t *); 235 void vhd_footer_out(vhd_footer_t *); 243 int vhd_validate_footer(vhd_footer_t *footer); 304 int vhd_read_footer(vhd_context_t *, vhd_footer_t *); 305 int vhd_read_footer_at(vhd_context_t *, vhd_footer_t *, off_t); 306 int vhd_read_footer_strict(vhd_context_t *, vhd_footer_t *); 314 int vhd_write_footer(vhd_context_t *, vhd_footer_t *); [all …]
|
/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/ |
A D | vhd-util-check.c | 59 vhd_util_check_footer_opened(vhd_footer_t *footer) in vhd_util_check_footer_opened() 75 vhd_util_check_validate_footer(vhd_footer_t *footer) in vhd_util_check_validate_footer() 175 eof - sizeof(vhd_footer_t))) in vhd_util_check_validate_header() 262 eof - sizeof(vhd_footer_t)) in vhd_util_check_validate_batmap() 298 eof - sizeof(vhd_footer_t)) in vhd_util_check_validate_parent_locator() 334 vhd_util_check_footer(int fd, vhd_footer_t *footer, int ignore) in vhd_util_check_footer() 340 vhd_footer_t primary, backup; in vhd_util_check_footer() 455 vhd_util_check_header(int fd, vhd_footer_t *footer) in vhd_util_check_header() 554 eof -= sizeof(vhd_footer_t); in vhd_util_check_bat() 809 vhd_footer_t footer; in vhd_util_check_vhd()
|
A D | libvhd-journal.c | 243 j->header.vhd_footer_offset = off - sizeof(vhd_footer_t); in vhd_journal_add_journal_header() 418 vhd_footer_t footer; in vhd_journal_add_footer() 435 err = vhd_journal_update(j, off - sizeof(vhd_footer_t), in vhd_journal_add_footer() 437 sizeof(vhd_footer_t), in vhd_journal_add_footer() 452 sizeof(vhd_footer_t), in vhd_journal_add_footer() 650 vhd_footer_t *footer, uint32_t type) in __vhd_journal_read_footer() 662 if (entry.size != sizeof(vhd_footer_t)) in __vhd_journal_read_footer() 674 vhd_journal_read_footer(vhd_journal_t *j, vhd_footer_t *footer) in vhd_journal_read_footer() 990 vhd_footer_t copy; in vhd_journal_restore_metadata() 1098 sizeof(vhd_footer_t)); in vhd_journal_restore_metadata() [all …]
|
A D | libvhd.c | 117 vhd_footer_in(vhd_footer_t *footer) in vhd_footer_in() 133 vhd_footer_out(vhd_footer_t *footer) in vhd_footer_out() 461 vhd_footer_t copy; in vhd_hidden() 675 *end = max - sizeof(vhd_footer_t); in vhd_end_of_data() 887 memset(buf, 0, sizeof(vhd_footer_t)); in vhd_read_short_footer() 1900 vhd_footer_t *f; in vhd_write_footer_at() 2336 buf + sizeof(vhd_footer_t), in vhd_open_fast() 2810 *size += sizeof(vhd_footer_t); in vhd_get_phys_size() 2830 size - sizeof(vhd_footer_t)); in vhd_set_phys_size() 2840 vhd_footer_t *footer; in __vhd_create() [all …]
|
A D | vhd-util-scan.c | 616 size = sizeof(vhd_footer_t) + sizeof(vhd_header_t); in vhd_util_scan_read_volume_headers() 640 memcpy(&vhd->footer, buf, sizeof(vhd_footer_t)); in vhd_util_scan_read_volume_headers() 651 if (vhd->footer.data_offset != sizeof(vhd_footer_t)) in vhd_util_scan_read_volume_headers() 657 buf + sizeof(vhd_footer_t), in vhd_util_scan_read_volume_headers()
|
A D | vhd-util-resize.c | 86 if (new_eof <= sizeof(vhd_footer_t)) in vhd_fixed_shrink() 151 err = vhd_write_zeros(journal, eof - sizeof(vhd_footer_t), size); in vhd_fixed_grow() 529 err = ftruncate(vhd->fd, eof + sizeof(vhd_footer_t)); in vhd_dynamic_shrink()
|
A D | vhd-util-read.c | 94 vhd_print_footer(vhd_footer_t *f, int hex) in vhd_print_footer()
|
Completed in 22 milliseconds