Searched refs:new_chunk (Results 1 – 2 of 2) sorted by relevance
40 ElfAllocatorChunk* new_chunk = in alloc() local42 assert(new_chunk != NULL); in alloc()43 if (new_chunk == NULL) { in alloc()47 new_chunk->size = ELF_ALLOC_CHUNK_SIZE; in alloc()48 new_chunk->avail = INC_PTR(new_chunk, sizeof(ElfAllocatorChunk)); in alloc()49 new_chunk->remains = new_chunk->size - sizeof(ElfAllocatorChunk); in alloc()50 new_chunk->prev = current_chunk_; in alloc()51 current_chunk_ = new_chunk; in alloc()
247 register struct _obstack_chunk *new_chunk; in _obstack_newchunk() local260 new_chunk = CALL_CHUNKFUN (h, new_size); in _obstack_newchunk()261 if (!new_chunk) in _obstack_newchunk()263 h->chunk = new_chunk; in _obstack_newchunk()264 new_chunk->prev = old_chunk; in _obstack_newchunk()265 new_chunk->limit = h->chunk_limit = (char *) new_chunk + new_size; in _obstack_newchunk()269 __PTR_ALIGN ((char *) new_chunk, new_chunk->contents, h->alignment_mask); in _obstack_newchunk()299 new_chunk->prev = old_chunk->prev; in _obstack_newchunk()