Searched defs:mappings (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/sun_fc/common/
H A DHBAPort.cc140 * @param mappings The target mappings data to convert to
148 void HBAPort::convertToShortNames(PHBA_FCPTARGETMAPPINGV2 mappings) { argument
160 for (int j = 0; j < mappings->NumberOfEntries; j++) {
161 if (strchr(mappings->entry[j].ScsiId.OSDeviceName, ':')) {
163 minor_path = mappings->entry[j].ScsiId.OSDeviceName;
165 minor_path = mappings->entry[j].ScsiId.OSDeviceName +
168 minor_path = mappings->entry[j].ScsiId.OSDeviceName;
173 if (strstr(mappings->entry[j].ScsiId.OSDeviceName,
175 warg.len = strlen (mappings
[all...]
H A DFCHBAPort.cc712 fc_hba_target_mappings_t *mappings; local
729 mappings = (fc_hba_target_mappings_t *)new uchar_t[
733 if (mappings == NULL) {
743 fioctl.list = (caddr_t)mappings;
747 log.debug("Performing IOCTL to fetch mappings");
750 delete (mappings);
761 throw IOError("Unable to fetch target mappings");
768 i < mappings->numLuns; i++) {
769 string raw = mappings->entries[i].targetDriver;
806 mappings
[all...]
/illumos-gate/usr/src/lib/sun_sas/common/
H A Ddevlink_disco.c84 * mappings The target mappings data to convert to short names
91 convertDevpathToDevlink(PSMHBA_TARGETMAPPING mappings) argument
105 for (j = 0; j < mappings->NumberOfEntries; j++) {
106 if (strchr(mappings->entry[j].ScsiId.OSDeviceName, ':')) {
108 minor_path = mappings->entry[j].ScsiId.OSDeviceName;
110 minor_path = mappings->entry[j].ScsiId.
116 if (strstr(mappings->entry[j].ScsiId.OSDeviceName,
118 warg.len = strlen(mappings->entry[j].ScsiId.
120 warg.path = mappings
[all...]
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_main.c539 static zjni_class_type_map_t mappings[] = { local
544 int nmappings = sizeof (mappings) / sizeof (zjni_class_type_map_t);
561 jclass typeClass = (*env)->FindClass(env, mappings[i].class);
570 map_data.type = mappings[i].type;
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_api.c723 * Create iterator to get SID to UID/GID mappings
743 * Iterate through the SID to UID/GID mappings
763 idmap_mappings_res *mappings; local
789 mappings = (idmap_mappings_res *)iter->retlist;
790 if (iter->retcode == IDMAP_NEXT && (mappings == NULL ||
791 iter->next >= mappings->mappings.mappings_len)) {
801 (uchar_t **)&mappings, sizeof (*mappings),
807 if (IDMAP_ERROR(mappings
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.h219 map_info_t *mappings; /* cached process mappings */ member in struct:ps_prochandle
220 size_t map_count; /* number of mappings */
221 size_t map_alloc; /* number of mappings allocated */
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c1735 * Fetch the target mappings (path, etc.) for all LUNs
1744 fc_hba_target_mappings_t *mappings; local
1799 cmn_err(CE_NOTE, "target mappings: unknown instance number: %d",
1812 cmn_err(CE_NOTE, "target mappings: Insufficient buffer");
1817 if ((mappings = kmem_zalloc(mappingSize, KM_SLEEP)) == NULL) {
1820 mappings->version = FC_HBA_TARGET_MAPPINGS_VERSION;
1850 map = &mappings->entries[mapIndex++];
1905 mappings->numLuns = mapIndex;
1907 if (ddi_copyout(mappings, fioctl.list, mappingSize, mode)) {
1908 kmem_free(mappings, mappingSiz
[all...]

Completed in 245 milliseconds