Lines Matching full:pool

38  *	Declaration of the pool.
39 * The pool manages a pool of objects.
40 * The pool can grow to meet demand, limited only by system memory.
57 /****h* Component Library/Pool
59 * Pool
62 * The pool provides a self-contained and self-sustaining pool
65 * To aid in object oriented design, the pool provides the user
70 * A pool does not return memory to the system as the user returns
71 * objects to the pool. The only method of returning memory to the system is
72 * to destroy the pool.
74 * The Pool functions operate on a cl_pool_t structure which should be treated
93 /****d* Component Library: Pool/cl_pfn_pool_init_t
100 * pool.
134 * Pool, cl_pool_init, cl_pool_grow
137 /****d* Component Library: Pool/cl_pfn_pool_dtor_t
144 * pool.
168 * the memory for the object, as the pool manages object
172 * Pool, cl_pool_init
175 /****s* Component Library: Pool/cl_pool_t
180 * pool structure.
196 * Quick composite pool that manages all objects.
199 * Pointer to the user's initializer callback, used by the pool
200 * to translate the quick composite pool's initializer callback to
201 * a pool initializer callback.
204 * Pointer to the user's destructor callback, used by the pool
205 * to translate the quick composite pool's destructor callback to
206 * a pool destructor callback.
209 * User's provided context for callback functions, used by the pool
213 * Pool
216 /****f* Component Library: Pool/cl_pool_construct
221 * The cl_pool_construct function constructs a pool.
238 * pool function except cl_pool_init.
241 * Pool, cl_pool_init, cl_pool_destroy, cl_is_pool_inited
244 /****f* Component Library: Pool/cl_is_pool_inited
249 * The cl_is_pool_inited function returns whether a pool was successfully
268 * TRUE if the pool was initialized successfully.
273 * Allows checking the state of a pool to determine if invoking member
277 * Pool
280 /****f* Component Library: Pool/cl_pool_init
285 * The cl_pool_init function initializes a pool for use.
304 * [in] Minimum number of objects that the pool should support. All
310 * [in] Maximum number of objects to which the pool is allowed to grow.
314 * [in] Number of objects to allocate when incrementally growing the pool.
322 * growing the pool. This parameter is optional and may be NULL.
336 * CL_SUCCESS if the pool was initialized successfully.
339 * pool.
348 * cl_pool_init initializes, and if necessary, grows the pool to
352 * Pool, cl_pool_construct, cl_pool_destroy,
357 /****f* Component Library: Pool/cl_pool_destroy
362 * The cl_pool_destroy function destroys a pool.
383 * on the pool should not be attempted after cl_pool_destroy
390 * the pool.
393 * Pool, cl_pool_construct, cl_pool_init
396 /****f* Component Library: Pool/cl_pool_count
402 * in a pool.
419 * Returns the number of objects available in the specified pool.
422 * Pool
425 /****f* Component Library: Pool/cl_pool_get
430 * The cl_pool_get function retrieves an object from a pool.
457 * Returns NULL if the pool is empty and can not be grown automatically.
460 * cl_pool_get returns the object at the head of the pool. If the pool is
465 * Pool, cl_pool_get_tail, cl_pool_put, cl_pool_grow, cl_pool_count
468 /****f* Component Library: Pool/cl_pool_put
473 * The cl_pool_put function returns an object to a pool.
502 * [in] Pointer to an object to return to the pool.
508 * cl_pool_put places the returned object at the head of the pool.
511 * retrieved from the pool by a previous call to cl_pool_get.
514 * Pool, cl_pool_put_tail, cl_pool_get
517 /****f* Component Library: Pool/cl_pool_grow
522 * The cl_pool_grow function grows a pool by
540 * [in] Number of objects by which to grow the pool.
543 * CL_SUCCESS if the pool grew successfully.
546 * pool.
553 * It is not necessary to call cl_pool_grow if the pool is
557 * Pool