Lines Matching full:emergency
167 * The number of emergency buffers held by this thread. This is 0 in
168 * normal operation - the emergency buffers are only used when malloc()
170 * permitted to hold more than 4 emergency buffers (as per recommendation
533 * An emergency allocation reserved for when malloc fails. This is treated as
542 * Lock used to protect emergency allocation.
547 * emergency malloc() buffer at once.
552 * Allocates size bytes from the emergency allocation mechanism, if possible.
554 * emergency buffers. If all emergency buffers are allocated, it will sleep
562 // Only 4 emergency buffers allowed per thread! in emergency_malloc()
571 // using the emergency buffer if there is some real memory that we can in emergency_malloc()
590 // of the emergency buffers. in emergency_malloc()
622 "Trying to free something that is not an emergency buffer!"); in emergency_malloc_free()
628 // waiting for some space in the emergency buffer in emergency_malloc_free()
642 // If calloc() doesn't want to give us any memory, try using an emergency in alloc_or_die()
659 // If this allocation is within the address range of the emergency buffer, in free_exception()
676 * emergency buffer if malloc() fails, and may block if there are no such