Searched refs:newDevice (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcinfo-list.c1054 discoveredDevice *discoveredDevList, *newDevice; local
1159 newDevice = (discoveredDevice *)calloc(1,
1161 if (newDevice == NULL) {
1165 newDevice->next = *devList; /* insert at head */
1166 *devList = newDevice; /* set new head */
1169 strncpy(newDevice->OSDeviceName, entry.ScsiId.OSDeviceName,
1170 sizeof (newDevice->OSDeviceName) - 1);
1183 newDevice->HBAPortWWN = (portWWNList *)calloc(1,
1185 if (newDevice->HBAPortWWN == NULL) {
1189 memcpy((void *)&(newDevice
[all...]
/illumos-gate/usr/src/cmd/sasinfo/
H A Dsasinfo-list.c2180 discoveredDevice *discoveredLU, *newDevice; local
2316 newDevice = (discoveredDevice *)calloc(1,
2319 if (newDevice == NULL) {
2323 newDevice->next = LUList; /* insert at head */
2324 LUList = newDevice; /* set new head */
2327 (void *) strlcpy(newDevice->OSDeviceName,
2329 sizeof (newDevice->OSDeviceName));
2337 newDevice->HBAPortList = (portList *)calloc(1,
2339 if (newDevice->HBAPortList == NULL) {
2343 (void) strlcpy(newDevice
[all...]

Completed in 83 milliseconds