Home
last modified time | relevance | path

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

/drivers/md/dm-vdo/indexer/
A Dvolume.c232 for (i = 0; i < cache->cache_slots; i++) { in select_victim_in_cache()
246 WRITE_ONCE(cache->index[page->physical_page], cache->cache_slots); in select_victim_in_cache()
296 WRITE_ONCE(cache->index[physical_page], cache->cache_slots); in cancel_page_in_cache()
388 WRITE_ONCE(cache->index[entry->physical_page], cache->cache_slots); in reserve_read_queue_entry()
666 if (!queued && (index < cache->cache_slots)) { in get_page_and_index()
1481 volume->page_cache.index[i] = volume->page_cache.cache_slots; in uds_replace_volume_storage()
1482 for (i = 0; i < volume->page_cache.cache_slots; i++) in uds_replace_volume_storage()
1508 cache->cache_slots, VOLUME_CACHE_MAX_ENTRIES); in initialize_page_cache()
1534 cache->index[i] = cache->cache_slots; in initialize_page_cache()
1536 for (i = 0; i < cache->cache_slots; i++) in initialize_page_cache()
[all …]
A Dvolume.h71 u16 cache_slots; member

Completed in 8 milliseconds