Lines Matching refs:pool
87 /* Currently used pool in stack_pools. */
89 /* Offset to the unused space in the currently used pool. */
94 * Stack depot tries to keep an extra pool allocated even before it runs out
95 * of space in the currently used pool.
96 * This flag marks that this next extra pool needs to be allocated and
97 * initialized. It has the value 0 when either the next pool is not yet
221 /* Uses preallocated memory to initialize a new stack depot pool. */
225 * If the next pool is already initialized or the maximum number of
233 /* Check if the current pool is not yet allocated. */
235 /* Use the preallocated memory for the current pool. */
240 * Otherwise, use the preallocated memory for the next pool
248 * At this point, either the next pool is initialized or the
250 * note that initializing another pool is not required.
258 /* Allocates a new stack in a stack depot pool. */
267 /* Check if there is not enough space in the current pool. */
269 /* Bail out if we reached the pool limit. */
276 * Move on to the next pool.
284 * that the next pool needs to initialized.
292 /* Assign the preallocated memory to a pool if required. */
296 /* Check if we have a pool to save the stack trace. */
395 * Check if another stack pool needs to be initialized. If so, allocate
469 void *pool;
484 WARN(1, "pool index %d out of bounds (%d) for stack id %08x\n",
488 pool = stack_pools[parts.pool_index];
489 if (!pool)
491 stack = pool + offset;