Searched refs:mappings (Results 1 - 19 of 19) sorted by relevance

/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...]
H A Dsun_sas.h283 extern void convertDevpathToDevlink(PSMHBA_TARGETMAPPING mappings);
/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...]
H A DHBAPort.h123 void convertToShortNames(PHBA_FCPTARGETMAPPINGV2 mappings);
/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/cmd/mdb/common/modules/libproc/
H A Dlibproc.c202 mp = &psp.mappings[mid];
206 mappings) + (mp - psp.mappings) *
315 miw->miw_next = (uintptr_t)psp.mappings;
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dserver.c541 _VALIDATE_LIST_CB_DATA(19, &result->mappings.mappings_val,
544 result->mappings.mappings_len++;
548 result->mappings.mappings_val[cb_data->next].id1.idmap_id_u.sid.prefix =
550 result->mappings.mappings_val[cb_data->next].id1.idmap_id_u.sid.rid =
552 result->mappings.mappings_val[cb_data->next].id1.idtype =
555 result->mappings.mappings_val[cb_data->next].id2.idmap_id_u.uid =
557 result->mappings.mappings_val[cb_data->next].id2.idtype =
564 result->mappings.mappings_val[cb_data->next].direction =
567 result->mappings.mappings_val[cb_data->next].direction =
570 result->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/libproc/common/
H A DPsymtab.c190 * To figure out which map_info_t instances correspond to the mappings
194 * instances in lock step to correctly find the mappings that
201 mp = P->mappings;
203 while (mp < P->mappings + P->map_count && i < fptr->file_nsaddrs) {
318 * libraries. We use this to get the load object names for the mappings.
444 * Go through all the address space mappings, validating or updating
447 * This function is only called when we suspect that the mappings have changed
474 * mappings, to avoid having to rebuild the file info.
476 mptr = P->mappings;
484 * We've exhausted all the old mappings
[all...]
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 */
H A DPcontrol.c3857 * associated file_map pointer needs to be relocated after the mappings have
3870 if ((P->mappings = realloc(P->mappings,
3877 mp = &P->mappings[P->map_count++];
3907 * Sort the current set of mappings. Should be called during target
3916 qsort(P->mappings, P->map_count, sizeof (map_info_t), map_sort);
3922 mp = &P->mappings[i];
H A DPcore.c1246 const char *msgfmt = "mappings at and above %p are missing\n";
1951 * Librtld_db agent callback for iterating over load object mappings.
1982 * identify any other mappings that belong to this load object.
2038 * identify this load object's other mappings with what we've
2043 for (mp = fp->file_map + 1; mp < P->mappings + P->map_count &&
2064 /* Ensure that all this file's mappings are named. */
2065 for (mp = fp->file_map; mp < P->mappings + P->map_count &&
2309 * for proc_update_maps() to reload mappings at any later point.
2614 * Locate and label the mappings corresponding to the end of the
2630 * and the ability to read from mappings provide
[all...]
/illumos-gate/usr/src/uts/common/rpcsvc/
H A Didmap_prot.x289 /* Identity mappings (sid-posix) */
308 idmap_mapping mappings<>;
477 /* List all identity mappings */
/illumos-gate/usr/src/uts/sun4v/ml/
H A Dmach_proc_init.s102 ldx [%l1 + LPAD_NMAP], %l2 ! %l2 = number of mappings
106 * Sanity check the number of mappings.
/illumos-gate/usr/src/uts/common/os/
H A Dpriv_defs173 privileged graphics device mappings.
177 Allows a process to perform privileged mappings through a
363 queue sizes, event to class mappings, policy options).
547 Allows a process to modify pointer button and key mappings.
/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...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dbuiltins.c4445 /* If the user specifies no argument, reset the key mappings. */
4555 " mappings."

Completed in 154 milliseconds