| /freebsd-14.2/contrib/ofed/opensm/include/opensm/ |
| H A D | osm_switch.h | 116 } osm_switch_t; typedef 213 void osm_switch_delete(IN OUT osm_switch_t ** pp_sw); 237 osm_switch_t *osm_switch_new(IN osm_node_t * p_node, 334 void osm_switch_clear_hops(IN osm_switch_t * p_sw); 525 osm_switch_sp0_is_lmc_capable(IN const osm_switch_t * p_sw, in osm_switch_sp0_is_lmc_capable() 560 osm_switch_get_max_block_id_in_use(IN const osm_switch_t * p_sw) in osm_switch_get_max_block_id_in_use() 587 boolean_t osm_switch_get_lft_block(IN const osm_switch_t * p_sw, 938 uint8_t osm_switch_recommend_path(IN const osm_switch_t * p_sw, 1009 uint8_t osm_switch_recommend_mcast_path(IN osm_switch_t * p_sw, 1105 int osm_switch_prepare_path_rebuild(IN osm_switch_t * p_sw, [all …]
|
| H A D | osm_mtree.h | 101 const osm_switch_t *p_sw; 140 osm_mtree_node_t *osm_mtree_node_new(IN const osm_switch_t * p_sw); 250 static inline const osm_switch_t *osm_mtree_node_get_switch_ptr(IN const in osm_mtree_node_get_switch_ptr()
|
| H A D | osm_mcast_mgr.h | 69 osm_switch_t * osm_mcast_mgr_find_root_switch(osm_sm_t * sm, cl_qlist_t * list);
|
| H A D | osm_ucast_lash.h | 74 osm_switch_t *p_sw;
|
| H A D | osm_event_plugin.h | 104 osm_switch_t *p_sw;
|
| /freebsd-14.2/contrib/ofed/opensm/opensm/ |
| H A D | osm_mcast_mgr.c | 146 osm_switch_t *sw; in create_mgrp_switch_map() 171 osm_switch_t *sw; in destroy_mgrp_switch_map() 196 osm_switch_t *sw; in mcast_mgr_compute_avg_hops() 227 osm_switch_t *sw; in mcast_mgr_compute_max_hops() 315 osm_switch_t *p_sw = NULL; in osm_mcast_mgr_find_root_switch() 490 osm_switch_t * p_sw, in mcast_mgr_branch() 747 osm_switch_t *p_sw; in mcast_mgr_build_spanning_tree() 825 osm_switch_t *p_sw; 863 osm_switch_t *p_sw; in mcast_mgr_clear() 1109 osm_switch_t *p_sw; in mcast_mgr_set_mftables() [all …]
|
| H A D | osm_ucast_dnup.c | 76 osm_switch_t *sw; 143 osm_switch_t *p_remote_sw; in dnup_bfs_by_node() 222 osm_switch_t *p_sw; in dnup_subn_rank() 238 p_sw = (osm_switch_t *)item; in dnup_subn_rank() 299 osm_switch_t *p_sw; in dnup_set_min_hop_table() 314 p_sw = (osm_switch_t *)item; in dnup_set_min_hop_table() 329 p_sw = (osm_switch_t *)item; in dnup_set_min_hop_table() 340 p_sw = (osm_switch_t *)item; in dnup_set_min_hop_table() 413 osm_switch_t *p_sw; in dnup_lid_matrices() 423 p_sw = (osm_switch_t *)item; in dnup_lid_matrices() [all …]
|
| H A D | osm_ucast_updn.c | 75 osm_switch_t *sw; 112 IN osm_switch_t * p_sw) in updn_bfs_by_node() 148 osm_switch_t *p_remote_sw; in updn_bfs_by_node() 211 osm_switch_t *p_sw; in updn_subn_rank() 227 p_sw = (osm_switch_t *)item; in updn_subn_rank() 304 osm_switch_t *p_sw; in updn_set_min_hop_table() 411 osm_switch_t *p_sw; in updn_find_root_nodes_by_min_hop() 513 osm_switch_t *sw = (osm_switch_t *)item; in dump_roots() 522 osm_switch_t *sw; in update_id() 551 osm_switch_t *sw; in rank_root_node() [all …]
|
| H A D | osm_ucast_mgr.c | 108 osm_switch_t * p_sw = (osm_switch_t *) p_map_item; in ucast_mgr_process_hop_0_1() 136 osm_switch_t *p_sw; in ucast_mgr_process_neighbor() 156 p_sw = (osm_switch_t *) item; in ucast_mgr_process_neighbor() 202 IN osm_switch_t * p_sw, in ucast_mgr_process_port() 361 osm_switch_t * p_sw = (osm_switch_t *) p_map_item; in ucast_mgr_process_tbl() 400 osm_switch_t * p_sw = (osm_switch_t *) p_map_item; in ucast_mgr_process_neighbors() 489 osm_switch_t *sw = (osm_switch_t *) p_map_item; in set_default_hop_wf() 503 osm_switch_t *sw; in set_search_ordering_ports() 679 osm_switch_t *p_sw; in ucast_mgr_setup_all_switches() 785 osm_switch_t *sw = (osm_switch_t *) p_map_item; in clear_prof_ignore_flag() [all …]
|
| H A D | osm_switch.c | 85 void osm_switch_delete(IN OUT osm_switch_t ** pp_sw) in osm_switch_delete() 87 osm_switch_t *p_sw = *pp_sw; in osm_switch_delete() 109 osm_switch_t *osm_switch_new(IN osm_node_t * p_node, in osm_switch_new() 112 osm_switch_t *p_sw; in osm_switch_new() 160 boolean_t osm_switch_get_lft_block(IN const osm_switch_t * p_sw, in osm_switch_get_lft_block() 177 switch_find_guid_common(IN const osm_switch_t * p_sw, in switch_find_guid_common() 219 switch_find_sys_guid_count(IN const osm_switch_t * p_sw, in switch_find_sys_guid_count() 227 switch_find_node_guid_count(IN const osm_switch_t * p_sw, in switch_find_node_guid_count() 234 uint8_t osm_switch_recommend_path(IN const osm_switch_t * p_sw, in osm_switch_recommend_path() 595 void osm_switch_clear_hops(IN osm_switch_t * p_sw) in osm_switch_clear_hops() [all …]
|
| H A D | osm_ucast_lash.c | 966 static unsigned get_lash_id(osm_switch_t * p_sw) in get_lash_id() 990 osm_switch_t *p_sw, *p_next_sw, *p_dst_sw; in populate_fwd_tbls() 996 p_next_sw = (osm_switch_t *) cl_qmap_head(&p_subn->sw_guid_tbl); in populate_fwd_tbls() 1003 p_next_sw = (osm_switch_t *) cl_qmap_next(&p_sw->map_item); in populate_fwd_tbls() 1106 osm_switch_t *p_next_sw, *p_sw; in lash_cleanup() 1112 p_next_sw = (osm_switch_t *) cl_qmap_next(&p_sw->map_item); in lash_cleanup() 1138 osm_switch_t *p_next_sw, *p_sw; in discover_network_properties() 1153 p_next_sw = (osm_switch_t *) cl_qmap_next(&p_sw->map_item); in discover_network_properties() 1202 osm_switch_t *p_sw, *p_next_sw; in process_switches() 1210 p_next_sw = (osm_switch_t *) cl_qmap_next(&p_sw->map_item); in process_switches() [all …]
|
| H A D | osm_dump.c | 72 osm_switch_t *p_sw = (osm_switch_t *) item; in dump_ucast_path_distribution() 129 osm_switch_t *p_sw = (osm_switch_t *) item; in dump_ucast_routes() 241 osm_switch_t *p_sw = (osm_switch_t *) item; in dump_mcast_routes() 305 osm_switch_t *p_sw = (osm_switch_t *) item; in dump_lid_matrix() 333 osm_switch_t *p_sw = (osm_switch_t *) item; in dump_ucast_lfts()
|
| H A D | osm_sw_info_rcv.c | 65 static void si_rcv_get_fwd_tbl(IN osm_sm_t * sm, IN osm_switch_t * p_sw) 111 static void si_rcv_get_mcast_fwd_tbl(IN osm_sm_t * sm, IN osm_switch_t * p_sw) 199 osm_switch_t *p_sw; in si_rcv_process_new() 200 osm_switch_t *p_check; in si_rcv_process_new() 243 p_check = (osm_switch_t *) cl_qmap_insert(p_sw_guid_tbl, in si_rcv_process_new() 288 osm_switch_t *p_sw = p_node->sw; in si_rcv_process_existing()
|
| H A D | osm_sa_sw_info_record.c | 71 IN const osm_switch_t * p_sw, in sir_rcv_new_sir() 103 static void sir_rcv_create_sir(IN osm_sa_t * sa, IN const osm_switch_t * p_sw, in sir_rcv_create_sir() 169 const osm_switch_t *p_sw = (osm_switch_t *) p_map_item; in sir_rcv_by_comp_mask()
|
| H A D | osm_sa_lft_record.c | 71 IN const osm_switch_t * p_sw, in lftr_rcv_new_lftr() 112 const osm_switch_t *p_sw = (osm_switch_t *) p_map_item; in lftr_rcv_by_comp_mask()
|
| H A D | osm_sa_mft_record.c | 71 IN osm_switch_t * p_sw, in mftr_rcv_new_mftr() 117 osm_switch_t *p_sw = (osm_switch_t *) p_map_item; in mftr_rcv_by_comp_mask()
|
| H A D | osm_ucast_cache.c | 311 cache_switch_t * p_cache_sw, osm_switch_t * p_sw) in cache_restore_ucast_info() 408 osm_switch_t *p_sw; in ucast_cache_validate() 409 osm_switch_t *p_remote_sw; in ucast_cache_validate() 433 for (p_sw = (osm_switch_t *) cl_qmap_head(p_sw_tbl); in ucast_cache_validate() 434 p_sw != (osm_switch_t *) cl_qmap_end(p_sw_tbl); in ucast_cache_validate() 435 p_sw = (osm_switch_t *) cl_qmap_next(&p_sw->map_item)) { in ucast_cache_validate() 1027 osm_switch_t *p_sw; in osm_ucast_cache_process() 1042 p_sw = (osm_switch_t *) item; in osm_ucast_cache_process()
|
| H A D | osm_ucast_file.c | 81 osm_switch_t * p_sw, uint16_t lid, uint8_t port_num, in add_path() 109 static void add_lid_hops(osm_opensm_t * p_osm, osm_switch_t * p_sw, in add_lid_hops() 129 osm_switch_t *p_sw; in do_ucast_file_load() 271 osm_switch_t *p_sw; in do_lid_matrix_file_load()
|
| H A D | osm_ucast_dfsssp.c | 97 osm_switch_t *sw; /* selfpointer */ 1213 osm_switch_t *sw = NULL; in dfsssp_build_graph() 1266 sw = (osm_switch_t *) item; in dfsssp_build_graph() 1579 osm_switch_t *p_sw = NULL; in update_lft() 1674 osm_switch_t *sw = NULL; in update_mgrp_membership() 1716 osm_switch_t *p_sw = NULL; in update_mcft() 1839 osm_switch_t *sw = NULL; in get_avail_vl_in_subn() 1844 sw = (osm_switch_t *) item; in get_avail_vl_in_subn() 2299 osm_switch_t *sw = NULL; in dfsssp_do_dijkstra_routing() 2319 sw = (osm_switch_t *) item; in dfsssp_do_dijkstra_routing() [all …]
|
| H A D | osm_console.c | 1040 osm_switch_t * p_sw, FILE * out, int verbose) in switchbalance_check() 1139 osm_switch_t *p_sw; in switchbalance_parse() 1172 for (p_sw = (osm_switch_t *) cl_qmap_head(p_sw_guid_tbl); in switchbalance_parse() 1173 p_sw != (osm_switch_t *) cl_qmap_end(p_sw_guid_tbl); in switchbalance_parse() 1174 p_sw = (osm_switch_t *) cl_qmap_next(&p_sw->map_item)) in switchbalance_parse() 1183 osm_switch_t * p_sw, FILE * out) in lidbalance_check() 1347 osm_switch_t *p_sw; in lidbalance_parse() 1371 for (p_sw = (osm_switch_t *) cl_qmap_head(p_sw_guid_tbl); in lidbalance_parse() 1372 p_sw != (osm_switch_t *) cl_qmap_end(p_sw_guid_tbl); in lidbalance_parse() 1373 p_sw = (osm_switch_t *) cl_qmap_next(&p_sw->map_item)) in lidbalance_parse()
|
| H A D | osm_mtree.c | 52 osm_mtree_node_t *osm_mtree_node_new(IN const osm_switch_t * p_sw) in osm_mtree_node_new()
|
| H A D | osm_state_mgr.c | 118 osm_switch_t *p_sw = (osm_switch_t *) p_map_item; in state_mgr_reset_switch_count() 130 osm_switch_t *const p_sw = (osm_switch_t *) p_object; in state_mgr_get_sw_info() 646 osm_switch_t *p_sw = (osm_switch_t *) obj; in state_mgr_reset_state_change_bit() 1231 osm_switch_t *sw = (osm_switch_t *) item; in check_switch_lft()
|
| H A D | osm_lin_fwd_rcv.c | 64 osm_switch_t *p_sw; in osm_lft_rcv_process()
|
| H A D | osm_mcast_fwd_rcv.c | 68 osm_switch_t *p_sw; in osm_mft_rcv_process()
|
| H A D | osm_drop_mgr.c | 308 osm_switch_t *p_sw; in drop_mgr_remove_switch() 317 p_sw = (osm_switch_t *) cl_qmap_remove(p_sw_guid_tbl, node_guid); in drop_mgr_remove_switch() 318 if (p_sw == (osm_switch_t *) cl_qmap_end(p_sw_guid_tbl)) { in drop_mgr_remove_switch()
|