Lines Matching refs:p_port
138 static void sa_pkey_by_comp_mask(IN osm_sa_t * sa, IN const osm_port_t * p_port,
157 if (p_port->p_node->node_info.node_type != IB_NODE_TYPE_SWITCH) {
159 port_num = p_port->p_physp->port_num;
167 if (port_num < osm_node_get_num_physp(p_port->p_node)) {
169 osm_node_get_physp_ptr(p_port->p_node, port_num);
180 osm_node_get_num_physp(p_port->p_node));
184 num_ports = osm_node_get_num_physp(p_port->p_node);
187 osm_node_get_physp_ptr(p_port->p_node, port_num);
206 const osm_port_t *p_port = (osm_port_t *) p_map_item;
209 sa_pkey_by_comp_mask(p_ctxt->sa, p_port, p_ctxt);
218 const osm_port_t *p_port = NULL;
299 p_port = osm_get_port_by_lid(sa->p_subn, p_rcvd_rec->lid);
300 if (!p_port)
305 sa_pkey_by_comp_mask(sa, p_port, &context);