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

/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dofw_memory.c63 u_char mappings[256 * sizeof(struct ofw_mapping2)]; local
68 bzero(mappings, sizeof(mappings));
70 nmapping = OF_getprop(mmup, "translations", mappings, sizeof(mappings));
80 mapptr = (struct ofw_mapping *) mappings;
98 mapptr2 = (struct ofw_mapping2 *) mappings;
/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.c81 * mappings The target mappings data to convert to short names
88 convertDevpathToDevlink(PSMHBA_TARGETMAPPING mappings) argument
102 for (j = 0; j < mappings->NumberOfEntries; j++) {
103 if (strchr(mappings->entry[j].ScsiId.OSDeviceName, ':')) {
105 minor_path = mappings->entry[j].ScsiId.OSDeviceName;
107 minor_path = mappings->entry[j].ScsiId.
113 if (strstr(mappings->entry[j].ScsiId.OSDeviceName,
115 warg.len = strlen(mappings->entry[j].ScsiId.
117 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.h217 map_info_t *mappings; /* cached process mappings */ member in struct:ps_prochandle
218 size_t map_count; /* number of mappings */
219 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 239 milliseconds