Searched refs:free_contexts (Results 1 – 1 of 1) sorted by relevance
82 struct list_head free_contexts; member265 list_inithead(&renderer.free_contexts); in vtest_init_renderer()287 LIST_FOR_EACH_ENTRY_SAFE(ctx, tmp, &renderer.free_contexts, head) { in vtest_cleanup_renderer()291 list_inithead(&renderer.free_contexts); in vtest_cleanup_renderer()305 if (LIST_IS_EMPTY(&renderer.free_contexts)) { in vtest_new_context()321 ctx = LIST_ENTRY(struct vtest_context, renderer.free_contexts.next, head); in vtest_new_context()343 list_add(&ctx->head, &renderer.free_contexts); in vtest_free_context()