Lines Matching refs:p_physp

86 				       IN const osm_physp_t * p_physp,
110 if (p_physp->p_guids)
112 *p_physp->p_guids + block_num * GUID_TABLE_MAX_ENTRIES,
115 p_rec_item->resp.guid_rec.guid_info.guid[0] = osm_physp_get_port_guid(p_physp);
131 const osm_physp_t *p_physp;
157 p_physp = osm_node_get_physp_ptr(p_node, port_num);
158 if (!p_physp)
161 /* Check to see if the found p_physp and the requester physp
163 if (!osm_physp_share_pkey(sa->p_log, p_physp, p_req_physp,
167 port_guid = osm_physp_get_port_guid(p_physp);
179 if (p_physp->port_info.guid_cap == 0)
182 num_blocks = p_physp->port_info.guid_cap / 8;
183 if (p_physp->port_info.guid_cap % 8)
194 base_lid_ho = cl_ntoh16(osm_physp_get_base_lid(p_physp));
197 lmc = osm_physp_get_lmc(p_physp);
215 cl_ntoh16(base_lid_ho), p_physp,
393 if (!p_port->p_physp->p_guids)
396 max_block = (p_port->p_physp->port_info.guid_cap + GUID_TABLE_MAX_ENTRIES - 1) /
403 block_num, max_block, cl_ntoh64(p_port->p_physp->port_guid));
417 (block_num + 1) * GUID_TABLE_MAX_ENTRIES < p_port->p_physp->port_info.guid_cap ? i < (block_num + 1) * GUID_TABLE_MAX_ENTRIES : i < p_port->p_physp->port_info.guid_cap;
431 del_alias_guid = (*p_port->p_physp->p_guids)[i];
451 (block_num + 1) * GUID_TABLE_MAX_ENTRIES < p_port->p_physp->port_info.guid_cap ? i < (block_num + 1) * GUID_TABLE_MAX_ENTRIES : i < p_port->p_physp->port_info.guid_cap;
456 del_alias_guid = (*p_port->p_physp->p_guids)[i];
471 (*p_port->p_physp->p_guids)[i] = 0;
483 &((*p_port->p_physp->p_guids)[block_num * GUID_TABLE_MAX_ENTRIES]),
504 max_block = (p_port->p_physp->port_info.guid_cap + GUID_TABLE_MAX_ENTRIES - 1) /
510 block_num, max_block, cl_ntoh64(p_port->p_physp->port_guid));
516 if (!p_port->p_physp->p_guids) {
517 p_port->p_physp->p_guids = calloc(max_block * GUID_TABLE_MAX_ENTRIES,
519 if (!p_port->p_physp->p_guids) {
523 cl_ntoh64(p_port->p_physp->port_guid));
530 (*p_port->p_physp->p_guids)[0] = p_port->p_physp->port_guid;
544 (block_num + 1) * GUID_TABLE_MAX_ENTRIES < p_port->p_physp->port_info.guid_cap ? i < (block_num + 1) * GUID_TABLE_MAX_ENTRIES : i < p_port->p_physp->port_info.guid_cap;
562 set_alias_guid = (*p_port->p_physp->p_guids)[i];
571 p_port->p_physp->port_guid);
618 p_assigned_guids = osm_assigned_guids_new(p_port->p_physp->port_guid,
628 cl_ntoh64(p_port->p_physp->port_guid), i);
644 cl_ntoh64(p_port->p_physp->port_guid));
656 i, cl_ntoh64(p_port->p_physp->port_guid));
668 (*p_port->p_physp->p_guids)[i] != set_alias_guid) {
682 del_alias_guid = (*p_port->p_physp->p_guids)[i];
700 (*p_port->p_physp->p_guids)[i] = set_alias_guid;
712 &((*p_port->p_physp->p_guids)[block_num * GUID_TABLE_MAX_ENTRIES]),
823 if (!osm_physp_share_pkey(sa->p_log, p_req_physp, p_port->p_physp,