Lines Matching refs:port_ptr

84 free_attached_port(struct sun_sas_port *port_ptr)
89 tgt_port = port_ptr->first_attached_port;
105 port_ptr->first_attached_port = NULL;
106 port_ptr->port_attributes.PortSpecificAttribute.\
115 fillDomainPortWWN(struct sun_sas_port *port_ptr)
123 for (disco_port_ptr = port_ptr->first_attached_port;
130 wwnConversion(port_ptr->port_attributes.
142 if (port_ptr->first_attached_port) {
150 if (wwnConversion(port_ptr->port_attributes.
153 wwnConversion(port_ptr->first_attached_port->
157 port_ptr->first_attached_port->
172 wwnConversion(port_ptr->port_attributes.
187 wwnConversion(port_ptr->port_attributes.
195 for (phy_ptr = port_ptr->first_phy; phy_ptr != NULL;
201 for (disco_port_ptr = port_ptr->first_attached_port;
216 get_attached_devices_info(di_node_t node, struct sun_sas_port *port_ptr)
238 if (port_ptr == NULL) {
239 log(LOG_DEBUG, ROUTINE, "NULL port_ptr argument");
310 if (memcmp(port_ptr->port_attributes.
321 if (wwnConversion(port_ptr->port_attributes.
325 if (memcmp(port_ptr->port_attributes.
334 wwnConversion(port_ptr->port_attributes.
339 free_attached_port(port_ptr);
344 (void) memcpy(port_ptr->port_attributes.
355 free_attached_port(port_ptr);
363 free_attached_port(port_ptr);
372 for (disco_port_ptr = port_ptr->first_attached_port;
411 free_attached_port(port_ptr);
420 free_attached_port(port_ptr);
499 if (port_ptr->first_attached_port == NULL) {
500 port_ptr->first_attached_port = disco_port_ptr;
502 port_ptr->port_attributes.PortSpecificAttribute.\
505 disco_port_ptr->next = port_ptr->first_attached_port;
506 port_ptr->first_attached_port = disco_port_ptr;
507 disco_port_ptr->index = port_ptr->port_attributes.\
510 port_ptr->port_attributes.PortSpecificAttribute.\
527 free_attached_port(port_ptr);
544 free_attached_port(port_ptr);
559 free_attached_port(port_ptr);
571 mapping_ptr->entry.ScsiId.ScsiBusNumber = port_ptr->cntlNumber;
635 get_attached_paths_info(di_path_t path, struct sun_sas_port *port_ptr)
659 if (port_ptr == NULL) {
660 log(LOG_DEBUG, ROUTINE, "NULL port_ptr argument");
750 if (memcmp(port_ptr->port_attributes.
753 if (wwnConversion(port_ptr->port_attributes.
757 if (memcmp(port_ptr->port_attributes.
766 wwnConversion(port_ptr->port_attributes.
773 free_attached_port(port_ptr);
779 (void) memcpy(port_ptr->port_attributes.
792 free_attached_port(port_ptr);
802 free_attached_port(port_ptr);
811 for (disco_port_ptr = port_ptr->first_attached_port;
854 free_attached_port(port_ptr);
864 free_attached_port(port_ptr);
913 if (port_ptr->first_attached_port == NULL) {
914 port_ptr->first_attached_port = disco_port_ptr;
916 port_ptr->port_attributes.PortSpecificAttribute.\
919 disco_port_ptr->next = port_ptr->first_attached_port;
920 port_ptr->first_attached_port = disco_port_ptr;
921 disco_port_ptr->index = port_ptr->port_attributes.\
924 port_ptr->port_attributes.PortSpecificAttribute.\
935 free_attached_port(port_ptr);
953 free_attached_port(port_ptr);
969 free_attached_port(port_ptr);
981 mapping_ptr->entry.ScsiId.ScsiBusNumber = port_ptr->cntlNumber;
1056 devtree_attached_devices(di_node_t node, struct sun_sas_port *port_ptr)
1079 if (get_attached_devices_info(nodechild, port_ptr)
1088 if (get_attached_paths_info(path, port_ptr)