Lines Matching refs:userMappings
706 void FCHBAPort::getTargetMappings(PHBA_FCPTARGETMAPPINGV2 userMappings) {
717 if (userMappings == NULL) {
723 if (userMappings->NumberOfEntries == 0) {
725 userMappings->NumberOfEntries = 1;
731 (userMappings->NumberOfEntries - 1) +
741 (userMappings->NumberOfEntries - 1) +
767 for (i = 0; i < userMappings->NumberOfEntries && !zeroLength &&
800 snprintf(userMappings->entry[i].ScsiId.OSDeviceName,
801 sizeof (userMappings->entry[i].ScsiId.OSDeviceName),
803 userMappings->entry[i].ScsiId.ScsiBusNumber =
805 userMappings->entry[i].ScsiId.ScsiTargetNumber =
807 userMappings->entry[i].ScsiId.ScsiOSLun =
809 userMappings->entry[i].FcpId.FcId =
811 memcpy(userMappings->entry[i].FcpId.NodeWWN.wwn,
814 memcpy(userMappings->entry[i].FcpId.PortWWN.wwn,
818 userMappings->entry[i].FcpId.FcpLun =
821 memcpy(userMappings->entry[i].LUID.buffer,
823 sizeof (userMappings->entry[i].LUID.buffer));
831 if (userMappings->NumberOfEntries >= mappings->numLuns) {
833 userMappings->NumberOfEntries = mappings->numLuns;
834 convertToShortNames(userMappings);
837 userMappings->NumberOfEntries = mappings->numLuns;
843 userMappings->NumberOfEntries = mappings->numLuns;
848 userMappings->NumberOfEntries = 0;