| /NextBSD/contrib/ofed/management/opensm/opensm/ |
| HD | osm_mcast_tbl.c | 56 osm_mcast_tbl_init(IN osm_mcast_tbl_t * const p_tbl, in osm_mcast_tbl_init() argument 59 CL_ASSERT(p_tbl); in osm_mcast_tbl_init() 62 memset(p_tbl, 0, sizeof(*p_tbl)); in osm_mcast_tbl_init() 64 p_tbl->max_block_in_use = -1; in osm_mcast_tbl_init() 74 p_tbl->num_entries = capacity; in osm_mcast_tbl_init() 75 p_tbl->num_ports = num_ports; in osm_mcast_tbl_init() 76 p_tbl->max_position = in osm_mcast_tbl_init() 80 p_tbl->max_block = (uint16_t) ((ROUNDUP(p_tbl->num_entries, in osm_mcast_tbl_init() 84 p_tbl->max_mlid_ho = (uint16_t) (IB_LID_MCAST_START_HO + capacity - 1); in osm_mcast_tbl_init() 96 p_tbl->p_mask_tbl = malloc(p_tbl->num_entries * in osm_mcast_tbl_init() [all …]
|
| HD | osm_pkey_mgr.c | 146 const cl_map_t *p_tbl = in pkey_mgr_process_partition_table() local 155 i_next = cl_map_head(p_tbl); in pkey_mgr_process_partition_table() 156 while (i_next != cl_map_end(p_tbl)) { in pkey_mgr_process_partition_table() 478 cl_qmap_t *p_tbl; in osm_pkey_mgr_process() local 497 p_tbl = &p_osm->subn.prtn_pkey_tbl; in osm_pkey_mgr_process() 498 p_next = cl_qmap_head(p_tbl); in osm_pkey_mgr_process() 499 while (p_next != cl_qmap_end(p_tbl)) { in osm_pkey_mgr_process() 509 p_tbl = &p_osm->subn.port_guid_tbl; in osm_pkey_mgr_process() 510 p_next = cl_qmap_head(p_tbl); in osm_pkey_mgr_process() 511 while (p_next != cl_qmap_end(p_tbl)) { in osm_pkey_mgr_process()
|
| HD | osm_qos.c | 159 ib_slvl_table_t tbl, *p_tbl; in sl2vl_update_table() local 178 if (!force_update && (p_tbl = osm_physp_get_slvl_tbl(p, in_port)) && in sl2vl_update_table() 179 !memcmp(p_tbl, &tbl, sizeof(tbl))) in sl2vl_update_table() 268 cl_qmap_t *p_tbl; in osm_qos_setup() local 297 p_tbl = &p_osm->subn.port_guid_tbl; in osm_qos_setup() 298 p_next = cl_qmap_head(p_tbl); in osm_qos_setup() 299 while (p_next != cl_qmap_end(p_tbl)) { in osm_qos_setup()
|
| HD | osm_mcast_mgr.c | 345 osm_mcast_tbl_t *p_tbl; in __osm_mcast_mgr_set_tbl() local 370 p_tbl = osm_switch_get_mcast_tbl_ptr(p_sw); in __osm_mcast_mgr_set_tbl() 371 max_position = p_tbl->max_position; in __osm_mcast_mgr_set_tbl() 373 while (osm_mcast_tbl_get_block(p_tbl, block_num, in __osm_mcast_mgr_set_tbl() 531 osm_mcast_tbl_t *p_tbl; in __osm_mcast_mgr_branch() local 621 p_tbl = osm_switch_get_mcast_tbl_ptr(p_sw); in __osm_mcast_mgr_branch() 632 osm_mcast_tbl_set(p_tbl, mlid_ho, upstream_port); in __osm_mcast_mgr_branch() 671 osm_mcast_tbl_set(p_tbl, mlid_ho, i); in __osm_mcast_mgr_branch() 859 osm_mcast_tbl_t *p_tbl; 877 p_tbl = osm_switch_get_mcast_tbl_ptr(p_sw); [all …]
|
| HD | osm_sa_portinfo_record.c | 471 const cl_ptr_vector_t *p_tbl; in osm_pir_rcv_process() local 516 p_tbl = &sa->p_subn->port_lid_tbl; in osm_pir_rcv_process() 531 CL_ASSERT(cl_ptr_vector_get_size(p_tbl) < 0x10000); in osm_pir_rcv_process() 548 if ((uint16_t) cl_ptr_vector_get_size(p_tbl) > in osm_pir_rcv_process() 550 p_port = cl_ptr_vector_get(p_tbl, in osm_pir_rcv_process() 557 cl_ptr_vector_get_size(p_tbl)); in osm_pir_rcv_process()
|
| HD | osm_sa_path_record.c | 1358 const cl_qmap_t *p_tbl; in __osm_pr_rcv_process_world() local 1372 p_tbl = &sa->p_subn->port_guid_tbl; in __osm_pr_rcv_process_world() 1374 p_dest_port = (osm_port_t *) cl_qmap_head(p_tbl); in __osm_pr_rcv_process_world() 1375 while (p_dest_port != (osm_port_t *) cl_qmap_end(p_tbl)) { in __osm_pr_rcv_process_world() 1376 p_src_port = (osm_port_t *) cl_qmap_head(p_tbl); in __osm_pr_rcv_process_world() 1377 while (p_src_port != (osm_port_t *) cl_qmap_end(p_tbl)) { in __osm_pr_rcv_process_world() 1407 const cl_qmap_t *p_tbl; in __osm_pr_rcv_process_half() local 1417 p_tbl = &sa->p_subn->port_guid_tbl; in __osm_pr_rcv_process_half() 1423 p_port = (osm_port_t *) cl_qmap_head(p_tbl); in __osm_pr_rcv_process_half() 1424 while (p_port != (osm_port_t *) cl_qmap_end(p_tbl)) { in __osm_pr_rcv_process_half() [all …]
|
| HD | osm_sw_info_rcv.c | 164 osm_mcast_tbl_t *p_tbl; 190 p_tbl = osm_switch_get_mcast_tbl_ptr(p_sw); 191 max_block_id_ho = osm_mcast_tbl_get_max_block(p_tbl); 201 max_position = osm_mcast_tbl_get_max_position(p_tbl);
|
| HD | osm_sa_informinfo.c | 99 const cl_ptr_vector_t *p_tbl; in __validate_ports_access_rights() local 159 p_tbl = &sa->p_subn->port_lid_tbl; in __validate_ports_access_rights() 160 if (cl_ptr_vector_get_size(p_tbl) > lid) in __validate_ports_access_rights() 161 p_port = cl_ptr_vector_get(p_tbl, lid); in __validate_ports_access_rights() 166 lid, cl_ptr_vector_get_size(p_tbl)); in __validate_ports_access_rights()
|
| HD | osm_trap_rcv.c | 292 cl_ptr_vector_t *p_tbl; in __osm_trap_rcv_process_request() local 611 p_tbl = &sm->p_subn->port_lid_tbl; in __osm_trap_rcv_process_request() 613 CL_ASSERT(cl_ptr_vector_get_size(p_tbl) < 0x10000); in __osm_trap_rcv_process_request() 615 if ((uint16_t) cl_ptr_vector_get_size(p_tbl) <= in __osm_trap_rcv_process_request() 624 p_port = cl_ptr_vector_get(p_tbl, cl_ntoh16(source_lid)); in __osm_trap_rcv_process_request()
|
| HD | osm_dump.c | 234 osm_mcast_tbl_t *p_tbl; in dump_mcast_routes() local 249 p_tbl = osm_switch_get_mcast_tbl_ptr(p_sw); in dump_mcast_routes() 254 while (block_num <= p_tbl->max_block_in_use) { in dump_mcast_routes() 262 while (position <= p_tbl->max_position) { in dump_mcast_routes() 264 cl_ntoh16((*p_tbl-> in dump_mcast_routes()
|
| HD | osm_prtn.c | 102 cl_map_t *p_tbl; in osm_prtn_add_port() local 129 p_tbl = (full == TRUE) ? &p->full_guid_tbl : &p->part_guid_tbl; in osm_prtn_add_port() 131 if (cl_map_insert(p_tbl, guid, p_physp) == NULL) in osm_prtn_add_port()
|
| HD | osm_pkey.c | 131 IN uint16_t block, IN ib_pkey_table_t * p_tbl) in osm_pkey_tbl_set() argument 156 memcpy(p_pkey_block, p_tbl, sizeof(ib_pkey_table_t)); in osm_pkey_tbl_set()
|
| HD | osm_subnet.c | 219 const cl_ptr_vector_t *p_tbl; in osm_get_gid_by_mad_addr() local 229 p_tbl = &p_subn->port_lid_tbl; in osm_get_gid_by_mad_addr() 231 CL_ASSERT(cl_ptr_vector_get_size(p_tbl) < 0x10000); in osm_get_gid_by_mad_addr() 233 if ((uint16_t) cl_ptr_vector_get_size(p_tbl) > in osm_get_gid_by_mad_addr() 236 cl_ptr_vector_get(p_tbl, cl_ntoh16(p_mad_addr->dest_lid)); in osm_get_gid_by_mad_addr()
|
| HD | osm_lid_mgr.c | 629 const cl_ptr_vector_t *const p_tbl = &p_mgr->used_lids; in __osm_lid_mgr_is_range_not_persistent() local 635 status = cl_ptr_vector_at(p_tbl, i, (void *)&p_port); in __osm_lid_mgr_is_range_not_persistent()
|
| /NextBSD/contrib/ofed/management/opensm/include/opensm/ |
| HD | osm_mcast_tbl.h | 118 osm_mcast_tbl_init(IN osm_mcast_tbl_t * const p_tbl, 171 void osm_mcast_tbl_destroy(IN osm_mcast_tbl_t * const p_tbl); 195 osm_mcast_tbl_set(IN osm_mcast_tbl_t * const p_tbl, 226 osm_mcast_tbl_clear_mlid(IN osm_mcast_tbl_t * const p_tbl, 254 osm_mcast_tbl_is_port(IN const osm_mcast_tbl_t * const p_tbl, 285 osm_mcast_tbl_is_any_port(IN const osm_mcast_tbl_t * const p_tbl, 313 osm_mcast_tbl_set_block(IN osm_mcast_tbl_t * const p_tbl, 345 osm_mcast_tbl_get_block(IN osm_mcast_tbl_t * const p_tbl, 384 osm_mcast_tbl_get_max_block(IN osm_mcast_tbl_t * const p_tbl) in osm_mcast_tbl_get_max_block() argument 386 return (p_tbl->max_block); in osm_mcast_tbl_get_max_block() [all …]
|
| HD | osm_port.h | 551 ib_slvl_table_t *p_tbl; in osm_physp_set_slvl_tbl() local 555 p_tbl = cl_ptr_vector_get(&p_physp->slvl_by_port, in_port_num); in osm_physp_set_slvl_tbl() 556 *p_tbl = *p_slvl_tbl; in osm_physp_set_slvl_tbl() 593 ib_slvl_table_t *p_tbl; in osm_physp_get_slvl_tbl() local 596 p_tbl = cl_ptr_vector_get(&p_physp->slvl_by_port, in_port_num); in osm_physp_get_slvl_tbl() 597 return (p_tbl); in osm_physp_get_slvl_tbl()
|
| HD | osm_switch.h | 1126 const osm_mcast_tbl_t *p_tbl; in osm_switch_is_in_mcast_tree() local 1128 p_tbl = &p_sw->mcast_tbl; in osm_switch_is_in_mcast_tree() 1129 if (p_tbl) in osm_switch_is_in_mcast_tree()
|
| HD | osm_pkey.h | 415 IN uint16_t block, IN ib_pkey_table_t * p_tbl);
|
| /NextBSD/contrib/ofed/management/opensm/osmtest/ |
| HD | osmt_slvl_vl_arb.c | 188 cl_qmap_t *p_tbl; in osmt_query_all_ports_vl_arb() local 202 p_tbl = &p_osmt->exp_subn.port_key_tbl; in osmt_query_all_ports_vl_arb() 204 p_src_port = (port_t *) cl_qmap_head(p_tbl); in osmt_query_all_ports_vl_arb() 206 while (p_src_port != (port_t *) cl_qmap_end(p_tbl)) { in osmt_query_all_ports_vl_arb() 389 cl_qmap_t *p_tbl; in osmt_query_all_ports_slvl_map() local 405 p_tbl = &p_osmt->exp_subn.port_key_tbl; in osmt_query_all_ports_slvl_map() 408 p_src_port = (port_t *) cl_qmap_head(p_tbl); in osmt_query_all_ports_slvl_map() 410 while (p_src_port != (port_t *) cl_qmap_end(p_tbl)) { in osmt_query_all_ports_slvl_map()
|
| HD | osmtest.c | 1420 cl_qmap_t *p_tbl; in osmtest_stress_path_recs_by_guid() local 1428 p_tbl = &p_osmt->exp_subn.node_guid_tbl; in osmtest_stress_path_recs_by_guid() 1430 p_src_node = (node_t *) cl_qmap_head(p_tbl); in osmtest_stress_path_recs_by_guid() 1436 while (p_src_node != (node_t *) cl_qmap_end(p_tbl)) { in osmtest_stress_path_recs_by_guid() 1437 p_dst_node = (node_t *) cl_qmap_head(p_tbl); in osmtest_stress_path_recs_by_guid() 1439 while (p_dst_node != (node_t *) cl_qmap_end(p_tbl)) { in osmtest_stress_path_recs_by_guid() 2390 cl_qmap_t *p_tbl; in osmtest_write_all_port_recs() local 2409 p_tbl = &p_osmt->exp_subn.node_lid_tbl; in osmtest_write_all_port_recs() 2410 p_node = (node_t *) cl_qmap_head(p_tbl); in osmtest_write_all_port_recs() 2416 while (p_node != (node_t *) cl_qmap_end(p_tbl)) { in osmtest_write_all_port_recs() [all …]
|
| /NextBSD/contrib/libstdc++/include/ext/pb_ds/detail/unordered_iterator/ |
| D | const_iterator.hpp | 118 …const_iterator_(const_pointer_ p_value, PB_DS_GEN_POS pos, const PB_DS_CLASS_C_DEC* p_tbl) : con… in const_iterator_() argument 119 m_p_tbl(p_tbl), in const_iterator_()
|
| D | iterator.hpp | 151 …ointer p_value, PB_DS_GEN_POS pos, PB_DS_CLASS_C_DEC* p_tbl) : const_iterator_(p_value, pos, p_tbl) in iterator_() argument
|