/freebsd-10.2-release/contrib/ofed/management/opensm/complib/ |
H A D | cl_pool.c | 58 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; 68 cl_qcpool_init(IN cl_qcpool_t * const p_pool, argument 81 CL_ASSERT(p_pool); 93 cl_qcpool_construct(p_pool); 105 p_pool->component_sizes = (size_t *) malloc((sizeof(size_t) + 109 if (!p_pool->component_sizes) 112 memset(p_pool 166 cl_qcpool_destroy(IN cl_qcpool_t * const p_pool) argument 209 cl_qcpool_grow(IN cl_qcpool_t * const p_pool, IN size_t obj_count) argument 316 cl_qcpool_get(IN cl_qcpool_t * const p_pool) argument 347 cl_qcpool_get_tail(IN cl_qcpool_t * const p_pool) argument 392 cl_qpool_t *p_pool = (cl_qpool_t *) context; local 412 cl_qpool_t *p_pool = (cl_qpool_t *) context; local 420 cl_qpool_construct(IN cl_qpool_t * const p_pool) argument 428 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 468 cl_cpool_t *p_pool = (cl_cpool_t *) context; local 508 cl_cpool_t *p_pool = (cl_cpool_t *) context; local 519 cl_cpool_construct(IN cl_cpool_t * const p_pool) argument 529 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 578 cl_pool_t *p_pool = (cl_pool_t *) context; local 618 cl_pool_t *p_pool = (cl_pool_t *) context; local 629 cl_pool_construct(IN cl_pool_t * const p_pool) argument 639 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-10.2-release/contrib/ofed/management/opensm/include/complib/ |
H A D | cl_qpool.h | 244 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 D | cl_comppool.h | 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) 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 D | cl_pool.h | 225 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 D | cl_qcomppool.h | 119 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-10.2-release/contrib/ofed/management/opensm/include/opensm/ |
H A D | osm_mad_pool.h | 112 void osm_mad_pool_construct(IN osm_mad_pool_t * const p_pool); 115 * p_pool 141 void osm_mad_pool_destroy(IN osm_mad_pool_t * const p_pool); 144 * p_pool 169 ib_api_status_t osm_mad_pool_init(IN osm_mad_pool_t * const p_pool); 172 * p_pool 194 osm_madw_t *osm_mad_pool_get(IN osm_mad_pool_t * const p_pool, 200 * p_pool 238 void osm_mad_pool_put(IN osm_mad_pool_t * const p_pool, 242 * p_pool 350 osm_mad_pool_get_outstanding(IN const osm_mad_pool_t * const p_pool) argument [all...] |
H A D | osm_vl15intf.h | 209 osm_vl15_destroy(IN osm_vl15_t * const p_vl15, IN struct osm_mad_pool *p_pool); 215 * p_pool
|
/freebsd-10.2-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_mad_pool.c | 55 void osm_mad_pool_construct(IN osm_mad_pool_t * const p_pool) argument 57 CL_ASSERT(p_pool); 59 memset(p_pool, 0, sizeof(*p_pool)); 64 void osm_mad_pool_destroy(IN osm_mad_pool_t * const p_pool) argument 66 CL_ASSERT(p_pool); 71 ib_api_status_t osm_mad_pool_init(IN osm_mad_pool_t * const p_pool) argument 73 p_pool->mads_out = 0; 80 osm_madw_t *osm_mad_pool_get(IN osm_mad_pool_t * const p_pool, argument 111 cl_atomic_inc(&p_pool 123 osm_mad_pool_get_wrapper(IN osm_mad_pool_t * const p_pool, IN osm_bind_handle_t h_bind, IN const uint32_t total_size, IN const ib_mad_t * const p_mad, IN const osm_mad_addr_t * const p_mad_addr) argument 155 osm_mad_pool_get_wrapper_raw(IN osm_mad_pool_t * const p_pool) argument 173 osm_mad_pool_put(IN osm_mad_pool_t * const p_pool, IN osm_madw_t * const p_madw) argument [all...] |
H A D | osm_vl15intf.c | 200 osm_vl15_destroy(IN osm_vl15_t * const p_vl, IN struct osm_mad_pool *p_pool) argument 228 osm_mad_pool_put(p_pool, p_madw); 232 osm_mad_pool_put(p_pool, p_madw);
|