vmdk.c | 55 int64_t gd_offset; member in struct:__anon24822 185 int64_t gd_offset, rgd_offset, capacity, gt_size; local 274 gd_offset = header.gd_offset * SECTOR_SIZE; // offset of GD table 310 if (lseek(p_fd, gd_offset, SEEK_SET) == -1) { 318 if (lseek(snp_fd, gd_offset, SEEK_SET) == -1) { 398 s->l1_backup_table_offset = le64_to_cpu(header.gd_offset) << 9; 734 header.gd_offset = header.rgd_offset + gd_size + (gt_size * gt_count); 736 ((header.gd_offset + gd_size + (gt_size * gt_count) + 743 header.gd_offset = cpu_to_le64(header.gd_offset) [all...] |