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