Lines Matching refs:p_pool
238 void cl_cpool_construct(IN cl_cpool_t * const p_pool);
267 static inline boolean_t cl_is_cpool_inited(IN const cl_cpool_t * const p_pool) in cl_is_cpool_inited() argument
270 CL_ASSERT(p_pool); in cl_is_cpool_inited()
271 return (cl_is_qcpool_inited(&p_pool->qcpool)); in cl_is_cpool_inited()
303 cl_cpool_init(IN cl_cpool_t * const p_pool,
387 static inline void cl_cpool_destroy(IN cl_cpool_t * const p_pool) in cl_cpool_destroy() argument
389 CL_ASSERT(p_pool); in cl_cpool_destroy()
391 cl_qcpool_destroy(&p_pool->qcpool); in cl_cpool_destroy()
427 static inline size_t cl_cpool_count(IN cl_cpool_t * const p_pool) in cl_cpool_count() argument
429 CL_ASSERT(p_pool); in cl_cpool_count()
430 return (cl_qcpool_count(&p_pool->qcpool)); in cl_cpool_count()
457 static inline void *cl_cpool_get(IN cl_cpool_t * const p_pool) in cl_cpool_get() argument
461 CL_ASSERT(p_pool); in cl_cpool_get()
463 p_pool_obj = (cl_pool_obj_t *) cl_qcpool_get(&p_pool->qcpool); in cl_cpool_get()
502 cl_cpool_put(IN cl_cpool_t * const p_pool, IN void *const p_object) in cl_cpool_put() argument
506 CL_ASSERT(p_pool); in cl_cpool_put()
516 cl_qcpool_put(&p_pool->qcpool, &p_pool_obj->pool_item); in cl_cpool_put()
552 cl_cpool_grow(IN cl_cpool_t * const p_pool, IN const uint32_t obj_count) in cl_cpool_grow() argument
554 CL_ASSERT(p_pool); in cl_cpool_grow()
555 return (cl_qcpool_grow(&p_pool->qcpool, obj_count)); in cl_cpool_grow()