Searched refs:cache_slots (Results 1 – 2 of 2) sorted by relevance
232 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()1038 WRITE_ONCE(cache->index[page->physical_page], cache->cache_slots); in invalidate_page()1479 volume->page_cache.index[i] = volume->page_cache.cache_slots; in uds_replace_volume_storage()1480 for (i = 0; i < volume->page_cache.cache_slots; i++) in uds_replace_volume_storage()1500 cache->cache_slots = chapters_in_cache * geometry->record_pages_per_chapter; in initialize_page_cache()1504 result = VDO_ASSERT((cache->cache_slots <= VOLUME_CACHE_MAX_ENTRIES), in initialize_page_cache()[all …]
71 u16 cache_slots; member