Home
last modified time | relevance | path

Searched refs:ppath (Results 1 – 3 of 3) sorted by relevance

/xen-4.10.0-shim-comet/tools/blktap2/vhd/lib/
A Dvhd-util-snapshot.c109 char *name, *pname, *ppath, *backing; in vhd_util_snapshot() local
115 ppath = NULL; in vhd_util_snapshot()
155 ppath = realpath(pname, NULL); in vhd_util_snapshot()
156 if (!ppath) in vhd_util_snapshot()
160 backing = strdup(ppath); in vhd_util_snapshot()
166 err = vhd_util_find_snapshot_target(ppath, &backing, &prt_raw); in vhd_util_snapshot()
176 if (strcmp(ppath, backing)) { in vhd_util_snapshot()
177 err = vhd_open(&vhd, ppath, VHD_OPEN_RDONLY); in vhd_util_snapshot()
207 free(ppath); in vhd_util_snapshot()
A Dvhd-util-check.c319 if (vhd_open(&parent, ppath, in vhd_util_check_validate_parent()
649 char *file, *ppath, *location, *pname; in vhd_util_check_parent_locators() local
661 ppath = NULL; in vhd_util_check_parent_locators()
672 ppath = NULL; in vhd_util_check_parent_locators()
728 err = vhd_parent_locator_read(vhd, loc, &ppath); in vhd_util_check_parent_locators()
734 file = basename(ppath); in vhd_util_check_parent_locators()
742 err = vhd_find_parent(vhd, ppath, &location); in vhd_util_check_parent_locators()
752 "(resolved to %s)\n", i, ppath, location); in vhd_util_check_parent_locators()
764 free(ppath); in vhd_util_check_parent_locators()
766 ppath = NULL; in vhd_util_check_parent_locators()
[all …]
A Dlibvhd.c2460 char *ppath, *dst; in vhd_initialize_header_parent_name() local
2466 ppath = NULL; in vhd_initialize_header_parent_name()
2479 ppath = strdup(parent_path); in vhd_initialize_header_parent_name()
2480 if (!ppath) { in vhd_initialize_header_parent_name()
2485 pname = basename(ppath); in vhd_initialize_header_parent_name()
2506 free(ppath); in vhd_initialize_header_parent_name()
2627 char *ppath; in vhd_change_parent() local
2632 if (!ppath) { in vhd_change_parent()
2638 err = stat(ppath, &stats); in vhd_change_parent()
2655 ppath, child->file, err); in vhd_change_parent()
[all …]

Completed in 9 milliseconds