Lines Matching defs:allocation

340  * situations that cannot tolerate TLS variable access (TLS allocation and very
526 * allocation.
528 * choose[0]: For application allocation.
529 * choose[1]: For internal metadata allocation.
675 * code (in a "broad" sense that doesn't count a reentrant allocation as an
689 * allocation.
1879 * Create enough scaffolding to allow recursive allocation in
1927 /* Initialize data structures which may trigger recursive allocation. */
2138 /* Recursive allocation relies on functional tsd. */
2150 /* Initialize narenas before prof_boot2 (for allocation). */
2193 * Begin allocation-path internal functions and data structures.
2197 * Settings determined by the documented behavior of the allocation functions.
2201 /* Whether or not allocation size may overflow. */
2371 * allocation out of the tcache.
2441 * Returns true if the allocation will overflow, and false otherwise. Sets
2485 void *allocation = NULL;
2560 allocation = imalloc_no_sample(
2563 allocation = imalloc_sample(
2567 allocation = NULL;
2570 if (unlikely(allocation == NULL)) {
2574 prof_malloc(tsd, allocation, size, usize, &alloc_ctx, tctx);
2577 allocation = imalloc_no_sample(sopts, dopts, tsd, size, usize,
2579 if (unlikely(allocation == NULL)) {
2586 * post-allocation work to do though.
2592 || ((uintptr_t)allocation & (dopts->alignment - 1)) == ZU(0));
2594 assert(usize == isalloc(tsd_tsdn(tsd), allocation));
2598 junk_alloc_callback(allocation, usize);
2602 UTRACE(0, size, allocation);
2607 *dopts->result = allocation;
2677 /* Returns the errno-style error code of the allocation. */
3684 /* Sampled allocation needs to be page aligned. */
3713 * usize_max is out of range, and chances are that allocation
3715 * with prof_alloc_prep(), just in case allocation succeeds.
4245 * not be empty for the next allocation request.
4272 * if there's a single allocation of size (n * usize). This is
4274 * (a) these events do not alter the allocation itself, and
4407 * If an application creates a thread before doing any allocation in the main
4408 * thread, then calls fork(2) in the main thread followed by memory allocation