Lines Matching refs:p_pool
225 void cl_pool_construct(IN cl_pool_t * const p_pool);
254 static inline uint32_t cl_is_pool_inited(IN const cl_pool_t * const p_pool) in cl_is_pool_inited() argument
257 CL_ASSERT(p_pool); in cl_is_pool_inited()
258 return (cl_is_qcpool_inited(&p_pool->qcpool)); in cl_is_pool_inited()
290 cl_pool_init(IN cl_pool_t * const p_pool,
366 static inline void cl_pool_destroy(IN cl_pool_t * const p_pool) in cl_pool_destroy() argument
368 CL_ASSERT(p_pool); in cl_pool_destroy()
369 cl_qcpool_destroy(&p_pool->qcpool); in cl_pool_destroy()
406 static inline size_t cl_pool_count(IN cl_pool_t * const p_pool) in cl_pool_count() argument
408 CL_ASSERT(p_pool); in cl_pool_count()
409 return (cl_qcpool_count(&p_pool->qcpool)); in cl_pool_count()
434 static inline void *cl_pool_get(IN cl_pool_t * const p_pool) in cl_pool_get() argument
438 CL_ASSERT(p_pool); in cl_pool_get()
440 p_pool_obj = (cl_pool_obj_t *) cl_qcpool_get(&p_pool->qcpool); in cl_pool_get()
478 cl_pool_put(IN cl_pool_t * const p_pool, IN void *const p_object) in cl_pool_put() argument
482 CL_ASSERT(p_pool); in cl_pool_put()
492 cl_qcpool_put(&p_pool->qcpool, &p_pool_obj->pool_item); in cl_pool_put()
528 cl_pool_grow(IN cl_pool_t * const p_pool, IN const size_t obj_count) in cl_pool_grow() argument
530 CL_ASSERT(p_pool); in cl_pool_grow()
531 return (cl_qcpool_grow(&p_pool->qcpool, obj_count)); in cl_pool_grow()