Lines Matching defs:cache
61 pa_hashmap *cache;
272 static void make_room(pa_hashmap *cache) {
273 pa_assert(cache);
275 while (pa_hashmap_size(cache) >= MAX_CACHE_SIZE) {
278 pa_assert_se(r = pa_hashmap_steal_first(cache));
301 if ((r = pa_hashmap_get(u->cache, pn))) {
307 make_room(u->cache);
312 pa_hashmap_put(u->cache, r->process_name, r);
349 u->cache = pa_hashmap_new_full(pa_idxset_string_hash_func, pa_idxset_string_compare_func, NULL, (pa_free_cb_t) rule_free);
379 if (u->cache)
380 pa_hashmap_free(u->cache);