Searched refs:l2_bits (Results 1 – 3 of 3) sorted by relevance
64 uint8_t l2_bits; member75 int l2_bits; member174 if (header.l2_bits < 9 - 3 || header.l2_bits > 16 - 3) { in qcow_open()235 s->l2_bits = header.l2_bits; in qcow_open()236 s->l2_size = 1 << s->l2_bits; in qcow_open()241 shift = s->cluster_bits + s->l2_bits; in qcow_open()404 l2_table = s->l2_cache + (i << s->l2_bits); in get_cluster_offset()417 l2_table = s->l2_cache + (min_index << s->l2_bits); in get_cluster_offset()873 header.l2_bits = 12; /* 32 KB L2 tables */ in qcow_co_create()876 header.l2_bits = 9; /* 4 KB L2 tables */ in qcow_co_create()[all …]
334 int l2_bits; member683 int shift = s->cluster_bits + s->l2_bits; in size_to_l1()689 return offset >> (s->l2_bits + s->cluster_bits); in offset_to_l1_index()709 return (int64_t)s->l1_vm_state_index << (s->cluster_bits + s->l2_bits); in qcow2_vm_state_offset()
1525 s->l2_bits = s->cluster_bits - ctz32(l2_entry_size(s)); in qcow2_do_open()1526 s->l2_size = 1 << s->l2_bits; in qcow2_do_open()