Searched refs:mem_block (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/uts/intel/io/drm/ |
H A D | i915_mem.c | 56 void mark_block(drm_device_t * dev, struct mem_block *p, int in_use) in mark_block() 101 static struct mem_block *split_block(struct mem_block *p, int start, int size, drm_file_t *fpriv) in split_block() 105 struct mem_block *newblock = in split_block() 122 struct mem_block *newblock = in split_block() 142 static struct mem_block *alloc_block(struct mem_block *heap, int size, in alloc_block() 145 struct mem_block *p; in alloc_block() 157 static struct mem_block *find_block(struct mem_block *heap, int start) in find_block() 159 struct mem_block *p; in find_block() 168 struct mem_block *find_block_by_proc(struct mem_block *heap, drm_file_t *fpriv) in find_block_by_proc() 170 struct mem_block *p; in find_block_by_proc() [all …]
|
H A D | radeon_mem.c | 50 static struct mem_block * 51 split_block(struct mem_block *p, int start, int size, drm_file_t *filp) in split_block() 55 struct mem_block *newblock = in split_block() 72 struct mem_block *newblock = in split_block() 92 static struct mem_block * 93 alloc_block(struct mem_block *heap, int size, int align2, drm_file_t *filp) in alloc_block() 95 struct mem_block *p; in alloc_block() 107 static struct mem_block * 108 find_block(struct mem_block *heap, int start) in find_block() 110 struct mem_block *p; in find_block() [all …]
|
H A D | i915_drv.h | 89 struct mem_block { struct 90 struct mem_block *next; argument 91 struct mem_block *prev; argument 256 struct mem_block *agp_heap; 499 extern void i915_mem_takedown(struct mem_block **heap); 501 drm_file_t *filp, struct mem_block *heap); 502 extern struct mem_block **get_heap(drm_i915_private_t *, int); 503 extern struct mem_block *find_block_by_proc(struct mem_block *, drm_file_t *); 504 extern void mark_block(drm_device_t *, struct mem_block *, int); 505 extern void free_block(struct mem_block *);
|
H A D | radeon_drv.h | 198 struct mem_block { struct 199 struct mem_block *next; argument 200 struct mem_block *prev; argument 289 struct mem_block *gart_heap; 290 struct mem_block *fb_heap; 360 extern void radeon_mem_takedown(struct mem_block **heap); 361 extern void radeon_mem_release(drm_file_t *filp, struct mem_block *heap);
|
/titanic_50/usr/src/lib/libdwarf/common/ |
H A D | dwarf_alloc.c | 318 Dwarf_Small *mem_block; in _dwarf_find_memory() local 390 mem_block = malloc(mem_block_size); in _dwarf_find_memory() 391 if (mem_block == NULL) { in _dwarf_find_memory() 400 alloc_area = (Dwarf_Alloc_Area) mem_block; in _dwarf_find_memory() 426 ret_mem = mem_block + rounded_area_hdr_size; in _dwarf_find_memory() 429 alloc_area->aa_blob_end = mem_block + mem_block_size; in _dwarf_find_memory()
|