Searched refs:p_map (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/ofed/opensm/complib/ |
H A D | cl_map.c | 77 static inline cl_map_item_t *__cl_map_root(IN const cl_qmap_t * const p_map) in __cl_map_root() argument 79 CL_ASSERT(p_map); in __cl_map_root() 80 return (p_map->root.p_left); in __cl_map_root() 127 static void __cl_map_rot_left(IN cl_qmap_t * const p_map, in __cl_map_rot_left() argument 132 CL_ASSERT(p_map); in __cl_map_rot_left() 134 CL_ASSERT(p_item->p_right != &p_map->nil); in __cl_map_rot_left() 149 if ((*pp_root)->p_left != &p_map->nil) in __cl_map_rot_left() 173 static void __cl_map_rot_right(IN cl_qmap_t * const p_map, in __cl_map_rot_right() argument 178 CL_ASSERT(p_map); in __cl_map_rot_right() 180 CL_ASSERT(p_item->p_left != &p_map->nil); in __cl_map_rot_right() [all …]
|
/freebsd/contrib/ofed/opensm/include/complib/ |
H A D | cl_fleximap.h | 127 struct _cl_fmap *p_map; member 296 static inline size_t cl_fmap_count(IN const cl_fmap_t * const p_map) in cl_fmap_count() argument 298 CL_ASSERT(p_map); in cl_fmap_count() 299 CL_ASSERT(p_map->state == CL_INITIALIZED); in cl_fmap_count() 300 return (p_map->count); in cl_fmap_count() 324 static inline boolean_t cl_is_fmap_empty(IN const cl_fmap_t * const p_map) in cl_is_fmap_empty() argument 326 CL_ASSERT(p_map); in cl_is_fmap_empty() 327 CL_ASSERT(p_map->state == CL_INITIALIZED); in cl_is_fmap_empty() 329 return (p_map->count == 0); in cl_is_fmap_empty() 386 void cl_fmap_init(IN cl_fmap_t * const p_map, IN cl_pfn_fmap_cmp_t pfn_compare); [all …]
|
H A D | cl_qmap.h | 150 struct _cl_qmap *p_map; member 316 static inline uint32_t cl_qmap_count(IN const cl_qmap_t * const p_map) in cl_qmap_count() argument 318 CL_ASSERT(p_map); in cl_qmap_count() 319 CL_ASSERT(p_map->state == CL_INITIALIZED); in cl_qmap_count() 320 return ((uint32_t) p_map->count); in cl_qmap_count() 344 static inline boolean_t cl_is_qmap_empty(IN const cl_qmap_t * const p_map) in cl_is_qmap_empty() argument 346 CL_ASSERT(p_map); in cl_is_qmap_empty() 347 CL_ASSERT(p_map->state == CL_INITIALIZED); in cl_is_qmap_empty() 349 return (p_map->count == 0); in cl_is_qmap_empty() 465 void cl_qmap_init(IN cl_qmap_t * const p_map); [all …]
|
H A D | cl_map.h | 155 static inline size_t cl_map_count(IN const cl_map_t * const p_map) in cl_map_count() argument 157 CL_ASSERT(p_map); in cl_map_count() 158 return (cl_qmap_count(&p_map->qmap)); in cl_map_count() 182 static inline boolean_t cl_is_map_empty(IN const cl_map_t * const p_map) in cl_is_map_empty() argument 184 CL_ASSERT(p_map); in cl_is_map_empty() 185 return (cl_is_qmap_empty(&p_map->qmap)); in cl_is_map_empty() 243 void cl_map_construct(IN cl_map_t * const p_map); 272 static inline boolean_t cl_is_map_inited(IN const cl_map_t * const p_map) in cl_is_map_inited() argument 278 return (cl_is_qpool_inited(&p_map->pool)); in cl_is_map_inited() 309 cl_status_t cl_map_init(IN cl_map_t * const p_map, IN const uint32_t min_items); [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_cxt.c | 1225 struct ecore_cid_acquired_map *p_map) in ecore_cid_map_alloc_single() argument 1233 p_map->cid_map = OSAL_ZALLOC(p_hwfn->p_dev, GFP_KERNEL, size); in ecore_cid_map_alloc_single() 1234 if (p_map->cid_map == OSAL_NULL) in ecore_cid_map_alloc_single() 1237 p_map->max_count = cid_count; in ecore_cid_map_alloc_single() 1238 p_map->start_cid = cid_start; in ecore_cid_map_alloc_single() 1242 type, p_map->start_cid, p_map->max_count); in ecore_cid_map_alloc_single() 1255 struct ecore_cid_acquired_map *p_map; in ecore_cid_map_alloc() local 1258 p_map = &p_mngr->acquired[type]; in ecore_cid_map_alloc() 1260 p_cfg->cid_count, p_map)) in ecore_cid_map_alloc() 1265 p_map = &p_mngr->acquired_vf[type][vf]; in ecore_cid_map_alloc() [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_multicast.c | 217 static boolean_t is_qmap_empty_for_port(IN const cl_qmap_t * const p_map, in is_qmap_empty_for_port() argument 224 for (item = cl_qmap_head(p_map); item != cl_qmap_end(p_map); in is_qmap_empty_for_port() 236 static boolean_t is_qmap_empty_for_mcm_port(IN const cl_qmap_t * const p_map, in is_qmap_empty_for_mcm_port() argument 243 for (item = cl_qmap_head(p_map); item != cl_qmap_end(p_map); in is_qmap_empty_for_mcm_port()
|
H A D | osm_qos_parser_y.y | 122 cl_qmap_t * p_map, 126 cl_qmap_t * p_map, 131 cl_qmap_t * p_map, 136 cl_qmap_t * p_map, 2985 cl_qmap_t * p_map, in __parser_add_port_to_port_map() argument 2988 if (cl_qmap_get(p_map, cl_ntoh64(osm_physp_get_port_guid(p_physp))) == in __parser_add_port_to_port_map() 2989 cl_qmap_end(p_map)) in __parser_add_port_to_port_map() 2993 cl_qmap_insert(p_map, in __parser_add_port_to_port_map() 3003 cl_qmap_t * p_map, in __parser_add_guid_range_to_port_map() argument 3019 __parser_add_port_to_port_map(p_map, p_osm_port->p_physp); in __parser_add_guid_range_to_port_map() [all …]
|
/freebsd/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_mlx_txn.c | 283 cl_qmap_t *p_map = p_bo->txn_mgr.p_txn_map; in osmv_txn_abort_rmpp_txns() local 287 while (FALSE == cl_is_qmap_empty(p_map)) { in osmv_txn_abort_rmpp_txns() 289 p_item = cl_qmap_head(p_map); in osmv_txn_abort_rmpp_txns() 302 cl_qmap_remove_item(p_map, p_item); in osmv_txn_abort_rmpp_txns()
|