Lines Matching defs:used
118 recursive versions are used instead (which are not required for
152 broken in approximately least-recently-used order. (This strategy
156 to that used for the previous small request, as well as by breaking
157 ties in approximately most-recently-used order. (These enhance
161 possibly fragmenting memory used only for large chunks.)
266 non-zero value other than 1, locks are used, but their
274 used.
284 assumes that pthread locks (not custom locks) are being used. In other
386 HAVE_MORECORE is not true, MMAP is used for all system
388 primarily used to directly allocate very large blocks. It is also
389 used as a backup strategy in cases where MORECORE fails to provide
402 USE_BUILTIN_FFS default: 0 (i.e., not used)
417 USE_DEV_RANDOM default: 0 (i.e., not used)
419 stamping footers. Otherwise, the current time is used.
429 size_t. The value is used only if HAVE_USR_INCLUDE_MALLOC_H is not set
490 normal freed space already exists it is used instead.) Using mmap
502 cannot be reclaimed, consolidated, and then used to service later
721 are used in this malloc, so setting them has no effect. But this
781 inlining are defined as macros, so these aren't used for them.
892 to be used as an argument to realloc is not supported.
901 less than or equal to p's size). This may be used instead of plain
917 not a power of two, the nearest greater power is used.
938 size of the system. If the pagesize is unknown, 4096 is used.
1011 retroactively deallocate existing used memory.
1023 region, skipping all bytes that are (or may be) used for bookkeeping
1036 void count_chunks(void* start, void* end, size_t used, void* arg) {
1037 if (used >= 1000) ++count;
1155 independent_comalloc can be used to speed up allocation in cases
1188 If footers are used, pointers that have been allocated in different
1211 memory will be locked between two used chunks, so they cannot be
1291 used by the space become undefined.
1298 space is used for bookkeeping, so the capacity must be at least this
2134 size, and can be used to find the front of the previous chunk.
2164 specially. Top is never included in any bin, is used only if
2177 also used to hold the offset this chunk has within its mmapped
2187 struct malloc_chunk* fd; /* double links -- used only if free. */
2243 FLAG4_BIT is not used by this malloc, but might be useful in extensions.
2357 the oldest chunk (the next to be used, in our FIFO ordering)
2427 used preferentially to MMAP when both are available -- see
2437 used for chunks to reduce fragmentation -- new adjacent memory is
2523 clears the bit when empty. Bit operations are then used to avoid
2527 For a good description of some of the bit-based techniques used
2565 A void* pointer and a size_t field that can be used to help implement
2631 /* The global malloc_state used for all non-"mspace" calls */
2994 verify footer fields of inuse chunks, which can be used guarantee
3400 /* Find x in a bin. Used in other check functions. */
3549 size_t used = 0;
3555 used = fp - (m->topsize + TOP_FOOT_SIZE);
3562 used -= chunksize(q);
3571 fprintf(stderr, "in use bytes = %10lu\n", (unsigned long)(used));
3649 /* Used only when dvsize known to be small */
4094 used as a noncontiguous system allocator. This is a useful backup
4271 /* Unmap and unlink any mmapped segments that don't contain used chunks */
4576 chunk adjacent to the one used for the most recent small request.
5179 size_t used;
5182 used = sz - CHUNK_OVERHEAD; /* must not be mmapped */
5186 used = 0;
5195 handler(start, next, used, arg);
6175 * Remove some options that no one ever used and rename others.
6291 * Try not to scavenge used bins