Lines Matching refs:alloc
243 drm_radeon_mem_alloc_t alloc;
257 alloc.region = alloc32.region;
258 alloc.alignment = alloc32.alignment;
259 alloc.size = alloc32.size;
260 alloc.region_offset = (void *)(uintptr_t)alloc32.region_offset;
263 DRM_COPYFROM_WITH_RETURN(&alloc, (void *) data, sizeof (alloc));
268 heap = get_heap(dev_priv, alloc.region);
276 if (alloc.alignment < 12)
277 alloc.alignment = 12;
279 block = alloc_block(*heap, alloc.size, alloc.alignment, fpriv);
284 if (DRM_COPY_TO_USER(alloc.region_offset, &block->start,