Lines Matching refs:suballoc
296 * drm_suballoc_alloc() - Allocate uninitialized suballoc object.
299 * Allocate memory for an uninitialized suballoc object. Intended usage is
300 * allocate memory for suballoc object outside of a reclaim tainted context
304 * suballoc object is in uninitialized state.
306 * Return: a new uninitialized suballoc object, or an ERR_PTR(-ENOMEM).
333 * Try to make a suballocation on a pre-allocated suballoc object of size @size,
456 * @suballoc: pointer to the suballocation
461 void drm_suballoc_free(struct drm_suballoc *suballoc,
466 if (!suballoc)
469 if (!suballoc->manager) {
470 kfree(suballoc);
474 sa_manager = suballoc->manager;
480 suballoc->fence = dma_fence_get(fence);
482 list_add_tail(&suballoc->flist, &sa_manager->flist[idx]);
484 drm_suballoc_remove_locked(suballoc);