Searched refs:p_pool (Results 1 – 10 of 10) sorted by relevance
| /freebsd-14.2/contrib/ofed/opensm/complib/ |
| H A D | cl_pool.c | 180 CL_ASSERT(cl_qcpool_count(p_pool) == p_pool->num_objects); in cl_qcpool_destroy() 220 if (p_pool->num_objects == p_pool->max_objects) in cl_qcpool_grow() 225 obj_count = p_pool->max_objects - p_pool->num_objects; in cl_qcpool_grow() 264 status = p_pool->pfn_init(p_pool->p_components, in cl_qcpool_grow() 298 p_pool_item->p_pool = p_pool; in cl_qcpool_grow() 330 cl_qcpool_grow(p_pool, p_pool->grow_size); in cl_qcpool_get() 361 cl_qcpool_grow(p_pool, p_pool->grow_size); in cl_qcpool_get_tail() 413 p_pool->pfn_dtor(p_pool_item, (void *)p_pool->context); in __cl_qpool_dtor_cb() 443 p_pool); in cl_qpool_init() 547 p_pool); in cl_cpool_init() [all …]
|
| /freebsd-14.2/contrib/ofed/opensm/include/complib/ |
| H A D | cl_qpool.h | 276 CL_ASSERT(p_pool); in cl_is_qpool_inited() 309 cl_qpool_init(IN cl_qpool_t * const p_pool, 389 CL_ASSERT(p_pool); in cl_qpool_destroy() 390 cl_qcpool_destroy(&p_pool->qcpool); in cl_qpool_destroy() 429 CL_ASSERT(p_pool); in cl_qpool_count() 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() 535 CL_ASSERT(p_pool); in cl_qpool_put_list() [all …]
|
| H A D | cl_qcomppool.h | 119 struct _cl_qcpool *p_pool; member 384 CL_ASSERT(p_pool); in cl_is_qcpool_inited() 388 return (p_pool->state == CL_INITIALIZED); in cl_is_qcpool_inited() 543 CL_ASSERT(p_pool); in cl_qcpool_count() 544 CL_ASSERT(p_pool->state == CL_INITIALIZED); in cl_qcpool_count() 605 cl_qcpool_put(IN cl_qcpool_t * const p_pool, in cl_qcpool_put() argument 608 CL_ASSERT(p_pool); in cl_qcpool_put() 609 CL_ASSERT(p_pool->state == CL_INITIALIZED); in cl_qcpool_put() 612 CL_ASSERT(p_pool_item->p_pool == p_pool); in cl_qcpool_put() 658 CL_ASSERT(p_pool); in cl_qcpool_put_list() [all …]
|
| H A D | cl_pool.h | 225 void cl_pool_construct(IN cl_pool_t * const p_pool); 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, 368 CL_ASSERT(p_pool); in cl_pool_destroy() 369 cl_qcpool_destroy(&p_pool->qcpool); in cl_pool_destroy() 408 CL_ASSERT(p_pool); in cl_pool_count() 409 return (cl_qcpool_count(&p_pool->qcpool)); in cl_pool_count() 438 CL_ASSERT(p_pool); in cl_pool_get() 482 CL_ASSERT(p_pool); in cl_pool_put() [all …]
|
| H A D | cl_comppool.h | 238 void cl_cpool_construct(IN cl_cpool_t * const p_pool); 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, 389 CL_ASSERT(p_pool); in cl_cpool_destroy() 391 cl_qcpool_destroy(&p_pool->qcpool); in cl_cpool_destroy() 429 CL_ASSERT(p_pool); in cl_cpool_count() 430 return (cl_qcpool_count(&p_pool->qcpool)); in cl_cpool_count() 461 CL_ASSERT(p_pool); in cl_cpool_get() 506 CL_ASSERT(p_pool); in cl_cpool_put() [all …]
|
| /freebsd-14.2/contrib/ofed/opensm/opensm/ |
| H A D | osm_mad_pool.c | 55 void osm_mad_pool_construct(IN osm_mad_pool_t * p_pool) in osm_mad_pool_construct() argument 57 CL_ASSERT(p_pool); in osm_mad_pool_construct() 59 memset(p_pool, 0, sizeof(*p_pool)); in osm_mad_pool_construct() 62 void osm_mad_pool_destroy(IN osm_mad_pool_t * p_pool) in osm_mad_pool_destroy() argument 64 CL_ASSERT(p_pool); in osm_mad_pool_destroy() 69 p_pool->mads_out = 0; in osm_mad_pool_init() 74 osm_madw_t *osm_mad_pool_get(IN osm_mad_pool_t * p_pool, in osm_mad_pool_get() argument 105 cl_atomic_inc(&p_pool->mads_out); in osm_mad_pool_get() 137 cl_atomic_inc(&p_pool->mads_out); in osm_mad_pool_get_wrapper() 155 cl_atomic_inc(&p_pool->mads_out); in osm_mad_pool_get_wrapper_raw() [all …]
|
| H A D | osm_vl15intf.c | 221 void osm_vl15_destroy(IN osm_vl15_t * p_vl, IN struct osm_mad_pool *p_pool) in osm_vl15_destroy() argument 249 osm_mad_pool_put(p_pool, p_madw); in osm_vl15_destroy() 253 osm_mad_pool_put(p_pool, p_madw); in osm_vl15_destroy()
|
| /freebsd-14.2/contrib/ofed/opensm/include/opensm/ |
| H A D | osm_mad_pool.h | 112 void osm_mad_pool_construct(IN osm_mad_pool_t * p_pool); 141 void osm_mad_pool_destroy(IN osm_mad_pool_t * p_pool); 169 ib_api_status_t osm_mad_pool_init(IN osm_mad_pool_t * p_pool); 194 osm_madw_t *osm_mad_pool_get(IN osm_mad_pool_t * p_pool, 238 void osm_mad_pool_put(IN osm_mad_pool_t * p_pool, IN osm_madw_t * p_madw); 268 osm_madw_t *osm_mad_pool_get_wrapper(IN osm_mad_pool_t * p_pool, 317 osm_madw_t *osm_mad_pool_get_wrapper_raw(IN osm_mad_pool_t * p_pool); 348 osm_mad_pool_get_outstanding(IN const osm_mad_pool_t * p_pool) in osm_mad_pool_get_outstanding() argument 350 return p_pool->mads_out; in osm_mad_pool_get_outstanding()
|
| H A D | osm_vl15intf.h | 221 void osm_vl15_destroy(IN osm_vl15_t * p_vl15, IN struct osm_mad_pool *p_pool);
|
| /freebsd-14.2/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_hw.c | 81 sizeof(*p_pool)); in ecore_ptt_pool_alloc() 84 if (!p_pool) in ecore_ptt_pool_alloc() 87 OSAL_LIST_INIT(&p_pool->free_list); in ecore_ptt_pool_alloc() 89 p_pool->ptts[i].idx = i; in ecore_ptt_pool_alloc() 91 p_pool->ptts[i].pxp.pretend.control = 0; in ecore_ptt_pool_alloc() 92 p_pool->ptts[i].hwfn_id = p_hwfn->my_id; in ecore_ptt_pool_alloc() 98 OSAL_LIST_PUSH_HEAD(&p_pool->ptts[i].list_entry, in ecore_ptt_pool_alloc() 99 &p_pool->free_list); in ecore_ptt_pool_alloc() 102 p_hwfn->p_ptt_pool = p_pool; in ecore_ptt_pool_alloc() 104 if (OSAL_SPIN_LOCK_ALLOC(p_hwfn, &p_pool->lock)) { in ecore_ptt_pool_alloc() [all …]
|