Lines Matching refs:p_pool

244 void cl_qpool_construct(IN cl_qpool_t * const p_pool);
273 static inline uint32_t cl_is_qpool_inited(IN const cl_qpool_t * const p_pool) in cl_is_qpool_inited() argument
276 CL_ASSERT(p_pool); in cl_is_qpool_inited()
277 return (cl_is_qcpool_inited(&p_pool->qcpool)); in cl_is_qpool_inited()
309 cl_qpool_init(IN cl_qpool_t * const p_pool,
387 static inline void cl_qpool_destroy(IN cl_qpool_t * const p_pool) in cl_qpool_destroy() argument
389 CL_ASSERT(p_pool); in cl_qpool_destroy()
390 cl_qcpool_destroy(&p_pool->qcpool); in cl_qpool_destroy()
427 static inline size_t cl_qpool_count(IN cl_qpool_t * const p_pool) in cl_qpool_count() argument
429 CL_ASSERT(p_pool); in cl_qpool_count()
430 return (cl_qcpool_count(&p_pool->qcpool)); in cl_qpool_count()
456 static inline cl_pool_item_t *cl_qpool_get(IN cl_qpool_t * const p_pool) in cl_qpool_get() argument
458 CL_ASSERT(p_pool); in cl_qpool_get()
459 return (cl_qcpool_get(&p_pool->qcpool)); in cl_qpool_get()
492 cl_qpool_put(IN cl_qpool_t * const p_pool, in cl_qpool_put() argument
495 CL_ASSERT(p_pool); in cl_qpool_put()
496 cl_qcpool_put(&p_pool->qcpool, p_pool_item); in cl_qpool_put()
533 cl_qpool_put_list(IN cl_qpool_t * const p_pool, IN cl_qlist_t * const p_list) in cl_qpool_put_list() argument
535 CL_ASSERT(p_pool); in cl_qpool_put_list()
536 cl_qcpool_put_list(&p_pool->qcpool, p_list); in cl_qpool_put_list()
573 cl_qpool_grow(IN cl_qpool_t * const p_pool, IN const size_t obj_count) in cl_qpool_grow() argument
575 CL_ASSERT(p_pool); in cl_qpool_grow()
576 return (cl_qcpool_grow(&p_pool->qcpool, obj_count)); in cl_qpool_grow()