Lines Matching refs:backing_file
187 static int vmdk_snapshot_create(const char *filename, const char *backing_file)
215 p_fd = open(backing_file, O_RDONLY | O_BINARY | O_LARGEFILE);
256 snprintf(s_desc, sizeof(s_desc), desc_template, p_cid, p_cid, backing_file,
341 if ((end_name - p_name) > sizeof (s->hd->backing_file) - 1)
344 pstrcpy(s->hd->backing_file, end_name - p_name + 1, p_name);
345 if (stat(s->hd->backing_file, &file_buf) != 0) {
347 filename, s->hd->backing_file);
350 s->hd->backing_file);
716 const char *backing_file = NULL;
724 backing_file = options->value.s;
732 if (backing_file) {
733 return vmdk_snapshot_create(filename, backing_file);