Home
last modified time | relevance | path

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

/qemu/block/
H A Dqcow2-cache.c131 assert(table_size >= (1 << MIN_CLUSTER_BITS)); in qcow2_cache_create()
H A Dqcow2.c961 if (*l2_cache_entry_size < (1 << MIN_CLUSTER_BITS) || in read_cache_sizes()
966 1 << MIN_CLUSTER_BITS, s->cluster_size); in read_cache_sizes()
1365 if (header.cluster_bits < MIN_CLUSTER_BITS || in qcow2_do_open()
1479 if (s->subcluster_size < (1 << MIN_CLUSTER_BITS)) { in qcow2_do_open()
3421 if (cluster_bits < MIN_CLUSTER_BITS || cluster_bits > MAX_CLUSTER_BITS || in validate_cluster_size()
3425 "%dk", 1 << MIN_CLUSTER_BITS, 1 << (MAX_CLUSTER_BITS - 10)); in validate_cluster_size()
3431 (1 << MIN_CLUSTER_BITS) * QCOW_EXTL2_SUBCLUSTERS_PER_CLUSTER; in validate_cluster_size()
3714 QEMU_BUILD_BUG_ON((1 << MIN_CLUSTER_BITS) < sizeof(*header)); in qcow2_co_create()
H A Dqcow2.h108 #define MIN_CLUSTER_BITS 9 macro