Lines Matching refs:new
114 /* If we have space after the allocation, create a new node
166 struct mem_node *new = (struct mem_node *)ptr;
174 /* Determine if we should merge with previous, or add a new node. */
175 if ((word_t)prev + prev->size == (word_t)new) {
177 new = prev;
179 new->size = size;
180 prev->next = new;
183 /* Determine if we should merge the next with the new. */
184 if ((word_t)new + new->size == (word_t)current) {
185 new->size += current->size;
186 new->next = current->next;
188 new->next = current;