Searched refs:VHD_SECTOR_SIZE (Results 1 – 9 of 9) sorted by relevance
/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/ |
A D | libvhd.c | 880 VHD_SECTOR_SIZE, sizeof(vhd_footer_t)); in vhd_read_short_footer() 920 VHD_SECTOR_SIZE, sizeof(vhd_footer_t)); in vhd_read_footer_at() 990 VHD_SECTOR_SIZE, sizeof(vhd_header_t)); in vhd_read_header_at() 1905 VHD_SECTOR_SIZE, sizeof(vhd_footer_t)); in vhd_write_footer_at() 1972 VHD_SECTOR_SIZE, sizeof(vhd_header_t)); in vhd_write_header_at() 2548 ctx->footer.data_offset = VHD_SECTOR_SIZE; in vhd_initialize_header() 2596 if (off & (VHD_SECTOR_SIZE - 1)) in vhd_write_parent_locators() 2731 VHD_SECTOR_SIZE, map_bytes); in vhd_create_batmap() 2986 memcpy(dst, src, VHD_SECTOR_SIZE); in __vhd_io_dynamic_copy_data() 2990 src += VHD_SECTOR_SIZE; in __vhd_io_dynamic_copy_data() [all …]
|
A D | libvhd-journal.c | 298 if (entry->size & (VHD_SECTOR_SIZE - 1)) in vhd_journal_validate_entry() 513 err = posix_memalign((void **)&buf, VHD_SECTOR_SIZE, size); in vhd_journal_add_locators() 749 VHD_SECTOR_SIZE, entry.size); in vhd_journal_read_locators() 804 err = posix_memalign((void **)&bat->bat, VHD_SECTOR_SIZE, size); in vhd_journal_read_bat() 844 err = posix_memalign((void **)&buf, VHD_SECTOR_SIZE, size); in vhd_journal_read_batmap_header() 880 VHD_SECTOR_SIZE, entry.size); in vhd_journal_read_batmap_map() 1490 VHD_SECTOR_SIZE, entry.size); in vhd_journal_revert()
|
A D | vhd-util-resize.c | 615 if (off < VHD_SECTOR_SIZE) { in vhd_check_for_clobber() 708 err = posix_memalign((void **)&buf, VHD_SECTOR_SIZE, size); in vhd_shift_metadata() 828 err = posix_memalign((void **)&new_bat.bat, VHD_SECTOR_SIZE, new_bat_size); in vhd_add_bat_entries() 854 VHD_SECTOR_SIZE, new_map_size); in vhd_add_bat_entries()
|
A D | vhd-util-check.c | 345 err = posix_memalign((void **)&buf, VHD_SECTOR_SIZE, sizeof(primary)); in vhd_util_check_footer() 462 err = posix_memalign((void **)&buf, VHD_SECTOR_SIZE, sizeof(header)); in vhd_util_check_header()
|
A D | vhd-util-read.c | 562 err = posix_memalign((void **)&buf, VHD_SECTOR_SIZE, max); in vhd_read_data()
|
A D | vhd-util-scan.c | 618 err = posix_memalign((void **)&buf, VHD_SECTOR_SIZE, size); in vhd_util_scan_read_volume_headers()
|
/xen-4.10.0-shim-comet/tools/blktap2/include/ |
A D | vhd.h | 41 #define VHD_SECTOR_SIZE 512 macro
|
A D | libvhd.h | 159 return ((bytes + (VHD_SECTOR_SIZE - 1)) >> VHD_SECTOR_SHIFT); in secs_round_up()
|
/xen-4.10.0-shim-comet/tools/blktap2/drivers/ |
A D | block-vhd.c | 440 VHD_SECTOR_SIZE, VHD_SECTOR_SIZE); in vhd_initialize_bat() 650 driver->info.sector_size = VHD_SECTOR_SIZE; in __vhd_open()
|
Completed in 23 milliseconds