Searched refs:p_pool (Results 1 - 10 of 10) sorted by relevance

/freebsd-11-stable/contrib/ofed/opensm/complib/
H A Dcl_pool.c58 void cl_qcpool_construct(IN cl_qcpool_t * const p_pool) argument
60 CL_ASSERT(p_pool);
62 memset(p_pool, 0, sizeof(cl_qcpool_t));
64 p_pool->state = CL_UNINITIALIZED;
67 cl_status_t cl_qcpool_init(IN cl_qcpool_t * const p_pool, argument
79 CL_ASSERT(p_pool);
91 cl_qcpool_construct(p_pool);
103 p_pool->component_sizes = (size_t *) malloc((sizeof(size_t) +
107 if (!p_pool->component_sizes)
110 memset(p_pool
164 cl_qcpool_destroy(IN cl_qcpool_t * const p_pool) argument
207 cl_qcpool_grow(IN cl_qcpool_t * const p_pool, IN size_t obj_count) argument
314 cl_qcpool_get(IN cl_qcpool_t * const p_pool) argument
345 cl_qcpool_get_tail(IN cl_qcpool_t * const p_pool) argument
389 cl_qpool_t *p_pool = (cl_qpool_t *) context; local
408 cl_qpool_t *p_pool = (cl_qpool_t *) context; local
416 cl_qpool_construct(IN cl_qpool_t * const p_pool) argument
423 cl_qpool_init(IN cl_qpool_t * const p_pool, IN const size_t min_size, IN const size_t max_size, IN const size_t grow_size, IN const size_t object_size, IN cl_pfn_qpool_init_t pfn_initializer OPTIONAL, IN cl_pfn_qpool_dtor_t pfn_destructor OPTIONAL, IN const void *const context) argument
461 cl_cpool_t *p_pool = (cl_cpool_t *) context; local
500 cl_cpool_t *p_pool = (cl_cpool_t *) context; local
511 cl_cpool_construct(IN cl_cpool_t * const p_pool) argument
520 cl_cpool_init(IN cl_cpool_t * const p_pool, IN const size_t min_size, IN const size_t max_size, IN const size_t grow_size, IN size_t * const component_sizes, IN const uint32_t num_components, IN cl_pfn_cpool_init_t pfn_initializer OPTIONAL, IN cl_pfn_cpool_dtor_t pfn_destructor OPTIONAL, IN const void *const context) argument
567 cl_pool_t *p_pool = (cl_pool_t *) context; local
606 cl_pool_t *p_pool = (cl_pool_t *) context; local
617 cl_pool_construct(IN cl_pool_t * const p_pool) argument
626 cl_pool_init(IN cl_pool_t * const p_pool, IN const size_t min_size, IN const size_t max_size, IN const size_t grow_size, IN const size_t object_size, IN cl_pfn_pool_init_t pfn_initializer OPTIONAL, IN cl_pfn_pool_dtor_t pfn_destructor OPTIONAL, IN const void *const context) argument
[all...]
/freebsd-11-stable/contrib/ofed/opensm/include/complib/
H A Dcl_qpool.h244 void cl_qpool_construct(IN cl_qpool_t * const p_pool);
247 * p_pool
273 static inline uint32_t cl_is_qpool_inited(IN const cl_qpool_t * const p_pool) argument
276 CL_ASSERT(p_pool);
277 return (cl_is_qcpool_inited(&p_pool->qcpool));
282 * p_pool
309 cl_qpool_init(IN cl_qpool_t * const p_pool,
319 * p_pool
387 static inline void cl_qpool_destroy(IN cl_qpool_t * const p_pool) argument
389 CL_ASSERT(p_pool);
427 cl_qpool_count(IN cl_qpool_t * const p_pool) argument
456 cl_qpool_get(IN cl_qpool_t * const p_pool) argument
492 cl_qpool_put(IN cl_qpool_t * const p_pool, IN cl_pool_item_t * const p_pool_item) argument
533 cl_qpool_put_list(IN cl_qpool_t * const p_pool, IN cl_qlist_t * const p_list) argument
573 cl_qpool_grow(IN cl_qpool_t * const p_pool, IN const size_t obj_count) argument
[all...]
H A Dcl_comppool.h238 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) argument
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) argument
389 CL_ASSERT(p_pool);
427 cl_cpool_count(IN cl_cpool_t * const p_pool) argument
457 cl_cpool_get(IN cl_cpool_t * const p_pool) argument
502 cl_cpool_put(IN cl_cpool_t * const p_pool, IN void *const p_object) argument
552 cl_cpool_grow(IN cl_cpool_t * const p_pool, IN const uint32_t obj_count) argument
[all...]
H A Dcl_pool.h225 void cl_pool_construct(IN cl_pool_t * const p_pool);
228 * p_pool
254 static inline uint32_t cl_is_pool_inited(IN const cl_pool_t * const p_pool) argument
257 CL_ASSERT(p_pool);
258 return (cl_is_qcpool_inited(&p_pool->qcpool));
263 * p_pool
290 cl_pool_init(IN cl_pool_t * const p_pool,
300 * p_pool
366 static inline void cl_pool_destroy(IN cl_pool_t * const p_pool) argument
368 CL_ASSERT(p_pool);
406 cl_pool_count(IN cl_pool_t * const p_pool) argument
434 cl_pool_get(IN cl_pool_t * const p_pool) argument
478 cl_pool_put(IN cl_pool_t * const p_pool, IN void *const p_object) argument
528 cl_pool_grow(IN cl_pool_t * const p_pool, IN const size_t obj_count) argument
[all...]
H A Dcl_qcomppool.h119 struct _cl_qcpool *p_pool; member in struct:_cl_pool_item
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) argument
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,
541 cl_qcpool_count(IN cl_qcpool_t * const p_pool) argument
605 cl_qcpool_put(IN cl_qcpool_t * const p_pool, IN cl_pool_item_t * const p_pool_item) argument
652 cl_qcpool_put_list(IN cl_qcpool_t * const p_pool, IN cl_qlist_t * const p_list) argument
[all...]
/freebsd-11-stable/contrib/ofed/opensm/include/opensm/
H A Dosm_mad_pool.h112 void osm_mad_pool_construct(IN osm_mad_pool_t * p_pool);
115 * p_pool
141 void osm_mad_pool_destroy(IN osm_mad_pool_t * p_pool);
144 * p_pool
169 ib_api_status_t osm_mad_pool_init(IN osm_mad_pool_t * p_pool);
172 * p_pool
194 osm_madw_t *osm_mad_pool_get(IN osm_mad_pool_t * p_pool,
200 * p_pool
238 void osm_mad_pool_put(IN osm_mad_pool_t * p_pool, IN osm_madw_t * p_madw);
241 * p_pool
348 osm_mad_pool_get_outstanding(IN const osm_mad_pool_t * p_pool) argument
[all...]
H A Dosm_vl15intf.h221 void osm_vl15_destroy(IN osm_vl15_t * p_vl15, IN struct osm_mad_pool *p_pool);
227 * p_pool
/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_mad_pool.c55 void osm_mad_pool_construct(IN osm_mad_pool_t * p_pool) argument
57 CL_ASSERT(p_pool);
59 memset(p_pool, 0, sizeof(*p_pool));
62 void osm_mad_pool_destroy(IN osm_mad_pool_t * p_pool) argument
64 CL_ASSERT(p_pool);
67 ib_api_status_t osm_mad_pool_init(IN osm_mad_pool_t * p_pool) argument
69 p_pool->mads_out = 0;
74 osm_madw_t *osm_mad_pool_get(IN osm_mad_pool_t * p_pool, argument
105 cl_atomic_inc(&p_pool
115 osm_mad_pool_get_wrapper(IN osm_mad_pool_t * p_pool, IN osm_bind_handle_t h_bind, IN uint32_t total_size, IN const ib_mad_t * p_mad, IN const osm_mad_addr_t * p_mad_addr) argument
145 osm_mad_pool_get_wrapper_raw(IN osm_mad_pool_t * p_pool) argument
160 osm_mad_pool_put(IN osm_mad_pool_t * p_pool, IN osm_madw_t * p_madw) argument
[all...]
H A Dosm_vl15intf.c221 void osm_vl15_destroy(IN osm_vl15_t * p_vl, IN struct osm_mad_pool *p_pool) argument
249 osm_mad_pool_put(p_pool, p_madw);
253 osm_mad_pool_put(p_pool, p_madw);
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_hw.c81 struct ecore_ptt_pool *p_pool = OSAL_ALLOC(p_hwfn->p_dev, local
83 sizeof(*p_pool));
86 if (!p_pool)
89 OSAL_LIST_INIT(&p_pool->free_list);
91 p_pool->ptts[i].idx = i;
92 p_pool->ptts[i].pxp.offset = ECORE_BAR_INVALID_OFFSET;
93 p_pool->ptts[i].pxp.pretend.control = 0;
94 p_pool->ptts[i].hwfn_id = p_hwfn->my_id;
100 OSAL_LIST_PUSH_HEAD(&p_pool->ptts[i].list_entry,
101 &p_pool
[all...]

Completed in 96 milliseconds