/external/qemu/block/ |
cow.c | 38 char backing_file[1024]; member in struct:cow_header_v2 82 pstrcpy(bs->backing_file, sizeof(bs->backing_file), 83 cow_header.backing_file); 262 pstrcpy(cow_header.backing_file, sizeof(cow_header.backing_file),
|
qcow2.c | 232 if (bdrv_pread(bs->file, header.backing_file_offset, bs->backing_file, len) != len) 234 bs->backing_file[len] = '\0'; 680 const char *backing_file, const char *backing_fmt) 689 if (backing_fmt && !backing_file) { 702 if (backing_file) { 703 backing_file_len = strlen(backing_file); 719 if (backing_file) { 734 memcpy(buf + offset, backing_file, backing_file_len); 765 const char *backing_file, const char *backing_fmt) 767 return qcow2_update_ext_header(bs, backing_file, backing_fmt) 1045 const char *backing_file = NULL; local [all...] |
qcow.c | 158 if (bdrv_pread(bs->file, header.backing_file_offset, bs->backing_file, len) != len) 160 bs->backing_file[len] = '\0'; 748 const char *backing_file = NULL; local 757 backing_file = options->value.s; 773 if (backing_file) { 774 if (strcmp(backing_file, "fat:")) { 776 backing_filename_len = strlen(backing_file); 781 backing_file = NULL; 808 if (backing_file) { 809 ret = qemu_write_full(fd, backing_file, backing_filename_len) [all...] |
vmdk.c | 176 static int vmdk_snapshot_create(const char *filename, const char *backing_file) 205 p_fd = open(backing_file, O_RDONLY | O_BINARY | O_LARGEFILE); 261 snprintf(s_desc, sizeof(s_desc), desc_template, p_cid, p_cid, backing_file, 353 if ((end_name - p_name) > sizeof (bs->backing_file) - 1) 356 pstrcpy(bs->backing_file, end_name - p_name + 1, p_name); 693 const char *backing_file = NULL; local 702 backing_file = options->value.s; 710 if (backing_file) { 711 return vmdk_snapshot_create(filename, backing_file);
|
/external/qemu/ |
block_int.h | 38 #define BLOCK_OPT_BACKING_FILE "backing_file" 104 const char *backing_file, const char *backing_fmt); 162 char backing_file[1024]; /* if non zero, the image is a diff of member in struct:BlockDriverState 164 char backing_format[16]; /* if non-zero and backing_file exists */
|
block.c | 603 if ((flags & BDRV_O_NO_BACKING) == 0 && bs->backing_file[0] != '\0') { 610 filename, bs->backing_file); 863 const char *backing_file, const char *backing_fmt) 868 return drv->bdrv_change_backing_file(bs, backing_file, backing_fmt); [all...] |
block.h | 96 const char *backing_file, const char *backing_fmt);
|