/freebsd-9.3-release/contrib/ofed/management/opensm/include/opensm/ |
H A D | osm_switch.h | 201 * p_sw 252 osm_switch_get_hop_count(IN const osm_switch_t * const p_sw, argument 255 return (lid_ho > p_sw->max_lid_ho || !p_sw->hops[lid_ho]) ? 256 OSM_NO_PATH : p_sw->hops[lid_ho][port_num]; 260 * p_sw 287 osm_switch_set_hops(IN osm_switch_t * const p_sw, 292 * p_sw 321 void osm_switch_clear_hops(IN osm_switch_t * p_sw); 324 * p_sw 343 osm_switch_get_least_hops(IN const osm_switch_t * const p_sw, IN const uint16_t lid_ho) argument 409 osm_switch_get_port_by_lid(IN const osm_switch_t * const p_sw, IN const uint16_t lid_ho) argument 473 osm_switch_get_route_by_lid(IN const osm_switch_t * const p_sw, IN const ib_net16_t lid) argument 526 osm_switch_sp0_is_lmc_capable(IN const osm_switch_t * const p_sw, IN osm_subn_t * p_subn) argument 561 osm_switch_get_max_block_id_in_use(IN const osm_switch_t * const p_sw) argument 624 osm_switch_supports_mcast(IN const osm_switch_t * const p_sw) argument 652 osm_switch_set_switch_info(IN osm_switch_t * const p_sw, IN const ib_switch_info_t * const p_si) argument 685 osm_switch_count_path(IN osm_switch_t * const p_sw, IN const uint8_t port) argument 716 osm_switch_set_lft_block(IN osm_switch_t * const p_sw, IN const uint8_t * const p_block, IN const uint32_t block_num) argument 759 osm_switch_set_mft_block(IN osm_switch_t * const p_sw, IN const ib_net16_t * const p_block, IN const uint16_t block_num, IN const uint8_t position) argument 799 osm_switch_get_mft_block(IN osm_switch_t * const p_sw, IN const uint16_t block_num, IN const uint8_t position, OUT ib_net16_t * const p_block) argument 842 osm_switch_get_mft_max_block(IN osm_switch_t * const p_sw) argument 865 osm_switch_get_mft_max_block_in_use(IN osm_switch_t * const p_sw) argument 894 osm_switch_get_mft_max_position(IN osm_switch_t * const p_sw) argument 1009 osm_switch_get_mcast_fwd_tbl_size(IN const osm_switch_t * const p_sw) argument 1036 osm_switch_path_count_get(IN const osm_switch_t * const p_sw, IN const uint8_t port_num) argument 1093 osm_switch_get_mcast_tbl_ptr(IN const osm_switch_t * const p_sw) argument 1123 osm_switch_is_in_mcast_tree(IN const osm_switch_t * const p_sw, IN const uint16_t mlid_ho) argument [all...] |
H A D | osm_mtree.h | 101 osm_switch_t *p_sw; member in struct:osm_mtree_node 111 * p_sw 140 osm_mtree_node_t *osm_mtree_node_new(IN const osm_switch_t * const p_sw); 143 * p_sw 254 return (p_mtn->p_sw);
|
H A D | osm_ucast_mgr.h | 246 IN osm_switch_t * const p_sw);
|
/freebsd-9.3-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_switch.c | 56 osm_switch_set_hops(IN osm_switch_t * const p_sw, argument 60 if (lid_ho > p_sw->max_lid_ho) 62 if (!p_sw->hops[lid_ho]) { 63 p_sw->hops[lid_ho] = malloc(p_sw->num_ports); 64 if (!p_sw->hops[lid_ho]) 66 memset(p_sw->hops[lid_ho], OSM_NO_PATH, p_sw->num_ports); 69 p_sw->hops[lid_ho][port_num] = num_hops; 70 if (p_sw 79 osm_switch_init(IN osm_switch_t * const p_sw, IN osm_node_t * const p_node, IN const osm_madw_t * const p_madw) argument 142 osm_switch_t *p_sw = *pp_sw; local 167 osm_switch_t *p_sw; local 186 osm_switch_get_lft_block(IN const osm_switch_t * const p_sw, IN const uint16_t block_id, OUT uint8_t * const p_block) argument 206 osm_switch_find_guid_common(IN const osm_switch_t * const p_sw, IN struct osm_remote_guids_count *r, IN uint8_t port_num, IN int find_sys_guid, IN int find_node_guid) argument 242 osm_switch_find_sys_guid_count(IN const osm_switch_t * const p_sw, IN struct osm_remote_guids_count *r, IN uint8_t port_num) argument 250 osm_switch_find_node_guid_count(IN const osm_switch_t * const p_sw, IN struct osm_remote_guids_count *r, IN uint8_t port_num) argument 260 osm_switch_recommend_path(IN const osm_switch_t * const p_sw, IN osm_port_t * p_port, IN const uint16_t lid_ho, IN unsigned start_from, IN const boolean_t ignore_existing, IN const boolean_t dor) argument 507 osm_switch_clear_hops(IN osm_switch_t * p_sw) argument 519 osm_switch_prepare_path_rebuild(IN osm_switch_t * p_sw, IN uint16_t max_lids) argument 564 osm_switch_get_port_least_hops(IN const osm_switch_t * const p_sw, IN const osm_port_t * p_port) argument 591 osm_switch_recommend_mcast_path(IN osm_switch_t * const p_sw, IN osm_port_t * p_port, IN uint16_t const mlid_ho, IN boolean_t const ignore_existing) argument [all...] |
H A D | osm_ucast_ftree.c | 116 struct ftree_sw_t_ *p_sw; member in struct:__anon3952 141 struct ftree_sw_t_ *p_sw; member in union:ftree_hca_or_sw_ 252 p_sw), 254 p_sw)); 328 p_sw) 336 p_element->p_sw = p_sw; 418 p_group->hca_or_sw.p_sw = (ftree_sw_t *) p_hca_or_sw; 432 p_group->remote_hca_or_sw.p_sw = 539 ftree_sw_t *p_sw; local 327 __osm_ftree_sw_tbl_element_create(IN ftree_sw_t * p_sw) argument 579 __osm_ftree_sw_destroy(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw) argument 601 __osm_ftree_sw_get_guid_no(IN ftree_sw_t * p_sw) argument 610 __osm_ftree_sw_get_guid_ho(IN ftree_sw_t * p_sw) argument 617 __osm_ftree_sw_dump(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw) argument 647 __osm_ftree_sw_ranked(IN ftree_sw_t * p_sw) argument 655 __osm_ftree_sw_get_port_group_by_remote_lid(IN ftree_sw_t * p_sw, IN ib_net16_t remote_base_lid, IN ftree_direction_t direction) argument 681 __osm_ftree_sw_add_port(IN ftree_sw_t * p_sw, IN uint8_t port_num, IN uint8_t remote_port_num, IN ib_net16_t base_lid, IN ib_net16_t remote_base_lid, IN ib_net64_t port_guid, IN ib_net64_t remote_port_guid, IN ib_net64_t remote_node_guid, IN uint8_t remote_node_type, IN void *p_remote_hca_or_sw, IN ftree_direction_t direction) argument 725 __osm_ftree_sw_set_hops(IN ftree_sw_t * p_sw, IN uint16_t lid_ho, IN uint8_t port_num, IN uint8_t hops) argument 900 ftree_sw_t *p_sw; local 1010 ftree_sw_t *p_sw = __osm_ftree_sw_create(p_ftree, p_osm_sw); local 1024 __osm_ftree_fabric_add_sw_by_tuple(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw) argument 1062 ftree_sw_t *p_sw; local 1088 ftree_sw_t *p_sw; local 1128 ftree_sw_t *p_sw; local 1205 ftree_sw_t *p_sw; local 1269 __osm_ftree_fabric_assign_tuple(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw, IN ftree_tuple_t new_tuple) argument 1279 __osm_ftree_fabric_assign_first_tuple(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw) argument 1301 ftree_sw_t *p_sw; local 1352 ftree_sw_t *p_sw; local 1416 ftree_sw_t *p_sw = NULL; local 1575 ftree_sw_t *p_sw; local 1671 ftree_sw_t *p_sw; local 1696 ftree_sw_t *p_sw; local 1893 ftree_sw_t *p_sw = (ftree_sw_t * const)p_map_item; local 1918 __osm_ftree_fabric_route_upgoing_by_going_down(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw, IN ftree_sw_t * p_prev_sw, IN ib_net16_t target_lid, IN uint8_t target_rank, IN boolean_t is_real_lid, IN boolean_t is_main_path, IN uint8_t highest_rank_in_route) argument 2102 __osm_ftree_fabric_route_downgoing_by_going_up(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw, IN ftree_sw_t * p_prev_sw, IN ib_net16_t target_lid, IN uint8_t target_rank, IN boolean_t is_real_lid, IN boolean_t is_main_path) argument 2357 ftree_sw_t *p_sw; local 2479 ftree_sw_t *p_sw; local 2559 ftree_sw_t *p_sw; local 2639 __osm_ftree_sw_update_rank(IN ftree_sw_t * p_sw, IN uint32_t new_rank) argument 2655 ftree_sw_t *p_sw; local 2711 ftree_sw_t *p_sw; local 2799 ftree_sw_t *p_sw = (ftree_sw_t * const)p_map_item; local 2921 __osm_ftree_fabric_construct_sw_ports(IN ftree_fabric_t * p_ftree, IN ftree_sw_t * p_sw) argument 3063 ftree_sw_t *p_sw; local 3238 ftree_sw_t *p_sw; local 3294 ftree_sw_t *p_sw; local [all...] |
H A D | osm_mtree.c | 54 IN const osm_switch_t * const p_sw) 59 CL_ASSERT(p_sw); 63 p_mtn->p_sw = (osm_switch_t *) p_sw; 64 p_mtn->max_children = p_sw->num_ports; 72 osm_mtree_node_t *osm_mtree_node_new(IN const osm_switch_t * const p_sw) argument 77 sizeof(void *) * (p_sw->num_ports - 1)); 80 osm_mtree_node_init(p_mtn, p_sw); 114 cl_ntoh64(p_mtn->p_sw->p_node->node_info.node_guid), 53 osm_mtree_node_init(IN osm_mtree_node_t * const p_mtn, IN const osm_switch_t * const p_sw) argument
|
H A D | osm_ucast_file.c | 79 osm_switch_t * p_sw, uint16_t lid, uint8_t port_num, 86 old_port = osm_switch_get_port_by_lid(p_sw, new_lid); 91 cl_ntoh64(osm_node_get_node_guid(p_sw->p_node)), 95 p_sw->new_lft[new_lid] = port_num; 98 osm_switch_count_path(p_sw, port_num); 104 cl_ntoh64(osm_node_get_node_guid(p_sw->p_node))); 107 static void add_lid_hops(osm_opensm_t * p_osm, osm_switch_t * p_sw, argument 115 if (len > p_sw->num_ports) 116 len = p_sw->num_ports; 119 osm_switch_set_hops(p_sw, li 78 add_path(osm_opensm_t * p_osm, osm_switch_t * p_sw, uint16_t lid, uint8_t port_num, ib_net64_t port_guid) argument 129 osm_switch_t *p_sw; local 264 osm_switch_t *p_sw; local [all...] |
H A D | osm_sw_info_rcv.c | 62 __osm_si_rcv_get_port_info(IN osm_sm_t * sm, IN osm_switch_t * const p_sw) argument 73 CL_ASSERT(p_sw); 75 p_node = p_sw->p_node; 111 __osm_si_rcv_get_fwd_tbl(IN osm_sm_t * sm, IN osm_switch_t * const p_sw) 123 CL_ASSERT(p_sw); 125 p_node = p_sw->p_node; 132 max_block_id_ho = osm_switch_get_max_block_id_in_use(p_sw); 158 __osm_si_rcv_get_mcast_fwd_tbl(IN osm_sm_t * sm, IN osm_switch_t * const p_sw) 174 CL_ASSERT(p_sw); 176 p_node = p_sw 248 osm_switch_t *p_sw; local 353 osm_switch_t *p_sw = p_node->sw; local [all...] |
H A D | osm_lin_fwd_rcv.c | 60 osm_switch_t *p_sw; local 83 p_sw = osm_get_switch_by_guid(sm->p_subn, node_guid); 85 if (!p_sw) { 90 status = osm_switch_set_lft_block(p_sw, p_block, block_num);
|
H A D | osm_ucast_cache.c | 83 static uint16_t __cache_sw_get_base_lid_ho(cache_switch_t * p_sw) argument 85 return p_sw->ports[0].remote_lid_ho; 91 static boolean_t __cache_sw_is_leaf(cache_switch_t * p_sw) argument 93 return p_sw->ports[0].is_leaf; 99 static void __cache_sw_set_leaf(cache_switch_t * p_sw) argument 101 p_sw->ports[0].is_leaf = TRUE; 129 static void __cache_sw_destroy(cache_switch_t * p_sw) argument 131 if (!p_sw) 134 if (p_sw->lft) 135 free(p_sw 209 cache_switch_t *p_sw; local 336 __cache_restore_ucast_info(osm_ucast_mgr_t * p_mgr, cache_switch_t * p_cache_sw, osm_switch_t * p_sw) argument 367 cache_switch_t *p_sw; local 405 cache_switch_t *p_sw; local 440 osm_switch_t *p_sw; local 1062 osm_switch_t *p_sw; local [all...] |
H A D | osm_mcast_mgr.c | 136 const osm_switch_t * const p_sw) 173 hops += osm_switch_get_port_least_hops(p_sw, p_port); 196 const osm_switch_t * const p_sw) 232 hops = osm_switch_get_port_least_hops(p_sw, p_port); 259 const osm_switch_t *p_sw; local 275 for (p_sw = (osm_switch_t *) cl_qmap_head(p_sw_tbl); 276 p_sw != (osm_switch_t *) cl_qmap_end(p_sw_tbl); 277 p_sw = (osm_switch_t *) cl_qmap_next(&p_sw->map_item)) { 278 if (!osm_switch_supports_mcast(p_sw)) 134 osm_mcast_mgr_compute_avg_hops(osm_sm_t * sm, const osm_mgrp_t * const p_mgrp, const osm_switch_t * const p_sw) argument 194 osm_mcast_mgr_compute_max_hops(osm_sm_t * sm, const osm_mgrp_t * const p_mgrp, const osm_switch_t * const p_sw) argument 316 const osm_switch_t *p_sw = NULL; local 335 __osm_mcast_mgr_set_tbl(osm_sm_t * sm, IN osm_switch_t * const p_sw) argument 409 __osm_mcast_mgr_subdivide(osm_sm_t * sm, osm_mgrp_t * const p_mgrp, osm_switch_t * const p_sw, cl_qlist_t * const p_list, cl_qlist_t * const list_array, uint8_t const array_size) argument 513 __osm_mcast_mgr_branch(osm_sm_t * sm, osm_mgrp_t * const p_mgrp, osm_switch_t * const p_sw, cl_qlist_t * const p_list, uint8_t depth, uint8_t const upstream_port, uint8_t * const p_max_depth) argument 747 osm_switch_t *p_sw; local 900 osm_switch_t *p_sw; local 1138 osm_switch_t *p_sw; local 1203 osm_switch_t *p_sw; local [all...] |
H A D | osm_ucast_updn.c | 111 IN osm_switch_t * p_sw) 121 lid = osm_node_get_base_lid(p_sw->p_node, 0); 123 osm_switch_set_hops(p_sw, lid, 0, 0); 127 cl_ntoh64(p_sw->p_node->node_info.port_guid), lid); 129 u = p_sw->priv; 212 osm_switch_t *p_sw; local 228 p_sw = (osm_switch_t *)item; 229 u = p_sw->priv; 238 p_sw = u->sw; 239 num_ports = p_sw 110 updn_bfs_by_node(IN osm_log_t * p_log, IN osm_subn_t * p_subn, IN osm_switch_t * p_sw) argument 288 updn_clear_root_hops(updn_t * p_updn, osm_switch_t * p_sw) argument 311 osm_switch_t *p_sw; local 419 osm_switch_t *p_sw; local 583 osm_switch_t *p_sw; local [all...] |
H A D | osm_sa_mft_record.c | 74 IN osm_switch_t * const p_sw, 96 cl_ntoh64(osm_node_get_node_guid(p_sw->p_node)), 108 osm_switch_get_mft_block(p_sw, block, position, p_rec_item->rec.mft); 125 osm_switch_t *const p_sw = (osm_switch_t *) p_map_item; local 139 osm_get_port_by_guid(sa->p_subn, p_sw->p_node->node_info.port_guid); 143 "\n", cl_ntoh64(p_sw->p_node->node_info.node_guid)); 154 cl_ntoh64(p_sw->p_node->node_info.node_guid)); 174 if (!osm_switch_supports_mcast(p_sw)) 178 if (osm_switch_get_mft_max_block_in_use(p_sw) == -1) 187 if (max_block > osm_switch_get_mft_max_block_in_use(p_sw)) 73 __osm_mftr_rcv_new_mftr(IN osm_sa_t * sa, IN osm_switch_t * const p_sw, IN cl_qlist_t * const p_list, IN ib_net16_t const lid, IN uint16_t const block, IN uint8_t const position) argument [all...] |
H A D | osm_mcast_fwd_rcv.c | 67 osm_switch_t *p_sw; local 99 p_sw = osm_get_switch_by_guid(sm->p_subn, node_guid); 101 if (!p_sw) { 106 status = osm_switch_set_mft_block(p_sw, p_block,
|
H A D | osm_ucast_mgr.c | 113 osm_switch_t *const p_sw = (osm_switch_t *) p_map_item; local 118 lid = osm_node_get_base_lid(p_sw->p_node, 0); 120 osm_switch_set_hops(p_sw, lid, 0, 0); 122 for (i = 1; i < p_sw->num_ports; i++) { 124 osm_node_get_remote_node(p_sw->p_node, i, &remote_port); 127 (p_remote_node != p_sw->p_node)) { 130 osm_switch_set_hops(p_sw, remote_lid, i, 1); 146 osm_switch_t *p_sw, *p_next_sw; local 162 p_sw = p_next_sw; 163 p_next_sw = (osm_switch_t *) cl_qmap_next(&p_sw 207 __osm_ucast_mgr_process_port(IN osm_ucast_mgr_t * const p_mgr, IN osm_switch_t * const p_sw, IN osm_port_t * const p_port, IN unsigned lid_offset) argument 315 osm_ucast_mgr_set_fwd_table(IN osm_ucast_mgr_t * const p_mgr, IN osm_switch_t * const p_sw) argument 479 osm_switch_t *const p_sw = (osm_switch_t *) p_map_item; local 525 osm_switch_t *const p_sw = (osm_switch_t *) p_map_item; local 647 osm_switch_t *p_sw; local [all...] |
H A D | osm_dump.c | 69 osm_switch_t *p_sw = (osm_switch_t *) p_map_item; local 71 p_node = p_sw->p_node; 72 num_ports = p_sw->num_ports; 79 num_paths = osm_switch_path_count_get(p_sw, i); 126 osm_switch_t *p_sw = (osm_switch_t *) p_map_item; local 129 p_node = p_sw->p_node; 131 max_lid_ho = p_sw->max_lid_ho; 148 port_num = osm_switch_get_port_by_lid(p_sw, lid_ho); 171 osm_switch_get_hop_count(p_sw, base_lid, port_num); 176 osm_switch_get_hop_count(p_sw, lid_h 233 osm_switch_t *p_sw = (osm_switch_t *) p_map_item; local 297 osm_switch_t *p_sw = (osm_switch_t *) p_map_item; local 325 osm_switch_t *p_sw = (osm_switch_t *) p_map_item; local [all...] |
H A D | osm_sa_sw_info_record.c | 74 IN const osm_switch_t * const p_sw, 96 p_rec_item->rec.switch_info = p_sw->switch_info; 109 IN const osm_switch_t * const p_sw, 128 osm_get_port_by_guid(sa->p_subn, p_sw->p_node->node_info.port_guid); 132 "\n", cl_ntoh64(p_sw->p_node->node_info.node_guid)); 143 cl_ntoh64(p_sw->p_node->node_info.node_guid)); 166 __osm_sir_rcv_new_sir(sa, p_sw, p_list, osm_port_get_base_lid(p_port)); 180 const osm_switch_t *const p_sw = (osm_switch_t *) p_map_item; local 190 &p_sw->switch_info, OSM_LOG_VERBOSE); 198 __osm_sir_rcv_create_sir(sa, p_sw, p_ctx 73 __osm_sir_rcv_new_sir(IN osm_sa_t * sa, IN const osm_switch_t * const p_sw, IN cl_qlist_t * const p_list, IN ib_net16_t const lid) argument 108 __osm_sir_rcv_create_sir(IN osm_sa_t * sa, IN const osm_switch_t * const p_sw, IN cl_qlist_t * const p_list, IN ib_net16_t const match_lid, IN const osm_physp_t * const p_req_physp) argument [all...] |
H A D | osm_ucast_lash.c | 88 osm_switch_t *p_sw; member in struct:_switch 651 static switch_t *switch_create(lash_t * p_lash, unsigned id, osm_switch_t * p_sw) argument 654 unsigned num_ports = p_sw->num_ports; 705 sw->p_sw = p_sw; 706 if (p_sw) 707 p_sw->priv = sw; 1026 static unsigned get_lash_id(osm_switch_t * p_sw) argument 1028 return ((switch_t *) p_sw->priv)->id; 1036 osm_switch_t *p_sw, *p_next_s local 1106 osm_lash_process_switch(lash_t * p_lash, osm_switch_t * p_sw) argument 1155 osm_switch_t *p_next_sw, *p_sw; local 1187 osm_switch_t *p_next_sw, *p_sw; local 1244 osm_switch_t *p_sw, *p_next_sw; local 1324 osm_switch_t *p_sw; local [all...] |
H A D | osm_sa_lft_record.c | 74 IN const osm_switch_t * const p_sw, 94 cl_ntoh64(osm_node_get_node_guid(p_sw->p_node)), 103 osm_switch_get_lft_block(p_sw, block, p_rec_item->rec.lft); 120 const osm_switch_t *const p_sw = (osm_switch_t *) p_map_item; local 132 p_sw->p_node->node_info.port_guid); 136 "\n", cl_ntoh64(p_sw->p_node->node_info.node_guid)); 147 cl_ntoh64(p_sw->p_node->node_info.node_guid)); 168 max_block = osm_switch_get_max_block_id_in_use(p_sw); 179 __osm_lftr_rcv_new_lftr(sa, p_sw, p_ctxt->p_list, 73 __osm_lftr_rcv_new_lftr(IN osm_sa_t * sa, IN const osm_switch_t * const p_sw, IN cl_qlist_t * const p_list, IN ib_net16_t const lid, IN uint16_t const block) argument
|
H A D | osm_console.c | 754 osm_switch_t * p_sw, FILE * out, int verbose) 791 port_num = osm_switch_get_port_by_lid(p_sw, lid_ho); 799 num_ports = p_sw->num_ports; 801 p_physp = osm_node_get_physp_ptr(p_sw->p_node, port_num); 832 cl_ntoh64(p_sw->p_node->node_info.node_guid), 833 p_sw->p_node->print_desc); 837 cl_ntoh64(p_sw->p_node->node_info.node_guid), 838 p_sw->p_node->print_desc); 852 osm_switch_t *p_sw; local 876 p_sw 753 switchbalance_check(osm_opensm_t * p_osm, osm_switch_t * p_sw, FILE * out, int verbose) argument 895 lidbalance_check(osm_opensm_t * p_osm, osm_switch_t * p_sw, FILE * out) argument 1059 osm_switch_t *p_sw; local [all...] |
H A D | osm_drop_mgr.c | 275 osm_switch_t *p_sw; local 284 p_sw = (osm_switch_t *) cl_qmap_remove(p_sw_guid_tbl, node_guid); 285 if (p_sw == (osm_switch_t *) cl_qmap_end(p_sw_guid_tbl)) { 291 osm_switch_delete(&p_sw);
|
H A D | osm_state_mgr.c | 116 osm_switch_t *p_sw = (osm_switch_t *) p_map_item; local 118 p_sw->discovery_count = 0; 119 p_sw->need_update = 1; 130 osm_switch_t *const p_sw = (osm_switch_t *) p_object; local 136 p_node = p_sw->p_node;
|
H A D | osm_subnet.c | 98 osm_switch_t *p_sw, *p_next_sw; local 123 p_sw = p_next_sw; 124 p_next_sw = (osm_switch_t *) cl_qmap_next(&p_sw->map_item); 125 osm_switch_delete(&p_sw);
|
H A D | osm_perfmgr.c | 727 osm_switch_t *p_sw = (osm_switch_t *) p_map_item; local 728 p_sw->discovery_count = 0; 729 p_sw->need_update = 0;
|