Lines Matching refs:sw
76 osm_switch_t *sw;
138 for (pn = 1; pn < u->sw->num_ports; pn++) {
146 osm_node_get_remote_node(u->sw->p_node, pn,
150 if (!p_remote_node || !p_remote_node->sw)
153 p_remote_sw = p_remote_node->sw;
159 current_min_hop = osm_switch_get_least_hops(u->sw, lid);
171 cl_ntoh64(osm_node_get_node_guid(u->sw->p_node)),
248 p_sw = u->sw;
270 if (p_remote_physp && p_remote_physp->p_node->sw) {
271 remote_u = p_remote_physp->p_node->sw->priv;
389 static struct dnup_node *create_dnup_node(osm_switch_t * sw)
397 u->sw = sw;
404 u->sw->priv = NULL;
443 if(p_remote_node && !p_remote_node->sw) {