Searched refs:ctx_bitmap (Results 1 – 2 of 2) sorted by relevance
70 dev->ctx_bitmap == NULL) { in drm_ctxbitmap_free()78 clear_bit(ctx_handle, dev->ctx_bitmap); in drm_ctxbitmap_free()89 if (dev->ctx_bitmap == NULL) in drm_ctxbitmap_next()93 bit = find_first_zero_bit(dev->ctx_bitmap, DRM_MAX_CTXBITMAP); in drm_ctxbitmap_next()99 set_bit(bit, dev->ctx_bitmap); in drm_ctxbitmap_next()112 clear_bit(bit, dev->ctx_bitmap); in drm_ctxbitmap_next()123 clear_bit(bit, dev->ctx_bitmap); in drm_ctxbitmap_next()142 dev->ctx_bitmap = drm_calloc(1, DRM_PAGE_SIZE, DRM_MEM_CTXBITMAP); in drm_ctxbitmap_init()143 if (dev->ctx_bitmap == NULL) { in drm_ctxbitmap_init()167 drm_free(dev->ctx_bitmap, DRM_PAGE_SIZE, DRM_MEM_CTXBITMAP); in drm_ctxbitmap_cleanup()
821 uint32_t *ctx_bitmap; member