Searched refs:ext2_qcow2_hdr (Results 1 - 3 of 3) sorted by relevance
/external/e2fsprogs/lib/ext2fs/ |
H A D | qcow2.h | 39 struct ext2_qcow2_hdr { struct 92 struct ext2_qcow2_hdr *hdr; 111 struct ext2_qcow2_hdr *qcow2_read_header(int); 112 int qcow2_write_raw_image(int, int, struct ext2_qcow2_hdr *);
|
H A D | qcow2.c | 50 struct ext2_qcow2_hdr *qcow2_read_header(int fd) 53 struct ext2_qcow2_hdr *hdr = NULL; 57 ret = ext2fs_get_mem(sizeof(struct ext2_qcow2_hdr), &buffer); 60 memset(buffer, 0, sizeof(struct ext2_qcow2_hdr)); 67 size = read(fd, buffer, sizeof(struct ext2_qcow2_hdr)); 68 if (size != sizeof(struct ext2_qcow2_hdr)) { 73 hdr = (struct ext2_qcow2_hdr *)(buffer); 155 struct ext2_qcow2_hdr *hdr)
|
/external/e2fsprogs/misc/ |
H A D | e2image.c | 865 struct ext2_qcow2_hdr *header; 872 ret = ext2fs_get_memzero(sizeof(struct ext2_qcow2_hdr), &header); 887 header_size = (sizeof(struct ext2_qcow2_hdr) + 7) & ~7; 1144 header_size = align_offset(sizeof(struct ext2_qcow2_hdr), 1146 write_header(fd, img->hdr, sizeof(struct ext2_qcow2_hdr), header_size); 1420 static struct ext2_qcow2_hdr *check_qcow2_image(int *fd, char *name) 1436 struct ext2_qcow2_hdr *header = NULL;
|
Completed in 85 milliseconds