/external/mesa3d/src/mesa/main/ |
D | mm.h | 35 struct mem_block { struct 36 struct mem_block *next, *prev; argument 37 struct mem_block *next_free, *prev_free; argument 38 struct mem_block *heap; argument 51 extern struct mem_block *mmInit(unsigned ofs, unsigned size); argument 63 extern struct mem_block *mmAllocMem(struct mem_block *heap, unsigned size, 71 extern int mmFreeMem(struct mem_block *b); 78 extern struct mem_block *mmFindBlock(struct mem_block *heap, unsigned start); 83 extern void mmDestroy(struct mem_block *mmInit); 88 extern void mmDumpMemInfo(const struct mem_block *mmInit);
|
D | mm.c | 34 mmDumpMemInfo(const struct mem_block *heap) in mmDumpMemInfo() 40 const struct mem_block *p; in mmDumpMemInfo() 60 struct mem_block * 63 struct mem_block *heap, *block; in mmInit() 68 heap = (struct mem_block *) calloc(1, sizeof(struct mem_block)); in mmInit() 72 block = (struct mem_block *) calloc(1, sizeof(struct mem_block)); in mmInit() 97 static struct mem_block * 98 SliceBlock(struct mem_block *p, in SliceBlock() 102 struct mem_block *newblock; in SliceBlock() 106 newblock = (struct mem_block*) calloc(1, sizeof(struct mem_block)); in SliceBlock() [all …]
|
D | execmem.c | 64 static struct mem_block *exec_heap = NULL; 93 struct mem_block *block = NULL; in _mesa_exec_malloc() 124 struct mem_block *block = mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem); in _mesa_exec_free()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_mm.h | 37 struct mem_block { struct 38 struct mem_block *next, *prev; argument 39 struct mem_block *next_free, *prev_free; argument 40 struct mem_block *heap; argument 52 extern struct mem_block *u_mmInit(int ofs, int size); argument 64 extern struct mem_block *u_mmAllocMem(struct mem_block *heap, int size, int align2, 72 extern int u_mmFreeMem(struct mem_block *b); 79 extern struct mem_block *u_mmFindBlock(struct mem_block *heap, int start); 84 extern void u_mmDestroy(struct mem_block *mmInit); 89 extern void u_mmDumpMemInfo(const struct mem_block *mmInit);
|
D | u_mm.c | 34 u_mmDumpMemInfo(const struct mem_block *heap) in u_mmDumpMemInfo() 41 const struct mem_block *p; in u_mmDumpMemInfo() 69 struct mem_block * 72 struct mem_block *heap, *block; in u_mmInit() 77 heap = CALLOC_STRUCT(mem_block); in u_mmInit() 81 block = CALLOC_STRUCT(mem_block); in u_mmInit() 106 static struct mem_block * 107 SliceBlock(struct mem_block *p, in SliceBlock() 111 struct mem_block *newblock; in SliceBlock() 115 newblock = CALLOC_STRUCT(mem_block); in SliceBlock() [all …]
|
/external/libdrm/intel/ |
D | mm.c | 36 drm_private void mmDumpMemInfo(const struct mem_block *heap) in mmDumpMemInfo() 42 const struct mem_block *p; in mmDumpMemInfo() 62 drm_private struct mem_block *mmInit(int ofs, int size) in mmInit() 64 struct mem_block *heap, *block; in mmInit() 69 heap = (struct mem_block *)calloc(1, sizeof(struct mem_block)); in mmInit() 73 block = (struct mem_block *)calloc(1, sizeof(struct mem_block)); in mmInit() 97 static struct mem_block *SliceBlock(struct mem_block *p, in SliceBlock() 101 struct mem_block *newblock; in SliceBlock() 106 (struct mem_block *)calloc(1, sizeof(struct mem_block)); in SliceBlock() 131 (struct mem_block *)calloc(1, sizeof(struct mem_block)); in SliceBlock() [all …]
|
D | mm.h | 38 struct mem_block { struct 39 struct mem_block *next, *prev; argument 40 struct mem_block *next_free, *prev_free; argument 41 struct mem_block *heap; argument 51 drm_private extern struct mem_block *mmInit(int ofs, int size); argument 63 drm_private extern struct mem_block *mmAllocMem(struct mem_block *heap, 72 drm_private extern int mmFreeMem(struct mem_block *b); 77 drm_private extern void mmDestroy(struct mem_block *mmInit); 82 drm_private extern void mmDumpMemInfo(const struct mem_block *mmInit);
|
D | intel_bufmgr_fake.c | 94 struct mem_block *mem; /* BM_MEM_AGP */ 123 struct mem_block *heap;
|
/external/mesa3d/src/gallium/auxiliary/rtasm/ |
D | rtasm_execmem.c | 67 static struct mem_block *exec_heap = NULL; 87 struct mem_block *block = NULL; in rtasm_exec_malloc() 116 struct mem_block *block = u_mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem); in rtasm_exec_free()
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | aligned_malloc.cc | 87 void AlignedFree(void* mem_block) { in AlignedFree() argument 88 if (mem_block == NULL) { in AlignedFree() 91 uintptr_t aligned_pos = reinterpret_cast<uintptr_t>(mem_block); in AlignedFree()
|
/external/webrtc/webrtc/system_wrappers/include/ |
D | aligned_malloc.h | 35 void AlignedFree(void* mem_block);
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_bufmgr_mm.c | 59 struct mem_block *heap; 82 struct mem_block *block;
|