Lines Matching full:pool
38 * Declaration of the composite pool.
39 * The composite pool managers a pool of composite objects. A composite object is an object
41 * The pool can grow to meet demand, limited only by system memory.
58 /****h* Component Library/Composite Pool
60 * Composite Pool
63 * The Composite Pool provides a self-contained and self-sustaining pool of
68 * initialization. Objects can be retrieved from the pool as long as there
71 * To aid in object oriented design, the composite pool provides the user
76 * A composite pool does not return memory to the system as the user returns
77 * objects to the pool. The only method of returning memory to the system is
78 * to destroy the pool.
80 * The composite pool functions operates on a cl_cpool_t structure which
100 /****d* Component Library: Composite Pool/cl_pfn_cpool_init_t
107 * composite pool.
147 * Composite Pool, cl_cpool_init, cl_cpool_grow
150 /****d* Component Library: Composite Pool/cl_pfn_cpool_dtor_t
157 * composite pool.
181 * the memory for the composite object, as the composite pool manages
185 * Composite Pool, cl_cpool_init
188 /****s* Component Library: Composite Pool/cl_cpool_t
193 * Composite pool structure.
209 * Quick composite pool that manages all objects.
212 * Pointer to the user's initializer callback, used by the pool
213 * to translate the quick composite pool's initializer callback to
214 * a composite pool initializer callback.
217 * Pointer to the user's destructor callback, used by the pool
218 * to translate the quick composite pool's destructor callback to
219 * a composite pool destructor callback.
222 * User's provided context for callback functions, used by the pool
226 * Composite Pool
229 /****f* Component Library: Composite Pool/cl_cpool_construct
234 * The cl_cpool_construct function constructs a composite pool.
251 * composite pool function except cl_cpool_init.
254 * Composite Pool, cl_cpool_init, cl_cpool_destroy, cl_is_cpool_inited
257 /****f* Component Library: Composite Pool/cl_is_cpool_inited
262 * The cl_is_cpool_inited function returns whether a composite pool was
281 * TRUE if the composite pool was initialized successfully.
286 * Allows checking the state of a composite pool to determine if invoking
290 * Composite Pool
293 /****f* Component Library: Composite Pool/cl_cpool_init
298 * The cl_cpool_init function initializes a composite pool for use.
318 * [in] Minimum number of objects that the pool should support. All
324 * [in] Maximum number of objects to which the pool is allowed to grow.
328 * [in] Number of objects to allocate when incrementally growing the pool.
340 * growing the pool. This parameter may be NULL only if the objects
341 * stored in the composite pool consist of only one component.
355 * CL_SUCCESS if the composite pool was initialized successfully.
358 * composite pool.
368 * cl_cpool_init initializes, and if necessary, grows the pool to
372 * Composite Pool, cl_cpool_construct, cl_cpool_destroy,
378 /****f* Component Library: Composite Pool/cl_cpool_destroy
383 * The cl_cpool_destroy function destroys a composite pool.
405 * operations on the composite pool should not be attempted after
411 * the pool.
414 * Composite Pool, cl_cpool_construct, cl_cpool_init
417 /****f* Component Library: Composite Pool/cl_cpool_count
423 * in a composite pool.
441 * composite pool.
444 * Composite Pool
447 /****f* Component Library: Composite Pool/cl_cpool_get
453 * composite pool.
480 * Returns NULL if the pool is empty and can not be grown automatically.
483 * cl_cpool_get returns the object at the head of the pool. If the pool is
488 * Composite Pool, cl_cpool_get_tail, cl_cpool_put, cl_cpool_grow,
492 /****f* Component Library: Composite Pool/cl_cpool_put
497 * The cl_cpool_put function returns an object to a composite pool.
526 * [in] Pointer to the first component of an object to return to the pool.
532 * cl_cpool_put places the returned object at the head of the pool.
535 * retrieved from the pool by a previous call to cl_cpool_get.
538 * Composite Pool, cl_cpool_put_tail, cl_cpool_get
541 /****f* Component Library: Composite Pool/cl_cpool_grow
546 * The cl_cpool_grow function grows a composite pool by
564 * [in] Number of objects by which to grow the pool.
567 * CL_SUCCESS if the composite pool grew successfully.
570 * composite pool.
577 * It is not necessary to call cl_cpool_grow if the pool is
581 * Composite Pool