Home
last modified time | relevance | path

Searched refs:refcount_array (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/block/
H A Dqcow2-refcount.c51 static void set_refcount_ro0(void *refcount_array, uint64_t index,
53 static void set_refcount_ro1(void *refcount_array, uint64_t index,
55 static void set_refcount_ro2(void *refcount_array, uint64_t index,
57 static void set_refcount_ro3(void *refcount_array, uint64_t index,
59 static void set_refcount_ro4(void *refcount_array, uint64_t index,
61 static void set_refcount_ro5(void *refcount_array, uint64_t index,
186 return ((const uint8_t *)refcount_array)[index]; in get_refcount_ro3()
193 ((uint8_t *)refcount_array)[index] = value; in set_refcount_ro3()
205 ((uint16_t *)refcount_array)[index] = cpu_to_be16(value); in set_refcount_ro4()
217 ((uint32_t *)refcount_array)[index] = cpu_to_be32(value); in set_refcount_ro5()
[all …]
H A Dqcow2.h313 typedef uint64_t Qcow2GetRefcountFunc(const void *refcount_array,
315 typedef void Qcow2SetRefcountFunc(void *refcount_array,