Lines Matching defs:p_pool
119 struct _cl_qcpool *p_pool;
127 * p_pool
351 void cl_qcpool_construct(IN cl_qcpool_t * const p_pool);
354 * p_pool
381 static inline uint32_t cl_is_qcpool_inited(IN const cl_qcpool_t * const p_pool)
384 CL_ASSERT(p_pool);
386 CL_ASSERT(cl_is_state_valid(p_pool->state));
388 return (p_pool->state == CL_INITIALIZED);
393 * p_pool
419 cl_qcpool_init(IN cl_qcpool_t * const p_pool,
430 * p_pool
506 void cl_qcpool_destroy(IN cl_qcpool_t * const p_pool);
509 * p_pool
541 static inline size_t cl_qcpool_count(IN cl_qcpool_t * const p_pool)
543 CL_ASSERT(p_pool);
544 CL_ASSERT(p_pool->state == CL_INITIALIZED);
546 return (cl_qlist_count(&p_pool->free_list));
551 * p_pool
573 cl_pool_item_t *cl_qcpool_get(IN cl_qcpool_t * const p_pool);
576 * p_pool
605 cl_qcpool_put(IN cl_qcpool_t * const p_pool,
608 CL_ASSERT(p_pool);
609 CL_ASSERT(p_pool->state == CL_INITIALIZED);
612 CL_ASSERT(p_pool_item->p_pool == p_pool);
615 cl_qlist_insert_head(&p_pool->free_list, &p_pool_item->list_item);
620 * p_pool
652 cl_qcpool_put_list(IN cl_qcpool_t * const p_pool, IN cl_qlist_t * const p_list)
658 CL_ASSERT(p_pool);
659 CL_ASSERT(p_pool->state == CL_INITIALIZED);
666 CL_ASSERT(((cl_pool_item_t *) p_item)->p_pool == p_pool);
672 cl_qlist_insert_list_head(&p_pool->free_list, p_list);
677 * p_pool
708 cl_status_t cl_qcpool_grow(IN cl_qcpool_t * const p_pool, IN size_t obj_count);
711 * p_pool