Lines Matching refs:mem_block
50 static struct mem_block *
51 split_block(struct mem_block *p, int start, int size, drm_file_t *filp)
55 struct mem_block *newblock =
72 struct mem_block *newblock =
92 static struct mem_block *
93 alloc_block(struct mem_block *heap, int size, int align2, drm_file_t *filp)
95 struct mem_block *p;
107 static struct mem_block *
108 find_block(struct mem_block *heap, int start)
110 struct mem_block *p;
120 free_block(struct mem_block *p)
129 struct mem_block *q = p->next;
137 struct mem_block *q = p->prev;
149 init_heap(struct mem_block **heap, int start, int size)
151 struct mem_block *blocks = drm_alloc(sizeof (*blocks), DRM_MEM_BUFS);
177 radeon_mem_release(drm_file_t *filp, struct mem_block *heap)
179 struct mem_block *p;
195 struct mem_block *q = p->next;
208 radeon_mem_takedown(struct mem_block **heap)
210 struct mem_block *p;
216 struct mem_block *q = p;
227 static struct mem_block **
247 struct mem_block *block, **heap;
303 struct mem_block *block, **heap;
334 struct mem_block **heap;