/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_node.h | 107 } osm_node_t; typedef 162 void osm_node_delete(IN OUT osm_node_t ** p_node); 189 osm_node_t *osm_node_new(IN const osm_madw_t * p_madw); 217 static inline osm_physp_t *osm_node_get_physp_ptr(IN osm_node_t * p_node, in osm_node_get_physp_ptr() 254 static inline uint8_t osm_node_get_type(IN const osm_node_t * p_node) in osm_node_get_type() 285 static inline uint8_t osm_node_get_num_physp(IN const osm_node_t * p_node) in osm_node_get_num_physp() 315 osm_node_t *osm_node_get_remote_node(IN osm_node_t * p_node, 351 static inline ib_net16_t osm_node_get_base_lid(IN const osm_node_t * p_node, in osm_node_get_base_lid() 387 ib_net16_t osm_node_get_remote_base_lid(IN osm_node_t * p_node, 417 static inline uint8_t osm_node_get_lmc(IN const osm_node_t * p_node, in osm_node_get_lmc() [all …]
|
H A D | osm_ucast_cache.h | 119 osm_node_t * p_node_1, uint8_t port_num_1, 120 osm_node_t * p_node_2, uint8_t port_num_2); 191 void osm_ucast_cache_add_node(struct osm_ucast_mgr *p_mgr, osm_node_t * p_node);
|
H A D | osm_switch.h | 96 osm_node_t *p_node; 184 osm_node_t *node; 237 osm_switch_t *osm_switch_new(IN osm_node_t * p_node,
|
H A D | osm_router.h | 195 static inline osm_node_t *osm_router_get_node_ptr(IN const osm_router_t * p_rtr) in osm_router_get_node_ptr()
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_node.c | 54 void osm_node_init_physp(IN osm_node_t * p_node, uint8_t port_num, in osm_node_init_physp() 74 osm_node_t *osm_node_new(IN const osm_madw_t * p_madw) in osm_node_new() 76 osm_node_t *p_node; in osm_node_new() 132 static void node_destroy(IN osm_node_t * p_node) in node_destroy() 150 void osm_node_delete(IN OUT osm_node_t ** p_node) in osm_node_delete() 158 void osm_node_link(IN osm_node_t * p_node, IN uint8_t port_num, in osm_node_link() 159 IN osm_node_t * p_remote_node, IN uint8_t remote_port_num) in osm_node_link() 175 void osm_node_unlink(IN osm_node_t * p_node, IN uint8_t port_num, in osm_node_unlink() 176 IN osm_node_t * p_remote_node, IN uint8_t remote_port_num) in osm_node_unlink() 195 boolean_t osm_node_link_exists(IN osm_node_t * p_node, IN uint8_t port_num, in osm_node_link_exists() [all …]
|
H A D | osm_drop_mgr.c | 170 osm_node_t *p_node; in drop_mgr_remove_port() 306 static void drop_mgr_remove_switch(osm_sm_t * sm, IN osm_node_t * p_node) in drop_mgr_remove_switch() 330 static boolean_t drop_mgr_process_node(osm_sm_t * sm, IN osm_node_t * p_node) in drop_mgr_process_node() 334 osm_node_t *p_node_check; in drop_mgr_process_node() 374 (osm_node_t *) cl_qmap_remove(&sm->p_subn->node_guid_tbl, in drop_mgr_process_node() 389 static void drop_mgr_check_switch_node(osm_sm_t * sm, IN osm_node_t * p_node) in drop_mgr_check_switch_node() 393 osm_node_t *p_remote_node; in drop_mgr_check_switch_node() 496 osm_node_t *p_node, *p_next_node; in osm_drop_mgr_process() 510 p_next_node = (osm_node_t *) cl_qmap_head(p_node_guid_tbl); in osm_drop_mgr_process() 511 while (p_next_node != (osm_node_t *) cl_qmap_end(p_node_guid_tbl)) { in osm_drop_mgr_process() [all …]
|
H A D | osm_node_info_rcv.c | 69 osm_node_t * p_neighbor_node, in report_duplicated_guid() 141 static void ni_rcv_set_links(IN osm_sm_t * sm, osm_node_t * p_node, in ni_rcv_set_links() 145 osm_node_t *p_neighbor_node; in ni_rcv_set_links() 314 static void ni_rcv_get_port_info(IN osm_sm_t * sm, IN osm_node_t * node, in ni_rcv_get_port_info() 396 static void ni_rcv_get_node_desc(IN osm_sm_t * sm, IN osm_node_t * p_node, in ni_rcv_get_node_desc() 436 IN osm_node_t * p_node, in ni_rcv_process_new_ca_or_router() 458 IN osm_node_t * p_node, in ni_rcv_process_existing_ca_or_router() 579 static void ni_rcv_process_switch(IN osm_sm_t * sm, IN osm_node_t * p_node, in ni_rcv_process_switch() 618 IN osm_node_t * p_node, in ni_rcv_process_existing_switch() 636 static void ni_rcv_process_new_switch(IN osm_sm_t * sm, IN osm_node_t * p_node, in ni_rcv_process_new_switch() [all …]
|
H A D | osm_dump.c | 66 osm_node_t *p_node; in dump_ucast_path_distribution() 67 osm_node_t *p_remote_node; in dump_ucast_path_distribution() 119 const osm_node_t *p_node; in dump_ucast_routes() 249 const osm_node_t *p_node; in dump_mcast_routes() 307 osm_node_t *p_node = p_sw->p_node; in dump_lid_matrix() 335 osm_node_t *p_node = p_sw->p_node; in dump_ucast_lfts() 370 osm_node_t *p_node = (osm_node_t *) item; in dump_topology_node() 372 osm_node_t *p_nbnode; in dump_topology_node() 503 osm_node_t *p_node = p_port->p_node; in dump_sl2vl_tbl() 554 osm_node_t *p_node = (osm_node_t *) item; in print_node_report()
|
H A D | osm_sw_info_rcv.c | 70 osm_node_t *p_node; 116 osm_node_t *p_node; 196 static void si_rcv_process_new(IN osm_sm_t * sm, IN osm_node_t * p_node, in si_rcv_process_new() 285 IN osm_node_t * p_node, in si_rcv_process_existing() 337 static void si_rcv_get_sp0_info(IN osm_sm_t * sm, IN osm_node_t * node) in si_rcv_get_sp0_info() 387 osm_node_t *p_node; in osm_si_rcv_process()
|
H A D | osm_port_info_rcv.c | 206 IN osm_node_t * p_node, in pi_rcv_process_switch_port0() 260 IN osm_node_t * p_node, in pi_rcv_process_switch_ext_port() 267 osm_node_t *p_remote_node; in pi_rcv_process_switch_ext_port() 446 IN osm_node_t * p_node, in pi_rcv_process_ca_or_router_port() 465 IN osm_node_t * p_node, IN osm_physp_t * p_physp) in get_pkey_table() 540 IN osm_node_t * p_node, in pi_rcv_get_pkey_slvl_vla_tables() 563 static void pi_rcv_process_set(IN osm_sm_t * sm, IN osm_node_t * p_node, in pi_rcv_process_set() 623 osm_node_t *p_node; in osm_pi_rcv_update_neighbor() 651 osm_node_t *p_node; in osm_pi_rcv_process()
|
H A D | osm_link_mgr.c | 100 osm_node_t *p_node; in link_mgr_set_physp_pi() 501 static int link_mgr_process_node(osm_sm_t * sm, IN osm_node_t * p_node, in link_mgr_process_node() 571 osm_node_t *p_node; in osm_link_mgr_process() 580 for (p_node = (osm_node_t *) cl_qmap_head(p_node_guid_tbl); in osm_link_mgr_process() 581 p_node != (osm_node_t *) cl_qmap_end(p_node_guid_tbl); in osm_link_mgr_process() 582 p_node = (osm_node_t *) cl_qmap_next(&p_node->map_item)) in osm_link_mgr_process()
|
H A D | osm_sa_node_record.c | 71 IN const osm_node_t * p_node, in nr_rcv_new_nr() 113 static void nr_rcv_create_nr(IN osm_sa_t * sa, IN osm_node_t * p_node, in nr_rcv_create_nr() 196 osm_node_t *p_node = (osm_node_t *) p_map_item; in nr_rcv_by_comp_mask()
|
H A D | osm_node_desc_rcv.c | 61 static void nd_rcv_process_nd(IN osm_sm_t * sm, IN osm_node_t * p_node, in nd_rcv_process_nd() 103 osm_node_t *p_node; in osm_nd_rcv_process()
|
H A D | osm_state_mgr.c | 100 osm_node_t *p_node = (osm_node_t *) p_map_item; in state_mgr_reset_node_count() 126 osm_node_t *p_node; in state_mgr_get_sw_info() 500 osm_node_t *p_node; in state_mgr_sweep_hop_1() 648 osm_node_t *p_node; in state_mgr_reset_state_change_bit() 699 osm_node_t *p_node = (osm_node_t *) obj; in state_mgr_update_node_desc() 763 osm_node_t *p_node = (osm_node_t *) obj; in state_mgr_get_node_desc() 796 osm_node_t *p_node; in state_mgr_light_sweep_start() 829 p_node = (osm_node_t *) p_next; in state_mgr_light_sweep_start() 875 osm_node_t *p_node; in state_mgr_exists_other_master_sm() 915 osm_node_t *p_node; in state_mgr_get_highest_sm()
|
H A D | osm_sa_link_record.c | 209 osm_node_t *p_node; in lr_rcv_get_port_links() 326 p_node = (osm_node_t *) cl_qmap_head(p_node_tbl); in lr_rcv_get_port_links() 328 while (p_node != (osm_node_t *) cl_qmap_end(p_node_tbl)) { in lr_rcv_get_port_links() 341 p_node = (osm_node_t *) cl_qmap_next(&p_node-> in lr_rcv_get_port_links()
|
H A D | osm_pkey_mgr.c | 69 osm_node_t *p_node = osm_physp_get_node_ptr(p_physp); in pkey_mgr_get_physp_max_pkeys() 95 osm_node_t *p_node = osm_physp_get_node_ptr(p_physp); in pkey_mgr_process_physical_port() 230 osm_node_t *p_node = osm_physp_get_node_ptr(p_physp); in pkey_mgr_update_pkey_entry() 377 osm_node_t *p_node; in pkey_mgr_update_port() 640 uint16_t peer_block_idx, osm_node_t * p_node) in update_peer_block() 693 osm_node_t *p_node; in pkey_mgr_update_peer_port() 818 osm_node_t *p_remote_node; in osm_pkey_mgr_process()
|
H A D | osm_ucast_mgr.c | 109 osm_node_t *p_remote_node; in ucast_mgr_process_hop_0_1() 186 osm_node_t *node = p->p_remote_physp->p_node; in find_and_add_remote_sys() 402 osm_node_t *p_node; in ucast_mgr_process_neighbors() 403 osm_node_t *p_remote_node; in ucast_mgr_process_neighbors() 450 osm_node_t *node = osm_get_node_by_guid(m->p_subn, cl_hton64(guid)); in set_hop_wf() 502 osm_node_t *node = osm_get_node_by_guid(p_subn, cl_hton64(guid)); in set_search_ordering_ports() 756 osm_node_t *node = osm_get_node_by_guid(m->p_subn, cl_hton64(guid)); in mark_ignored_port() 904 osm_node_t *p_node; in ucast_mgr_set_fwd_top()
|
H A D | osm_ucast_cache.c | 410 osm_node_t *p_node; in ucast_cache_validate() 760 osm_node_t * p_node_1, uint8_t port_num_1, in osm_ucast_cache_check_new_link() 761 osm_node_t * p_node_2, uint8_t port_num_2) in osm_ucast_cache_check_new_link() 787 osm_node_t *tmp_node = p_node_1; in osm_ucast_cache_check_new_link() 833 osm_node_t *p_node_1 = p_physp1->p_node, *p_node_2 = p_physp2->p_node; in osm_ucast_cache_add_link() 904 void osm_ucast_cache_add_node(osm_ucast_mgr_t * p_mgr, osm_node_t * p_node) in osm_ucast_cache_add_node()
|
H A D | osm_ucast_ftree.c | 194 osm_node_t *p_osm_node; 812 static ftree_hca_t *hca_create(IN osm_node_t * p_osm_node) in hca_create() 1076 static void fabric_add_hca(ftree_fabric_t * p_ftree, osm_node_t * p_osm_node) in fabric_add_hca() 3136 osm_node_t *p_osm_node; in fabric_populate_nodes() 3137 osm_node_t *p_next_osm_node; in fabric_populate_nodes() 3142 (osm_node_t *) cl_qmap_head(&p_ftree->p_osm->subn.node_guid_tbl); in fabric_populate_nodes() 3144 (osm_node_t *) cl_qmap_end(&p_ftree->p_osm-> in fabric_populate_nodes() 3148 (osm_node_t *) cl_qmap_next(&p_osm_node->map_item); in fabric_populate_nodes() 3193 osm_node_t *p_node; in rank_switches_from_leafs() 3194 osm_node_t *p_remote_node; in rank_switches_from_leafs() [all …]
|
H A D | osm_qos_policy.c | 69 osm_node_t * p_node; in __build_nodebyname_hash() 78 for (p_node = (osm_node_t *) cl_qmap_head(p_node_guid_tbl); in __build_nodebyname_hash() 79 p_node != (osm_node_t *) cl_qmap_end(p_node_guid_tbl); in __build_nodebyname_hash() 80 p_node = (osm_node_t *) cl_qmap_next(&p_node->map_item)) { in __build_nodebyname_hash() 527 osm_node_t *p_node = osm_physp_get_node_ptr(p_physp); in __qos_policy_is_port_in_group()
|
H A D | osm_perfmgr.c | 358 static ib_net16_t get_base_lid(osm_node_t * p_node, uint8_t port) in get_base_lid() 375 static ib_net16_t get_lid(osm_node_t * p_node, uint8_t port, in get_lid() 529 osm_node_t *node = (osm_node_t *) p_map_item; in collect_guids() 580 osm_node_t *p_remote_node = p_remote_physp->p_node; in collect_guids() 700 osm_node_t *node = NULL; in perfmgr_query_counters() 838 osm_node_t *p_node; in sweep_hop_1() 987 osm_node_t *p_node = (osm_node_t *) p_map_item; in reset_node_count() 1078 osm_node_t *p_node; in osm_perfmgr_process() 1300 osm_node_t *p_node = NULL; in perfmgr_check_overflow() 1399 osm_node_t *p_node = NULL; in perfmgr_check_pce_overflow()
|
H A D | osm_switch.c | 109 osm_switch_t *osm_switch_new(IN osm_node_t * p_node, in osm_switch_new() 185 osm_node_t *p_rem_node; in switch_find_guid_common() 280 osm_node_t *p_rem_node; in osm_switch_recommend_path() 281 osm_node_t *p_rem_node_first = NULL; in osm_switch_recommend_path()
|
H A D | osm_congestion_control.c | 66 osm_node_t *p_node, in cc_mad_post() 218 osm_node_t *p_node) in cc_send_sw_cong_setting() 264 osm_node_t *p_node, in cc_send_ca_cong_setting() 308 osm_node_t *p_node, in cc_send_cct() 379 osm_node_t *p_node = p_port->p_node; in osm_congestion_control_setup()
|
H A D | osm_mcast_mgr.c | 334 osm_node_t *p_node; in mcast_mgr_set_mft_block() 618 osm_node_t *p_node; in mcast_mgr_branch() 619 const osm_node_t *p_remote_node; in mcast_mgr_branch() 897 osm_node_t *p_remote_node; 1043 osm_node_t *p_node; in mcast_mgr_set_mfttop()
|
H A D | osm_sa_portinfo_record.c | 449 static void sa_pir_by_comp_mask(IN osm_sa_t * sa, IN osm_node_t * p_node, in sa_pir_by_comp_mask() 500 osm_node_t *p_node = (osm_node_t *) p_map_item; in sa_pir_by_comp_mask_cb()
|