Lines Matching defs:next
271 if (c->prev == c->next)
273 c->prev->next = c->next;
274 c->next->prev = c->prev;
281 self->next = BIN_TO_CHUNK(i);
283 self->next->prev = self;
284 self->prev->next = self;
292 struct chunk *next, *split;
296 next = NEXT_CHUNK(self);
303 next->psize = n1-n;
305 calculate_checksum(split, next);
408 struct chunk *self, *next;
458 next = NEXT_CHUNK(self);
461 if (next->psize != self->csize) a_crash();
473 split->csize = next->psize = n0-n | C_INUSE;
475 calculate_checksum(self, next);
484 size_t nsize = next->csize & C_INUSE ? 0 : CHUNK_SIZE(next);
488 if (!(next->csize & C_INUSE)) {
489 unbin(next, i);
491 next = NEXT_CHUNK(next);
492 self->csize = next->psize = n0+nsize | C_INUSE;
523 struct chunk *next = NEXT_CHUNK(self);
526 if (next->psize != self->csize) a_crash();
538 size_t nsize = next->csize & C_INUSE ? 0 : CHUNK_SIZE(next);
540 calculate_checksum(self, next);
558 if (!(next->csize & C_INUSE)) {
559 unbin(next, i);
560 next = NEXT_CHUNK(next);
572 next->psize = size;
574 calculate_checksum(self, next);
583 uintptr_t b = (uintptr_t)next - SIZE_ALIGN & -PAGE_SIZE;