Home
last modified time | relevance | path

Searched refs:locators (Results 1 – 2 of 2) sorted by relevance

/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/
A Dvhd-util-resize.c685 char *buf, **locators; in vhd_shift_metadata() local
693 locators = calloc(n, sizeof(char *)); in vhd_shift_metadata()
694 if (!locators) in vhd_shift_metadata()
723 locators[i] = buf; in vhd_shift_metadata()
730 if (!locators[i]) in vhd_shift_metadata()
747 err = vhd_write(vhd, locators[i], size); in vhd_shift_metadata()
751 free(locators[i]); in vhd_shift_metadata()
752 locators[i] = NULL; in vhd_shift_metadata()
768 free(locators[i]); in vhd_shift_metadata()
769 free(locators); in vhd_shift_metadata()
A Dlibvhd-journal.c712 vhd_journal_read_locators(vhd_journal_t *j, char ***locators, int *locs) in vhd_journal_read_locators() argument
721 *locators = NULL; in vhd_journal_read_locators()
766 *locators = _locators; in vhd_journal_read_locators()
965 err = vhd_write(vhd, locators[lidx++], size); in vhd_journal_restore_locators()
989 char **locators; in vhd_journal_restore_metadata() local
997 locators = NULL; in vhd_journal_restore_metadata()
1027 err = vhd_journal_read_locators(j, &locators, &locs); in vhd_journal_restore_metadata()
1071 err = vhd_journal_restore_locators(j, locators, locs); in vhd_journal_restore_metadata()
1089 if (locators) { in vhd_journal_restore_metadata()
1091 free(locators[i]); in vhd_journal_restore_metadata()
[all …]

Completed in 6 milliseconds