Lines Matching refs:generation
113 // The generation number of the context which last modified this state.
114 uint32_t generation{0u};
143 ContextCache* GetCurrentContextCache(uint32_t generation) {
146 if (likely(cache->generation == generation))
148 if (unlikely(cache->generation > generation))
154 cache->generation = generation;
161 StringEntry* CacheStringEntry(uint32_t generation,
163 ContextCache* cache = GetCurrentContextCache(generation);
183 ThreadEntry* CacheThreadEntry(uint32_t generation, zx_koid_t thread_koid) {
184 ContextCache* cache = GetCurrentContextCache(generation);
502 StringEntry* entry = CacheStringEntry(context->generation(), string_literal);
605 trace::ContextCache* cache = trace::GetCurrentContextCache(context->generation());
638 // Slow path: the context's generation is out of date so we can't
677 trace::ThreadEntry* entry = trace::CacheThreadEntry(context->generation(), vthread_koid);