Home
last modified time | relevance | path

Searched refs:newblock (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/mesa/main/
Dmm.c102 struct mem_block *newblock; in SliceBlock() local
106 newblock = (struct mem_block*) calloc(1, sizeof(struct mem_block)); in SliceBlock()
107 if (!newblock) in SliceBlock()
109 newblock->ofs = startofs; in SliceBlock()
110 newblock->size = p->size - (startofs - p->ofs); in SliceBlock()
111 newblock->free = 1; in SliceBlock()
112 newblock->heap = p->heap; in SliceBlock()
114 newblock->next = p->next; in SliceBlock()
115 newblock->prev = p; in SliceBlock()
116 p->next->prev = newblock; in SliceBlock()
[all …]
Ddlist.c995 Node *newblock; in dlist_alloc() local
998 newblock = (Node *) malloc(sizeof(Node) * BLOCK_SIZE); in dlist_alloc()
999 if (!newblock) { in dlist_alloc()
1003 n[1].next = (Node *) newblock; in dlist_alloc()
1004 ctx->ListState.CurrentBlock = newblock; in dlist_alloc()
/external/libdrm/intel/
Dmm.c101 struct mem_block *newblock; in SliceBlock() local
105 newblock = in SliceBlock()
107 if (!newblock) in SliceBlock()
109 newblock->ofs = startofs; in SliceBlock()
110 newblock->size = p->size - (startofs - p->ofs); in SliceBlock()
111 newblock->free = 1; in SliceBlock()
112 newblock->heap = p->heap; in SliceBlock()
114 newblock->next = p->next; in SliceBlock()
115 newblock->prev = p; in SliceBlock()
116 p->next->prev = newblock; in SliceBlock()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_mm.c111 struct mem_block *newblock; in SliceBlock() local
115 newblock = CALLOC_STRUCT(mem_block); in SliceBlock()
116 if (!newblock) in SliceBlock()
118 newblock->ofs = startofs; in SliceBlock()
119 newblock->size = p->size - (startofs - p->ofs); in SliceBlock()
120 newblock->free = 1; in SliceBlock()
121 newblock->heap = p->heap; in SliceBlock()
123 newblock->next = p->next; in SliceBlock()
124 newblock->prev = p; in SliceBlock()
125 p->next->prev = newblock; in SliceBlock()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dmemory_pool.c56 struct memory_block * newblock; in refill_pool() local
61 newblock = (struct memory_block*)malloc(blocksize); in refill_pool()
62 newblock->next = pool->blocks; in refill_pool()
63 pool->blocks = newblock; in refill_pool()
65 pool->head = (unsigned char*)(newblock + 1); in refill_pool()
66 pool->end = ((unsigned char*)newblock) + blocksize; in refill_pool()
/external/mksh/src/
Dmain.c213 newblock(); in main_init()
Dvar.c63 newblock(void) in newblock() function
Dexec.c652 newblock(); in comexec()
Deval.c1833 newblock(); in valsub()
Dsh.h2016 void newblock(void);