Lines Matching defs:blocks
148 struct mem_block *blocks = drm_alloc(sizeof (*blocks), DRM_MEM_BUFS);
150 if (!blocks)
155 drm_free(blocks, sizeof (*blocks), DRM_MEM_BUFS);
159 blocks->start = start;
160 blocks->size = size;
161 blocks->filp = NULL;
162 blocks->next = blocks->prev = *heap;
166 (*heap)->next = (*heap)->prev = blocks;
171 * Free all blocks associated with the releasing file.