Searched refs:l2_index (Results 1 – 3 of 3) sorted by relevance
164 unsigned int l1_index, l2_index; in qcow2_write_raw_image() local234 for (l2_index = 0; l2_index < img.l2_size; l2_index++) { in qcow2_write_raw_image()235 offset = ext2fs_be64_to_cpu(l2_table[l2_index]) & in qcow2_write_raw_image()242 l2_index; in qcow2_write_raw_image()
367 uint32_t l2_index = (address >> 24) & 0xfff; in get_aux_entry() local368 uint64_t *l2_entry = &l2_map[l2_index]; in get_aux_entry()375 l2_index, l1_addr, l1_map); in get_aux_entry()489 uint32_t l2_index = (address >> 24) & 0xfff; in remove_mapping() local490 uint64_t *l2_entry = &l2_map[l2_index]; in remove_mapping()510 l3_index, l2_index, l1_index); in remove_mapping()
1077 blk64_t l2_index = blk & (img->l2_size - 1); in add_l2_item() local1094 table->data[l2_index] = ext2fs_cpu_to_be64(data | QCOW_OFLAG_COPIED); in add_l2_item()