Searched refs:l2_table (Results 1 – 2 of 2) sorted by relevance
117 ext2_off64_t 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() local185 ret = ext2fs_get_memzero(img.cluster_size, &l2_table); in qcow2_write_raw_image()219 ret = qcow2_read_l2_table(&img, offset, &l2_table); in qcow2_write_raw_image()225 offset = ext2fs_be64_to_cpu(l2_table[l2_index]) & in qcow2_write_raw_image()259 if (l2_table) in qcow2_write_raw_image()260 ext2fs_free_mem(&l2_table); in qcow2_write_raw_image()
970 struct ext2_qcow2_l2_table **l2_table) in put_used_table() argument989 *l2_table = cache->used_head; in put_used_table()1027 struct ext2_qcow2_l2_table **l2_table) in get_free_table() argument1048 *l2_table = table; in get_free_table()