Lines Matching refs:pool
26 * initializes a new bulk allocator with a pool and allocates memory for it.
31 * @param constraints memory requirements for this pool or NULL if none
52 err = bulk_pool_alloc(&alloc->pool, buffer_count, buffer_size);
57 /* reserve a virtual memory range for the pool */
69 err = frame_alloc(&alloc->pool->pool_cap, pool_size, &ret_size);
81 alloc->pool->trust = constraints->trust;
89 err = bulk_pool_map(alloc->pool);
97 struct bulk_buffer *buf = alloc->pool->buffers[i];
115 * @param frame capability for backing the bulk pool
126 * Frees up the bulk allocator and it's pool.
143 buf = alloc->pool->buffers[4];
264 if (buffer->pool != alloc->pool) {