Searched refs:l2_table (Results 1 – 2 of 2) sorted by relevance
117 __u64 offset, blk64_t **l2_table) in qcow2_read_l2_table() argument122 assert(*l2_table); in qcow2_read_l2_table()127 size = read(fd, *l2_table, img->cluster_size); in qcow2_read_l2_table()166 blk64_t *l1_table, *l2_table = NULL; in qcow2_write_raw_image() local195 ret = ext2fs_get_memzero(img.cluster_size, &l2_table); in qcow2_write_raw_image()229 ret = qcow2_read_l2_table(&img, offset, &l2_table); in qcow2_write_raw_image()235 offset = ext2fs_be64_to_cpu(l2_table[l2_index]) & in qcow2_write_raw_image()269 if (l2_table) in qcow2_write_raw_image()270 ext2fs_free_mem(&l2_table); in qcow2_write_raw_image()
990 struct ext2_qcow2_l2_table **l2_table) in put_used_table() argument1009 *l2_table = cache->used_head; in put_used_table()1047 struct ext2_qcow2_l2_table **l2_table) in get_free_table() argument1068 *l2_table = table; in get_free_table()