Lines Matching refs:contexts
55 LIST_HEAD(Context, contexts);
80 Context *contexts[MMAP_CACHE_MAX_CONTEXTS];
132 LIST_FOREACH(by_window, c, w->contexts) {
218 LIST_REMOVE(by_window, w->contexts, c);
220 if (!w->contexts && !w->keep_always) {
255 LIST_PREPEND(by_window, w->contexts, c);
263 c = m->contexts[id];
274 assert(!m->contexts[id]);
275 m->contexts[id] = c;
286 assert(c->cache->contexts[c->id] == c);
287 c->cache->contexts[c->id] = NULL;
343 if (m->contexts[i])
344 context_free(m->contexts[i]);
399 c = m->contexts[context];
568 LIST_PREPEND(by_window, w->contexts, c);