Lines Matching refs:cache
30 #include "mmap-cache.h"
39 MMapCache *cache;
59 MMapCache *cache;
67 MMapCache *cache;
126 if (w->cache->last_unused == w)
127 w->cache->last_unused = w->unused_prev;
129 LIST_REMOVE(unused, w->cache->unused, w);
157 w->cache->n_windows--;
195 w->cache = m;
227 LIST_PREPEND(unused, c->cache->unused, w);
228 if (!c->cache->last_unused)
229 c->cache->last_unused = w;
247 LIST_REMOVE(unused, c->cache->unused, w);
248 if (c->cache->last_unused == w)
249 c->cache->last_unused = w->unused_prev;
271 c->cache = m;
285 if (c->cache) {
286 assert(c->cache->contexts[c->id] == c);
287 c->cache->contexts[c->id] = NULL;
299 if (f->cache)
300 assert_se(hashmap_remove(f->cache->fds, FD_TO_PTR(f->fd)));
324 f->cache = m;