Searched refs:cache_index (Results 1 – 16 of 16) sorted by relevance
38 size_t cache_index; in getPage() local39 if (getFromCache(page_index, &cache_index)) { in getPage()41 *begin = cached_pages_[cache_index].begin; in getPage()42 *end = cached_pages_[cache_index].end; in getPage()43 *page = cached_pages_[cache_index].page; in getPage()47 static_cast<std::ptrdiff_t>(cache_index)); in getPage()68 size_t* cache_index) const { in getFromCache()71 *cache_index = i; in getFromCache()
62 bool getFromCache(size_t page_index, size_t* cache_index) const;
485 FTC_Cache cache = manager->caches[node->cache_index]; in FTC_Manager_Check()488 if ( (FT_UInt)node->cache_index >= manager->num_caches ) in FTC_Manager_Check()490 node->cache_index )); in FTC_Manager_Check()695 (FT_UInt)node->cache_index < manager->num_caches ) in FTC_Node_Unref()
281 if ( node->cache_index >= manager->num_caches ) in ftc_node_destroy()288 cache = manager->caches[node->cache_index]; in ftc_node_destroy()421 node->cache_index = (FT_UInt16)cache->index; in ftc_cache_add()
63 FT_UShort cache_index; /* index of cache the node belongs to */ member
484 FTC_Cache cache = manager->caches[node->cache_index]; in FTC_Manager_Check()487 if ( (FT_UInt)node->cache_index >= manager->num_caches ) in FTC_Manager_Check()489 node->cache_index )); in FTC_Manager_Check()694 (FT_UInt)node->cache_index < manager->num_caches ) in FTC_Node_Unref()
280 if ( node->cache_index >= manager->num_caches ) in ftc_node_destroy()287 cache = manager->caches[node->cache_index]; in ftc_node_destroy()420 node->cache_index = (FT_UInt16)cache->index; in ftc_cache_add()
488 FTC_Cache cache = manager->caches[node->cache_index]; in FTC_Manager_Check()491 if ( (FT_UInt)node->cache_index >= manager->num_caches ) in FTC_Manager_Check()493 node->cache_index )); in FTC_Manager_Check()698 (FT_UInt)node->cache_index < manager->num_caches ) in FTC_Node_Unref()
279 if ( node->cache_index >= manager->num_caches ) in ftc_node_destroy()286 cache = manager->caches[node->cache_index]; in ftc_node_destroy()419 node->cache_index = (FT_UShort)cache->index; in ftc_cache_add()
593 if (!h->cache_index) { in __nft_flush_cache()594 h->cache_index++; in __nft_flush_cache()595 h->cache = &h->__cache[h->cache_index]; in __nft_flush_cache()742 while (h->cache_index) in nft_release_cache()743 flush_cache(h, &h->__cache[h->cache_index--], NULL); in nft_release_cache()
101 unsigned int cache_index; member
59 using cache_index = std::map<connection_id_type, std::unique_ptr<CacheService>>; variable284 cache_index all_caches_;