Searched refs:backing_file (Results 1 – 7 of 7) sorted by relevance
/external/qemu/block/ |
D | cow.c | 38 char backing_file[1024]; member 82 pstrcpy(bs->backing_file, sizeof(bs->backing_file), in cow_open() 83 cow_header.backing_file); in cow_open() 262 pstrcpy(cow_header.backing_file, sizeof(cow_header.backing_file), in cow_create()
|
D | qcow2.c | 232 if (bdrv_pread(bs->file, header.backing_file_offset, bs->backing_file, len) != len) in qcow_open() 234 bs->backing_file[len] = '\0'; in qcow_open() 680 const char *backing_file, const char *backing_fmt) in qcow2_update_ext_header() argument 689 if (backing_fmt && !backing_file) { in qcow2_update_ext_header() 702 if (backing_file) { in qcow2_update_ext_header() 703 backing_file_len = strlen(backing_file); in qcow2_update_ext_header() 719 if (backing_file) { in qcow2_update_ext_header() 734 memcpy(buf + offset, backing_file, backing_file_len); in qcow2_update_ext_header() 765 const char *backing_file, const char *backing_fmt) in qcow2_change_backing_file() argument 767 return qcow2_update_ext_header(bs, backing_file, backing_fmt); in qcow2_change_backing_file() [all …]
|
D | vmdk.c | 176 static int vmdk_snapshot_create(const char *filename, const char *backing_file) in vmdk_snapshot_create() argument 205 p_fd = open(backing_file, O_RDONLY | O_BINARY | O_LARGEFILE); in vmdk_snapshot_create() 261 snprintf(s_desc, sizeof(s_desc), desc_template, p_cid, p_cid, backing_file, in vmdk_snapshot_create() 353 if ((end_name - p_name) > sizeof (bs->backing_file) - 1) in vmdk_parent_open() 356 pstrcpy(bs->backing_file, end_name - p_name + 1, p_name); in vmdk_parent_open() 693 const char *backing_file = NULL; in vmdk_create() local 702 backing_file = options->value.s; in vmdk_create() 710 if (backing_file) { in vmdk_create() 711 return vmdk_snapshot_create(filename, backing_file); in vmdk_create()
|
D | qcow.c | 158 if (bdrv_pread(bs->file, header.backing_file_offset, bs->backing_file, len) != len) in qcow_open() 160 bs->backing_file[len] = '\0'; in qcow_open() 748 const char *backing_file = NULL; in qcow_create() local 757 backing_file = options->value.s; in qcow_create() 773 if (backing_file) { in qcow_create() 774 if (strcmp(backing_file, "fat:")) { in qcow_create() 776 backing_filename_len = strlen(backing_file); in qcow_create() 781 backing_file = NULL; in qcow_create() 808 if (backing_file) { in qcow_create() 809 ret = qemu_write_full(fd, backing_file, backing_filename_len); in qcow_create()
|
/external/qemu/ |
D | block_int.h | 104 const char *backing_file, const char *backing_fmt); 162 char backing_file[1024]; /* if non zero, the image is a diff of member
|
D | block.c | 603 if ((flags & BDRV_O_NO_BACKING) == 0 && bs->backing_file[0] != '\0') { in bdrv_open() 610 filename, bs->backing_file); in bdrv_open() 863 const char *backing_file, const char *backing_fmt) in bdrv_change_backing_file() argument 868 return drv->bdrv_change_backing_file(bs, backing_file, backing_fmt); in bdrv_change_backing_file() 1621 if (bs->backing_file[0] != '\0') { in bdrv_info() 1624 qstring_from_str(bs->backing_file)); in bdrv_info() 1709 return bs->backing_file; in bdrv_get_encrypted_filename() 1719 if (!bs->backing_file) { in bdrv_get_backing_filename() 1722 pstrcpy(filename, filename_size, bs->backing_file); in bdrv_get_backing_filename()
|
D | block.h | 96 const char *backing_file, const char *backing_fmt);
|