HomeSort by relevance Sort by last modified time
    Searched full:mem_block (Results 1 - 16 of 16) sorted by null

  /external/libdrm/intel/
mm.h 32 struct mem_block { struct
33 struct mem_block *next, *prev;
34 struct mem_block *next_free, *prev_free;
35 struct mem_block *heap;
55 extern struct mem_block *mmInit(int ofs, int size);
67 extern struct mem_block *mmAllocMem(struct mem_block *heap, int size,
75 extern int mmFreeMem(struct mem_block *b);
82 extern struct mem_block *mmFindBlock(struct mem_block *heap, int start)
    [all...]
mm.c 31 void mmDumpMemInfo(const struct mem_block *heap)
37 const struct mem_block *p;
57 struct mem_block *mmInit(int ofs, int size)
59 struct mem_block *heap, *block;
64 heap = (struct mem_block *)calloc(1, sizeof(struct mem_block));
68 block = (struct mem_block *)calloc(1, sizeof(struct mem_block));
92 static struct mem_block *SliceBlock(struct mem_block *p
    [all...]
intel_bufmgr_fake.c 71 /* Wrapper around mm.c's mem_block, which understands that you must
98 struct mem_block *mem; /* BM_MEM_AGP */
127 struct mem_block *heap;
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_mm.h 37 struct mem_block { struct
38 struct mem_block *next, *prev;
39 struct mem_block *next_free, *prev_free;
40 struct mem_block *heap;
52 extern struct mem_block *u_mmInit(int ofs, int size);
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)
    [all...]
u_mm.c 34 u_mmDumpMemInfo(const struct mem_block *heap)
41 const struct mem_block *p;
69 struct mem_block *
72 struct mem_block *heap, *block;
77 heap = CALLOC_STRUCT(mem_block);
81 block = CALLOC_STRUCT(mem_block);
106 static struct mem_block *
107 SliceBlock(struct mem_block *p,
111 struct mem_block *newblock;
115 newblock = CALLOC_STRUCT(mem_block);
    [all...]
  /external/mesa3d/src/mesa/main/
mm.h 35 struct mem_block { struct
36 struct mem_block *next, *prev;
37 struct mem_block *next_free, *prev_free;
38 struct mem_block *heap;
51 extern struct mem_block *mmInit(unsigned ofs, unsigned size);
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)
    [all...]
mm.c 34 mmDumpMemInfo(const struct mem_block *heap)
40 const struct mem_block *p;
60 struct mem_block *
63 struct mem_block *heap, *block;
68 heap = (struct mem_block *) calloc(1, sizeof(struct mem_block));
72 block = (struct mem_block *) calloc(1, sizeof(struct mem_block));
97 static struct mem_block *
98 SliceBlock(struct mem_block *p,
    [all...]
execmem.c 64 static struct mem_block *exec_heap = NULL;
93 struct mem_block *block = NULL;
124 struct mem_block *block = mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem);
  /external/mesa3d/src/gallium/auxiliary/rtasm/
rtasm_execmem.c 67 static struct mem_block *exec_heap = NULL;
87 struct mem_block *block = NULL;
116 struct mem_block *block = u_mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem);
  /external/libvpx/libvpx/vpx_mem/include/
vpx_mem_tracker.h 26 struct mem_block { struct
31 struct mem_block *prev,
34 int padded; // This mem_block has padding for integrity checks.
100 struct mem_block *vpx_memory_tracker_find(size_t addr);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/include/
vpx_mem_tracker.h 26 struct mem_block { struct
31 struct mem_block *prev,
34 int padded; // This mem_block has padding for integrity checks.
100 struct mem_block *vpx_memory_tracker_find(size_t addr);
  /external/libvpx/libvpx/vpx_mem/
vpx_mem_tracker.c 86 static struct mem_block *memory_tracker_find(size_t addr);
98 struct mem_block *head,
160 if ((memtrack.head = (struct mem_block *)
161 MEM_TRACK_MALLOC(sizeof(struct mem_block)))) {
164 MEM_TRACK_MEMSET(memtrack.head, 0, sizeof(struct mem_block));
215 struct mem_block *p = memtrack.head,
279 struct mem_block *vpx_memory_tracker_find(size_t addr) {
280 struct mem_block *p = NULL;
442 struct mem_block *p = (memtrack.head ? memtrack.head->next : NULL);
488 struct mem_block *p = memtrack.head->next
    [all...]
vpx_mem.c 274 struct mem_block *p = NULL;
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/
vpx_mem_tracker.c 86 static struct mem_block *memory_tracker_find(size_t addr);
98 struct mem_block *head,
160 if ((memtrack.head = (struct mem_block *)
161 MEM_TRACK_MALLOC(sizeof(struct mem_block)))) {
164 MEM_TRACK_MEMSET(memtrack.head, 0, sizeof(struct mem_block));
215 struct mem_block *p = memtrack.head,
279 struct mem_block *vpx_memory_tracker_find(size_t addr) {
280 struct mem_block *p = NULL;
442 struct mem_block *p = (memtrack.head ? memtrack.head->next : NULL);
488 struct mem_block *p = memtrack.head->next
    [all...]
vpx_mem.c 274 struct mem_block *p = NULL;
  /external/mesa3d/src/gallium/auxiliary/pipebuffer/
pb_bufmgr_mm.c 59 struct mem_block *heap;
82 struct mem_block *block;

Completed in 226 milliseconds