Lines Matching defs:mapping
29 * Retrieves the mapping between targets and OS SCSI information
33 HBA_WWN domainPortWWN, SMHBA_TARGETMAPPING *mapping)
44 if (mapping == NULL) {
45 log(LOG_DEBUG, ROUTINE, "NULL mapping buffer");
56 mapping->NumberOfEntries = 0;
67 mapping->NumberOfEntries = 0;
111 * Add the information as much as mapping
120 if (total_entries < mapping->NumberOfEntries) {
121 (void) memcpy(&mapping->entry[i].ScsiId,
124 (void) memcpy(&mapping->entry[i].
127 (void) memcpy(&mapping->entry[i].LUID,
160 if (total_entries > mapping->NumberOfEntries) {
162 "total entries: %d: mapping->NumberofEntries: %d.",
163 total_entries, mapping->NumberOfEntries);
164 mapping->NumberOfEntries = total_entries;
170 mapping->NumberOfEntries = total_entries;
173 convertDevpathToDevlink(mapping);