Lines Matching refs:new
98 /* If we have space after the allocation, create a new node
137 struct mem_node *new = (struct mem_node *)ptr;
148 /* Determine if we should merge with previous, or add a new node. */
149 if ((word_t)prev + prev->size == (word_t)new) {
151 new = prev;
153 new->size = size;
154 prev->next = new;
157 /* Determine if we should merge the next with the new. */
158 if ((word_t)new + new->size == (word_t)current) {
159 new->size += current->size;
160 new->next = current->next;
162 new->next = current;