Searched refs:newblock (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lmem.c | 48 void *newblock; in luaM_growaux_() local 60 newblock = luaM_reallocv(L, block, *size, newsize, size_elems); in luaM_growaux_() 62 return newblock; in luaM_growaux_() 76 void *newblock; in luaM_realloc_() local 84 newblock = (*g->frealloc)(g->ud, block, osize, nsize); in luaM_realloc_() 85 if (newblock == NULL && nsize > 0) { in luaM_realloc_() 90 newblock = (*g->frealloc)(g->ud, block, osize, nsize); /* try again */ in luaM_realloc_() 92 if (newblock == NULL) in luaM_realloc_() 95 lua_assert((nsize == 0) == (newblock == NULL)); in luaM_realloc_() 97 return newblock; in luaM_realloc_()
|
/illumos-gate/usr/src/lib/libmapmalloc/common/ |
H A D | textmem.c | 226 struct block *newblock; in split() local 227 newblock = (struct block *)((char *)block + HDR_BLOCK + size); in split() 228 newblock->next = block->next; in split() 229 block->next = newblock; in split() 230 newblock->status = FREE; in split() 231 newblock->page = block->page; in split() 232 newblock->size = block->size - size - HDR_BLOCK; in split()
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | malloc.c | 138 struct block *newblock; in split() local 140 newblock = (struct block *) in split() 142 newblock->next = block->next; in split() 143 block->next = newblock; in split() 144 newblock->status = FREE; in split() 145 newblock->page = block->page; in split() 146 newblock->size = block->size - size - HDR_BLOCK; in split()
|
/illumos-gate/usr/src/cmd/svc/common/ |
H A D | manifest_find.c | 88 manifest_info_t **newblock; in add_pointer() local 94 newblock = realloc(tsdp->tsd_array, in add_pointer() 96 if (newblock == NULL) in add_pointer() 98 tsdp->tsd_array = newblock; in add_pointer()
|