Lines Matching defs:attrs

48 static int processHBA(HBA_HANDLE handle, HBA_ADAPTERATTRIBUTES attrs,
60 HBA_ADAPTERATTRIBUTES *attrs, HBA_PORTATTRIBUTES *port, int *portIndex);
72 * attrs pointer to a HBA_ADAPTERATTRIBUTES structure. Upon
85 HBA_ADAPTERATTRIBUTES *attrs, HBA_PORTATTRIBUTES *port, int *portIndex)
92 if (attrs == NULL || port == NULL || portIndex == NULL) {
99 memset(attrs, 0, sizeof (HBA_ADAPTERATTRIBUTES));
100 status = HBA_GetAdapterAttributes(handle, attrs);
106 status = HBA_GetAdapterAttributes(handle, attrs);
124 for (portCtr = 0; portCtr < attrs->NumberOfPorts; portCtr++) {
139 if (portCtr >= attrs->NumberOfPorts) {
371 processHBA(HBA_HANDLE handle, HBA_ADAPTERATTRIBUTES attrs, int portIndex,
381 attrs.VendorSpecificID != 0xFC0E) {
384 printHBAPortInfo(&port, &attrs, mode);
610 HBA_ADAPTERATTRIBUTES attrs;
680 memset(&attrs, 0, sizeof (attrs));
682 if (retrieveAttrs(handle, myhbaPortWWN, &attrs, &port,
691 processHBA(handle, attrs, portCount, port, map, REMOTE_PORT,
731 HBA_ADAPTERATTRIBUTES attrs;
837 memset(&attrs, 0, sizeof (attrs));
839 if (retrieveAttrs(handle, myWWN, &attrs, &port,
844 processHBA(handle, attrs, portIndex, port, NULL,
847 attrs.VendorSpecificID != 0xFC0E &&
881 memset(&attrs, 0, sizeof (attrs));
884 &attrs);
891 &attrs);
908 portIndex < attrs.NumberOfPorts;
927 processHBA(handle, attrs, portIndex, port,
932 attrs.VendorSpecificID != 0xFC0E &&
968 memset(&attrs, 0, sizeof (attrs));
969 if ((status = HBA_GetAdapterAttributes(handle, &attrs))
982 portIndex < attrs.NumberOfPorts;
1001 processHBA(handle, attrs, portIndex, port,
1265 HBA_ADAPTERATTRIBUTES attrs;
1314 memset(&attrs, 0, sizeof (attrs));
1316 status = HBA_GetAdapterAttributes(handle, &attrs);
1321 status = HBA_GetAdapterAttributes(handle, &attrs);
1338 for (portIndex = 0; portIndex < attrs.NumberOfPorts;