Searched refs:backing_file (Results 1 - 7 of 7) sorted by relevance

/external/qemu/block/
H A Dcow.c40 char backing_file[1024]; member in struct:cow_header_v2
94 pstrcpy(bs->backing_file, sizeof(bs->backing_file),
95 cow_header.backing_file);
246 pstrcpy(cow_header.backing_file, sizeof(cow_header.backing_file),
H A Dvmdk.c187 static int vmdk_snapshot_create(const char *filename, const char *backing_file) argument
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; local
724 backing_file
[all...]
H A Dqcow.c161 if (bdrv_pread(s->hd, header.backing_file_offset, bs->backing_file, len) != len)
163 bs->backing_file[len] = '\0';
751 const char *backing_file = NULL; local
759 backing_file = options->value.s;
775 if (backing_file) {
776 if (strcmp(backing_file, "fat:")) {
778 backing_filename_len = strlen(backing_file);
783 backing_file = NULL;
805 if (backing_file) {
806 write(fd, backing_file, backing_filename_le
[all...]
H A Dqcow2.c246 if (bdrv_pread(s->hd, header.backing_file_offset, bs->backing_file, len) != len)
248 bs->backing_file[len] = '\0';
653 const char *backing_file, const char *backing_format,
676 if (backing_file) {
684 backing_filename_len = strlen(backing_file);
746 if (backing_file) {
760 write(fd, backing_file, backing_filename_len);
781 const char *backing_file = NULL; local
792 backing_file = options->value.s;
805 return qcow_create2(filename, sectors, backing_file, backing_fm
652 qcow_create2(const char *filename, int64_t total_size, const char *backing_file, const char *backing_format, int flags, size_t cluster_size) argument
[all...]
/external/qemu/
H A Dblock_int.h37 #define BLOCK_OPT_BACKING_FILE "backing_file"
131 char backing_file[1024]; /* if non zero, the image is a diff of member in struct:BlockDriverState
133 char backing_format[16]; /* if non-zero and backing_file exists */
H A Dblock.c439 if (bs->backing_file[0] != '\0') {
444 filename, bs->backing_file);
1085 if (bs->backing_file[0] != '\0') {
1086 monitor_printf(mon, " backing_file=");
1087 monitor_print_filename(mon, bs->backing_file);
1120 return bs->backing_file;
1133 pstrcpy(filename, filename_size, bs->backing_file);
H A Dblock.h53 const char *backing_file, const char *backing_format,

Completed in 67 milliseconds