Lines Matching refs:newPort
2181 portList *portElem, *newPort, *prevElem;
2240 newPort = (portList *)calloc(1, sizeof (portList));
2241 if (newPort == NULL) {
2246 (void) strlcpy(newPort->portName, portName,
2247 sizeof (newPort->portName));
2252 sas_name_comp(newPort->portName, portElem->portName)
2259 newPort->next = portElem;
2260 discoveredLU->HBAPortList = newPort;
2262 newPort->next = portElem;
2263 prevElem->next = newPort;
2266 newPort->tgtPortWWN = (tgtPortWWNList *)calloc(1,
2268 if (newPort->tgtPortWWN == NULL) {
2273 (void *) memcpy((void *)&(newPort->tgtPortWWN->portWWN),
2277 newPort->tgtPortWWN->scsiOSLun =