Lines Matching refs:cached
214 uint8_t *cached; in link_source_name_get() local
224 if (!log_cache_get(&sname_cache, id.raw, &cached)) { in link_source_name_get()
232 cached, &cache_size); in link_source_name_get()
237 log_cache_put(&sname_cache, cached); in link_source_name_get()
240 return (const char *)cached; in link_source_name_get()
266 uint8_t *cached; in link_domain_name_get() local
272 if (!log_cache_get(&dname_cache, id, &cached)) { in link_domain_name_get()
279 err = log_link_get_domain_name(link, rel_domain_id, cached, &cache_size); in link_domain_name_get()
281 log_cache_release(&dname_cache, cached); in link_domain_name_get()
285 log_cache_put(&dname_cache, cached); in link_domain_name_get()
288 return (const char *)cached; in link_domain_name_get()