Home
last modified time | relevance | path

Searched defs:p_sw (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_switch.h266 static inline uint8_t osm_switch_get_hop_count(IN const osm_switch_t * p_sw, in osm_switch_get_hop_count()
355 static inline uint8_t osm_switch_get_least_hops(IN const osm_switch_t * p_sw, in osm_switch_get_least_hops()
434 static inline uint8_t osm_switch_get_port_by_lid(IN const osm_switch_t * p_sw, in osm_switch_get_port_by_lid()
472 static inline osm_physp_t *osm_switch_get_route_by_lid(IN const osm_switch_t * in osm_switch_get_route_by_lid()
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()
620 static inline boolean_t osm_switch_supports_mcast(IN const osm_switch_t * p_sw) in osm_switch_supports_mcast()
647 static inline void osm_switch_set_switch_info(IN osm_switch_t * p_sw, in osm_switch_set_switch_info()
679 static inline void osm_switch_count_path(IN osm_switch_t * p_sw, in osm_switch_count_path()
711 osm_switch_set_lft_block(IN osm_switch_t * p_sw, IN const uint8_t * p_block, in osm_switch_set_lft_block()
[all …]
H A Dosm_mtree.h101 const osm_switch_t *p_sw; member
H A Dosm_ucast_lash.h74 osm_switch_t *p_sw; member
H A Dosm_event_plugin.h104 osm_switch_t *p_sw; member
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_switch.c64 cl_status_t osm_switch_set_hops(IN osm_switch_t * p_sw, IN uint16_t lid_ho, in osm_switch_set_hops()
87 osm_switch_t *p_sw = *pp_sw; in osm_switch_delete() local
112 osm_switch_t *p_sw; in osm_switch_new() local
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()
604 static int alloc_lft(IN osm_switch_t * p_sw, uint16_t lids) in alloc_lft()
[all …]
H A Dosm_ucast_ftree.c114 struct ftree_sw_t_ *p_sw; member
139 struct ftree_sw_t_ *p_sw; member
335 static ftree_sw_tbl_element_t *sw_tbl_element_create(IN ftree_sw_t * p_sw) in sw_tbl_element_create()
548 ftree_sw_t *p_sw; in sw_create() local
612 static void sw_destroy(IN ftree_sw_t * p_sw) in sw_destroy()
635 static uint64_t sw_get_guid_no(IN ftree_sw_t * p_sw) in sw_get_guid_no()
644 static uint64_t sw_get_guid_ho(IN ftree_sw_t * p_sw) in sw_get_guid_ho()
651 static void sw_dump(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw) in sw_dump()
682 static boolean_t sw_ranked(IN ftree_sw_t * p_sw) in sw_ranked()
689 static ftree_port_group_t *sw_get_port_group_by_remote_lid(IN ftree_sw_t * p_sw, in sw_get_port_group_by_remote_lid()
[all …]
H A Dosm_ucast_cache.c81 static uint16_t cache_sw_get_base_lid_ho(cache_switch_t * p_sw) in cache_sw_get_base_lid_ho()
86 static boolean_t cache_sw_is_leaf(cache_switch_t * p_sw) in cache_sw_is_leaf()
91 static void cache_sw_set_leaf(cache_switch_t * p_sw) in cache_sw_set_leaf()
115 static void cache_sw_destroy(cache_switch_t * p_sw) in cache_sw_destroy()
193 cache_switch_t *p_sw; in cache_cleanup_switches() local
311 cache_switch_t * p_cache_sw, osm_switch_t * p_sw) in cache_restore_ucast_info()
340 cache_switch_t *p_sw; in ucast_cache_dump() local
375 cache_switch_t *p_sw; in osm_ucast_cache_invalidate() local
408 osm_switch_t *p_sw; in ucast_cache_validate() local
1027 osm_switch_t *p_sw; in osm_ucast_cache_process() local
H A Dosm_mcast_mgr.c265 osm_switch_t *p_sw, *p_best_sw = NULL; in mcast_mgr_find_optimal_switch() local
315 osm_switch_t *p_sw = NULL; in osm_mcast_mgr_find_root_switch() local
331 static int mcast_mgr_set_mft_block(osm_sm_t * sm, IN osm_switch_t * p_sw, in mcast_mgr_set_mft_block()
401 osm_switch_t * p_sw, cl_qlist_t * p_list, in mcast_mgr_subdivide()
490 osm_switch_t * p_sw, in mcast_mgr_branch()
747 osm_switch_t *p_sw; in mcast_mgr_build_spanning_tree() local
863 osm_switch_t *p_sw; in mcast_mgr_clear() local
1041 static void mcast_mgr_set_mfttop(IN osm_sm_t * sm, IN osm_switch_t * p_sw) in mcast_mgr_set_mfttop()
1109 osm_switch_t *p_sw; in mcast_mgr_set_mftables() local
1156 osm_switch_t *p_sw; in alloc_mfts() local
H A Dosm_ucast_file.c81 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() local
271 osm_switch_t *p_sw; in do_lid_matrix_file_load() local
H A Dosm_sa_sw_info_record.c71 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() local
H A Dosm_ucast_dnup.c106 IN osm_switch_t * p_sw, IN uint8_t prune_weight, in dnup_bfs_by_node()
222 osm_switch_t *p_sw; in dnup_subn_rank() local
299 osm_switch_t *p_sw; in dnup_set_min_hop_table() local
413 osm_switch_t *p_sw; in dnup_lid_matrices() local
H A Dosm_ucast_mgr.c108 osm_switch_t * p_sw = (osm_switch_t *) p_map_item; in ucast_mgr_process_hop_0_1() local
136 osm_switch_t *p_sw; in ucast_mgr_process_neighbor() local
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() local
400 osm_switch_t * p_sw = (osm_switch_t *) p_map_item; in ucast_mgr_process_neighbors() local
679 osm_switch_t *p_sw; in ucast_mgr_setup_all_switches() local
903 osm_switch_t * p_sw = (osm_switch_t *) p_map_item; in ucast_mgr_set_fwd_top() local
974 static int set_lft_block(IN osm_switch_t *p_sw, IN osm_ucast_mgr_t *p_mgr, in set_lft_block()
H A Dosm_ucast_updn.c112 IN osm_switch_t * p_sw) in updn_bfs_by_node()
211 osm_switch_t *p_sw; in updn_subn_rank() local
304 osm_switch_t *p_sw; in updn_set_min_hop_table() local
411 osm_switch_t *p_sw; in updn_find_root_nodes_by_min_hop() local
574 osm_switch_t *p_sw; in updn_lid_matrices() local
H A Dosm_sw_info_rcv.c199 osm_switch_t *p_sw; in si_rcv_process_new() local
288 osm_switch_t *p_sw = p_node->sw; in si_rcv_process_existing() local
H A Dosm_dump.c72 osm_switch_t *p_sw = (osm_switch_t *) item; in dump_ucast_path_distribution() local
129 osm_switch_t *p_sw = (osm_switch_t *) item; in dump_ucast_routes() local
241 osm_switch_t *p_sw = (osm_switch_t *) item; in dump_mcast_routes() local
305 osm_switch_t *p_sw = (osm_switch_t *) item; in dump_lid_matrix() local
333 osm_switch_t *p_sw = (osm_switch_t *) item; in dump_ucast_lfts() local
H A Dosm_ucast_lash.c607 static switch_t *switch_create(lash_t * p_lash, unsigned id, osm_switch_t * p_sw) in switch_create()
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() local
1057 static void osm_lash_process_switch(lash_t * p_lash, osm_switch_t * p_sw) in osm_lash_process_switch()
1106 osm_switch_t *p_next_sw, *p_sw; in lash_cleanup() local
1138 osm_switch_t *p_next_sw, *p_sw; in discover_network_properties() local
1202 osm_switch_t *p_sw, *p_next_sw; in process_switches() local
1287 osm_switch_t *p_sw; in get_lash_sl() local
H A Dosm_sa_lft_record.c71 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() local
H A Dosm_mtree.c52 osm_mtree_node_t *osm_mtree_node_new(IN const osm_switch_t * p_sw) in osm_mtree_node_new()
H A Dosm_sa_mft_record.c71 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() local
H A Dosm_lin_fwd_rcv.c64 osm_switch_t *p_sw; in osm_lft_rcv_process() local
H A Dosm_mcast_fwd_rcv.c68 osm_switch_t *p_sw; in osm_mft_rcv_process() local
H A Dosm_state_mgr.c118 osm_switch_t *p_sw = (osm_switch_t *) p_map_item; in state_mgr_reset_switch_count() local
130 osm_switch_t *const p_sw = (osm_switch_t *) p_object; in state_mgr_get_sw_info() local
646 osm_switch_t *p_sw = (osm_switch_t *) obj; in state_mgr_reset_state_change_bit() local
H A Dosm_drop_mgr.c308 osm_switch_t *p_sw; in drop_mgr_remove_switch() local
H A Dosm_console.c1040 osm_switch_t * p_sw, FILE * out, int verbose) in switchbalance_check()
1139 osm_switch_t *p_sw; in switchbalance_parse() local
1183 osm_switch_t * p_sw, FILE * out) in lidbalance_check()
1347 osm_switch_t *p_sw; in lidbalance_parse() local
H A Dosm_pkey_mgr.c816 osm_switch_t *p_sw; in osm_pkey_mgr_process() local

12