Lines Matching refs:port_ptr

85 free_attached_port(struct sun_sas_port *port_ptr)
90 tgt_port = port_ptr->first_attached_port;
106 port_ptr->first_attached_port = NULL;
107 port_ptr->port_attributes.PortSpecificAttribute.\
116 fillDomainPortWWN(struct sun_sas_port *port_ptr)
124 for (disco_port_ptr = port_ptr->first_attached_port;
131 wwnConversion(port_ptr->port_attributes.
143 if (port_ptr->first_attached_port) {
151 if (wwnConversion(port_ptr->port_attributes.
154 wwnConversion(port_ptr->first_attached_port->
158 port_ptr->first_attached_port->
173 wwnConversion(port_ptr->port_attributes.
188 wwnConversion(port_ptr->port_attributes.
196 for (phy_ptr = port_ptr->first_phy; phy_ptr != NULL;
202 for (disco_port_ptr = port_ptr->first_attached_port;
217 get_attached_devices_info(di_node_t node, struct sun_sas_port *port_ptr)
239 if (port_ptr == NULL) {
240 log(LOG_DEBUG, ROUTINE, "NULL port_ptr argument");
311 if (memcmp(port_ptr->port_attributes.
322 if (wwnConversion(port_ptr->port_attributes.
326 if (memcmp(port_ptr->port_attributes.
335 wwnConversion(port_ptr->port_attributes.
340 free_attached_port(port_ptr);
345 (void) memcpy(port_ptr->port_attributes.
356 free_attached_port(port_ptr);
364 free_attached_port(port_ptr);
373 for (disco_port_ptr = port_ptr->first_attached_port;
412 free_attached_port(port_ptr);
421 free_attached_port(port_ptr);
500 if (port_ptr->first_attached_port == NULL) {
501 port_ptr->first_attached_port = disco_port_ptr;
503 port_ptr->port_attributes.PortSpecificAttribute.\
506 disco_port_ptr->next = port_ptr->first_attached_port;
507 port_ptr->first_attached_port = disco_port_ptr;
508 disco_port_ptr->index = port_ptr->port_attributes.\
511 port_ptr->port_attributes.PortSpecificAttribute.\
528 free_attached_port(port_ptr);
545 free_attached_port(port_ptr);
560 free_attached_port(port_ptr);
572 mapping_ptr->entry.ScsiId.ScsiBusNumber = port_ptr->cntlNumber;
639 get_attached_paths_info(di_path_t path, struct sun_sas_port *port_ptr)
663 if (port_ptr == NULL) {
664 log(LOG_DEBUG, ROUTINE, "NULL port_ptr argument");
754 if (memcmp(port_ptr->port_attributes.
757 if (wwnConversion(port_ptr->port_attributes.
761 if (memcmp(port_ptr->port_attributes.
770 wwnConversion(port_ptr->port_attributes.
777 free_attached_port(port_ptr);
783 (void) memcpy(port_ptr->port_attributes.
796 free_attached_port(port_ptr);
806 free_attached_port(port_ptr);
815 for (disco_port_ptr = port_ptr->first_attached_port;
858 free_attached_port(port_ptr);
868 free_attached_port(port_ptr);
917 if (port_ptr->first_attached_port == NULL) {
918 port_ptr->first_attached_port = disco_port_ptr;
920 port_ptr->port_attributes.PortSpecificAttribute.\
923 disco_port_ptr->next = port_ptr->first_attached_port;
924 port_ptr->first_attached_port = disco_port_ptr;
925 disco_port_ptr->index = port_ptr->port_attributes.\
928 port_ptr->port_attributes.PortSpecificAttribute.\
939 free_attached_port(port_ptr);
957 free_attached_port(port_ptr);
973 free_attached_port(port_ptr);
985 mapping_ptr->entry.ScsiId.ScsiBusNumber = port_ptr->cntlNumber;
1062 devtree_attached_devices(di_node_t node, struct sun_sas_port *port_ptr)
1085 if (get_attached_devices_info(nodechild, port_ptr)
1094 if (get_attached_paths_info(path, port_ptr)