Lines Matching full:alloc
162 struct nouveau_mm_allocation *alloc;
191 alloc = MALLOC_STRUCT(nouveau_mm_allocation);
192 if (!alloc)
202 alloc->next = NULL;
203 alloc->offset = *offset;
204 alloc->priv = (void *)slab;
206 return alloc;
210 nouveau_mm_free(struct nouveau_mm_allocation *alloc)
212 struct mm_slab *slab = (struct mm_slab *)alloc->priv;
215 mm_slab_free(slab, alloc->offset >> slab->order);
226 FREE(alloc);