Home
last modified time | relevance | path

Searched refs:l2_cache_counts (Results 1 – 4 of 4) sorted by relevance

/external/qemu/block/
Dqcow2-cluster.c99 memset(s->l2_cache_counts, 0, L2_CACHE_SIZE * sizeof(uint32_t)); in qcow2_l2_cache_reset()
112 if (s->l2_cache_counts[i] < min_count) { in l2_cache_new_entry()
113 min_count = s->l2_cache_counts[i]; in l2_cache_new_entry()
139 if (++s->l2_cache_counts[i] == 0xffffffff) { in seek_l2_table()
141 s->l2_cache_counts[j] >>= 1; in seek_l2_table()
187 s->l2_cache_counts[min_index] = 1; in l2_load()
282 s->l2_cache_counts[min_index] = 1; in l2_allocate()
Dvmdk.c75 uint32_t l2_cache_counts[L2_CACHE_SIZE]; member
509 if (++s->l2_cache_counts[i] == 0xffffffff) { in get_cluster_offset()
511 s->l2_cache_counts[j] >>= 1; in get_cluster_offset()
522 if (s->l2_cache_counts[i] < min_count) { in get_cluster_offset()
523 min_count = s->l2_cache_counts[i]; in get_cluster_offset()
533 s->l2_cache_counts[min_index] = 1; in get_cluster_offset()
Dqcow.c69 uint32_t l2_cache_counts[L2_CACHE_SIZE]; member
285 if (++s->l2_cache_counts[i] == 0xffffffff) { in get_cluster_offset()
287 s->l2_cache_counts[j] >>= 1; in get_cluster_offset()
298 if (s->l2_cache_counts[i] < min_count) { in get_cluster_offset()
299 min_count = s->l2_cache_counts[i]; in get_cluster_offset()
315 s->l2_cache_counts[min_index] = 1; in get_cluster_offset()
848 memset(s->l2_cache_counts, 0, L2_CACHE_SIZE * sizeof(uint32_t)); in qcow_make_empty()
Dqcow2.h97 uint32_t l2_cache_counts[L2_CACHE_SIZE]; member