Lines Matching refs:next

342    of Fast-Bins and TCache.  That is, mask the "next" pointers of the
1161 /* Only used for large blocks: pointer to next larger size. */
1196 | Size of next chunk, in bytes |A|0|1|
1201 user. "Nextchunk" is the beginning of the next contiguous chunk.
1214 | Forward pointer to next chunk in list |
1224 | Size of next chunk, in bytes |A|0|0|
1255 trailing size field since there is no next contiguous chunk
1347 block with the header for the next chunk, so ensure that we
1413 /* Ptr to next physical malloc_chunk. */
1858 struct malloc_state *next;
1929 .next = &main_arena,
2128 mchunkptr next = chunk_at_offset (p, sz);
2145 assert (next == av->top || inuse (next));
2162 mchunkptr next;
2167 return; /* mmapped chunks have no next/prev */
2172 next = next_chunk (p);
2186 if (next == av->top)
2188 assert (prev_inuse (next));
2189 assert (chunksize (next) >= MINSIZE);
2191 else if (!inuse (next))
2192 do_check_free_chunk (av, next);
3128 struct tcache_entry *next;
3183 e->next = PROTECT_PTR (&e->next, tcache->entries[tc_idx]);
3196 tcache->entries[tc_idx] = REVEAL_PTR (e->next);
3226 tcache_tmp->entries[i] = REVEAL_PTR (e->next);
3998 mchunkptr next = chunk_at_offset (victim, size);
4003 if (__glibc_unlikely (chunksize_nomask (next) < CHUNK_HDR_SZ)
4004 || __glibc_unlikely (chunksize_nomask (next) > av->system_mem))
4005 malloc_printerr ("malloc(): invalid next size (unsorted)");
4006 if (__glibc_unlikely ((prev_size (next) & ~(SIZE_BITS)) != size))
4007 malloc_printerr ("malloc(): mismatching next->prev_size (unsorted)");
4011 if (__glibc_unlikely (prev_inuse (next)))
4012 malloc_printerr ("malloc(): invalid next->prev_inuse (unsorted)");
4246 Search for a chunk by scanning bins, starting with next largest
4424 mchunkptr nextchunk; /* next contiguous chunk */
4466 tmp = REVEAL_PTR (tmp->next), ++cnt)
4522 malloc_printerr ("free(): invalid next size (fast)");
4584 /* Or whether the next chunk is beyond the boundaries of the arena. */
4596 malloc_printerr ("free(): invalid next size (normal)");
4719 mchunkptr nextp; /* next chunk to consolidate */
4823 mchunkptr next; /* next contiguous chunk after oldp */
4838 next = chunk_at_offset (oldp, oldsize);
4839 INTERNAL_SIZE_T nextsize = chunksize (next);
4840 if (__builtin_expect (chunksize_nomask (next) <= CHUNK_HDR_SZ, 0)
4842 malloc_printerr ("realloc(): invalid next size");
4854 if (next == av->top &&
4865 /* Try to expand forward into next chunk; split off remainder below */
4866 else if (next != av->top &&
4867 !inuse (next) &&
4872 unlink_chunk (av, next);
4886 Avoid copy if newp is next chunk after oldp.
4888 if (newp == next)
4981 we can move to the next aligned spot -- we've allocated enough
5110 ar_ptr = ar_ptr->next;
5230 ar_ptr = ar_ptr->next;
5292 ar_ptr = ar_ptr->next;
5885 ar_ptr = ar_ptr->next;