Searched refs:virgl_context_table (Results 1 – 1 of 1) sorted by relevance
34 static struct util_hash_table *virgl_context_table; variable46 virgl_context_table = util_hash_table_create(hash_func_u32, in virgl_context_table_init()49 return virgl_context_table ? 0 : ENOMEM; in virgl_context_table_init()55 util_hash_table_destroy(virgl_context_table); in virgl_context_table_cleanup()61 util_hash_table_clear(virgl_context_table); in virgl_context_table_reset()68 virgl_context_table, uintptr_to_pointer(ctx->ctx_id), ctx); in virgl_context_add()75 util_hash_table_remove(virgl_context_table, uintptr_to_pointer(ctx_id)); in virgl_context_remove()81 return util_hash_table_get(virgl_context_table, in virgl_context_lookup()97 util_hash_table_foreach(virgl_context_table, in virgl_context_foreach()