Home
last modified time | relevance | path

Searched refs:cow_end (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/block/
H A Dqcow2.h475 Qcow2COWRegion cow_end; member
818 return m->offset + m->cow_end.offset + m->cow_end.nb_bytes; in l2meta_cow_end()
H A Dqcow2-cluster.c892 Qcow2COWRegion *end = &m->cow_end; in perform_cow()
1067 assert(m->cow_end.offset + m->cow_end.nb_bytes <= in qcow2_alloc_cluster_link_l2()
1090 unsigned written_to = m->cow_end.offset + m->cow_end.nb_bytes; in qcow2_alloc_cluster_link_l2()
1315 .cow_end = { in calculate_l2_meta()
H A Dqcow2.c2459 if (m->cow_start.nb_bytes == 0 && m->cow_end.nb_bytes == 0) { in merge_cow()
2485 if (m->offset + m->cow_end.offset != offset + bytes) { in merge_cow()
2486 assert(offset + bytes > m->offset + m->cow_end.offset); in merge_cow()
2487 assert(m->cow_end.nb_bytes == 0); in merge_cow()
2524 return bdrv_co_is_zero_fast(bs, m->offset + m->cow_end.offset, in is_zero_cow()
2525 m->cow_end.nb_bytes); in is_zero_cow()
2545 unsigned nb_bytes = m->cow_end.offset + m->cow_end.nb_bytes - in handle_alloc_space()
2548 if (!m->cow_start.nb_bytes && !m->cow_end.nb_bytes) { in handle_alloc_space()
4574 .cow_end = { in qcow2_co_truncate()