Searched refs:newblock (Results 1 – 10 of 10) sorted by relevance
102 struct mem_block *newblock; in SliceBlock() local106 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 …]
995 Node *newblock; in dlist_alloc() local998 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()
101 struct mem_block *newblock; in SliceBlock() local105 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 …]
111 struct mem_block *newblock; in SliceBlock() local115 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 …]
56 struct memory_block * newblock; in refill_pool() local61 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()
213 newblock(); in main_init()
63 newblock(void) in newblock() function
652 newblock(); in comexec()
1833 newblock(); in valsub()
2016 void newblock(void);