Lines Matching refs:userMappings
703 void FCHBAPort::getTargetMappings(PHBA_FCPTARGETMAPPINGV2 userMappings) {
714 if (userMappings == NULL) {
720 if (userMappings->NumberOfEntries == 0) {
722 userMappings->NumberOfEntries = 1;
728 (userMappings->NumberOfEntries - 1) +
738 (userMappings->NumberOfEntries - 1) +
764 for (i = 0; i < userMappings->NumberOfEntries && !zeroLength &&
797 snprintf(userMappings->entry[i].ScsiId.OSDeviceName,
798 sizeof (userMappings->entry[i].ScsiId.OSDeviceName),
800 userMappings->entry[i].ScsiId.ScsiBusNumber =
802 userMappings->entry[i].ScsiId.ScsiTargetNumber =
804 userMappings->entry[i].ScsiId.ScsiOSLun =
806 userMappings->entry[i].FcpId.FcId =
808 memcpy(userMappings->entry[i].FcpId.NodeWWN.wwn,
811 memcpy(userMappings->entry[i].FcpId.PortWWN.wwn,
815 userMappings->entry[i].FcpId.FcpLun =
818 memcpy(userMappings->entry[i].LUID.buffer,
820 sizeof (userMappings->entry[i].LUID.buffer));
828 if (userMappings->NumberOfEntries >= mappings->numLuns) {
830 userMappings->NumberOfEntries = mappings->numLuns;
831 convertToShortNames(userMappings);
834 userMappings->NumberOfEntries = mappings->numLuns;
840 userMappings->NumberOfEntries = mappings->numLuns;
845 userMappings->NumberOfEntries = 0;