Lines Matching refs:p_port

379 			 IN osm_port_t *p_port, IN uint8_t block_num)
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];
434 p_list_item = cl_qlist_head(&p_port->mcm_list);
435 while (p_list_item != cl_qlist_end(&p_port->mcm_list)) {
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;
477 if (osm_queue_guidinfo(sa, p_port, block_num))
483 &((*p_port->p_physp->p_guids)[block_num * GUID_TABLE_MAX_ENTRIES]),
492 IN osm_port_t *p_port, IN uint8_t block_num)
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);
582 if (p_alias_guid->p_base_port != p_port) {
592 cl_ntoh64(p_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));
651 p_alias_guid = osm_alias_guid_new(set_alias_guid, p_port);
656 i, cl_ntoh64(p_port->p_physp->port_guid));
667 if (p_alias_guid_check->p_base_port != p_port ||
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;
706 if (osm_queue_guidinfo(sa, p_port, block_num))
712 &((*p_port->p_physp->p_guids)[block_num * GUID_TABLE_MAX_ENTRIES]),
754 osm_port_t *p_port;
814 p_port = osm_get_port_by_lid(sa->p_subn, p_rcvd_rec->lid);
815 if (!p_port) {
823 if (!osm_physp_share_pkey(sa->p_log, p_req_physp, p_port->p_physp,
830 set_guidinfo(sa, p_madw, p_port, p_rcvd_rec->block_num);
832 del_guidinfo(sa, p_madw, p_port, p_rcvd_rec->block_num);