Searched defs:mapping (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/test/os-tests/tests/secflags/
H A Daddrs.c12 void *mapping = NULL; local
17 if ((mapping = mmap((caddr_t)0, 10, (PROT_READ | PROT_WRITE),
23 printf("mapping: 0x%p\n", mapping);
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dmechstr.c40 * This table is a one-to-one mapping between mechanism names and numbers.
52 static const pkcs11_mapping_t mapping[] = { variable
335 * Anything below CKM_VENDOR_DEFINED that wasn't in the mapping table
352 result = (pkcs11_mapping_t *)bsearch((void *)&target, (void *)mapping,
353 (sizeof (mapping) / sizeof (pkcs11_mapping_t)) - 1,
399 for (i = 0; mapping[i].str; i++) {
400 if (strcasecmp(&mapping[i].str[compare_off], mech_str) == 0) {
401 *mech = mapping[i].mech;
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasGetTargetMapping.c30 * Retrieves the mapping between targets and OS SCSI information
34 HBA_WWN domainPortWWN, SMHBA_TARGETMAPPING *mapping)
45 if (mapping == NULL) {
46 log(LOG_DEBUG, ROUTINE, "NULL mapping buffer");
57 mapping->NumberOfEntries = 0;
68 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
33 Sun_sasGetTargetMapping(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN domainPortWWN, SMHBA_TARGETMAPPING *mapping) argument
[all...]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DSun_fcGetFcpTargetMapping.cc57 * @memo Retrieves the mapping between FCP targets and OS
59 * @return HBA_STATUS_OK if the mapping structure contains valid
60 * mapping data.
62 * @param mapping The user-allocated mapping structure
69 Sun_fcGetFcpTargetMapping(HBA_HANDLE handle, PHBA_FCPTARGETMAPPING mapping) { argument
81 if (mapping == NULL) {
82 log.userError("NULL mapping argument.");
86 entries = mapping->NumberOfEntries;
96 (sizeof (HBA_FCPSCSIENTRYV2)*(mapping
[all...]
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11SUNWExtensions.c49 ATTRTYPE_MECHINFO_MAPPING mapping[] = { variable
339 num_mapping = sizeof (mapping) / sizeof (ATTRTYPE_MECHINFO_MAPPING);
342 template[i].type = mapping[j].attr;
344 if (mech_info.flags & ((mapping[j]).flag)) {
482 num_mapping = sizeof (mapping) / sizeof (ATTRTYPE_MECHINFO_MAPPING);
485 template[i].type = mapping[j].attr;
486 template[i].pValue = (key_flags & ((mapping[j]).flag)) ?
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dmapping.c36 struct mapping { struct
45 static struct mapping maplist[] = {
402 * if schema mapping is configured in the profile).
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_util.c182 char *default_field_name, zjni_field_mapping_t *mapping)
191 for (i = 0; mapping[i].name != NULL; i++) {
192 if (value == mapping[i].value) {
193 field_name = mapping[i].name;
181 zjni_int_to_enum(JNIEnv *env, int value, char *class_name, char *default_field_name, zjni_field_mapping_t *mapping) argument
H A Dlibzfs_jni_pool.c755 find_field(const zjni_field_mapping_t *mapping, int value) { argument
757 for (i = 0; mapping[i].name != NULL; i++) {
758 if (value == mapping[i].value) {
759 return (mapping[i].name);
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dserver.c238 /* Get directory-based name mapping info */
256 TRACE(req, res, "Start mapping");
352 * mapping information.
635 /* Unknown mapping type */
1064 copy_mapping(idmap_mapping *mapping, idmap_mapping *request) argument
1068 (void) memset(mapping, 0, sizeof (*mapping));
1070 mapping->flag = request->flag;
1071 mapping->direction = _IDMAP_F_DONE;
1073 retcode = copy_id(&mapping
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_yp_util.c68 __nis_table_mapping_t *mapping)
70 if (mapping != NULL) {
71 mapping->dbId = NULL;
73 mapping->index.numIndexes = 0;
74 mapping->index.name = NULL;
75 mapping->index.value = NULL;
77 mapping->numColumns = 0;
78 mapping->column = NULL;
80 mapping->initTtlLo = (time_t)NO_VALUE_SET;
81 mapping
67 initialize_table_mapping( __nis_table_mapping_t *mapping) argument
[all...]
H A Dnis_parse_ldap_util.c249 * free_table_mapping does not remove the table mapping from
254 free_table_mapping(__nis_table_mapping_t *mapping) argument
258 if (mapping == NULL)
261 if (mapping->dbId != NULL)
262 free(mapping->dbId);
263 mapping->dbId = NULL;
265 if (mapping->objName != NULL)
266 free(mapping->objName);
267 mapping->objName = NULL;
269 for (i = 0; i < mapping
[all...]
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcinfo-list.c47 HBA_FCPTARGETMAPPINGV2 **mapping);
152 * This function retrieves target mapping information for the HBA port WWN.
153 * This function will allocate space for the mapping structure which the caller
159 * mapping - a pointer to a pointer for the target mapping structure
160 * Upon successful completion of this function, *mapping will contain
161 * the target mapping information
169 HBA_FCPTARGETMAPPINGV2 **mapping)
176 if (mapping == NULL) {
177 fprintf(stderr, gettext("Internal Error: mapping i
168 getTargetMapping(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_FCPTARGETMAPPINGV2 **mapping) argument
[all...]
/illumos-gate/usr/src/uts/common/idmap/
H A Didmap_kapi.c63 * batch mapping results.
76 /* Batch mapping handle structure */
81 idmap_mapping *mapping; member in struct:idmap_get_handle
430 idmap_mapping mapping; local
445 bzero(&mapping, sizeof (idmap_mapping));
446 mapping.id1.idtype = IDMAP_SID;
447 mapping.id1.idmap_id_u.sid.prefix = (char *)sid_prefix;
448 mapping.id1.idmap_id_u.sid.rid = rid;
449 mapping.id2.idtype = IDMAP_UID;
454 args.idmap_mapping_batch_val = &mapping;
507 idmap_mapping mapping; local
584 idmap_mapping mapping; local
672 idmap_mapping mapping; local
756 idmap_mapping mapping; local
856 idmap_mapping *mapping; local
901 idmap_mapping *mapping; local
962 idmap_mapping *mapping; local
1025 idmap_mapping *mapping; local
1084 idmap_mapping *mapping; local
1139 idmap_mapping *mapping; local
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dmerge.c45 * that exists in the parent, a mapping between the two (between their type IDs)
47 * parent nodes, a mapping is established between the child node ID and a
99 * type ID from the child, look at the ID mapping to determine the desired link
182 debug(3, "Adding mapping %u => %u\n", srcid, tgtid);
358 int mapping; local
366 * checking on a subgraph that has already been checked. If a mapping
368 * compare the mapping for the child node with the ID of the parent
374 if ((mapping = get_mapping(ed->ed_ta, ctdp->t_id)) > 0 &&
375 mapping == mtdp->t_id && !ed->ed_selfuniquify)
699 aborterr("failed to get mapping fo
[all...]
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dch.c115 * No swap mapping device attributes
871 * type - byteswap mapping?
872 * flags - type of mapping
891 uint_t mapping; local
896 mapping = (flags&DMA_STREAM)?DDI_DMA_STREAMING:DDI_DMA_CONSISTENT;
951 mapping,
972 direction|mapping,
H A Dsge.c317 dma_addr_t mapping; local
415 mapping = cmp->ce_pa;
425 e->AddrHigh = ((u64)mapping >> 32);
426 e->AddrLow = ((u64)mapping & 0xffffffff);
453 mapping = cmp->ce_pa;
458 e->AddrHigh = ((u64)mapping >> 32);
459 e->AddrLow = ((u64)mapping & 0xffffffff);
1073 uint64_t mapping; local
1081 mapping = os_freelist_buffer_alloc(sge->obj, sz,
1083 if (mapping
[all...]
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_api.c556 * Create iterator to get name-based mapping rules
613 * Iterate through the name-based mapping rules
931 * Create handle to get SID to UID/GID mapping entries
934 * gh - "get mapping" handle
985 * how - mapping type if stat = 0
995 idmap_mapping *mapping = NULL; local
1017 mapping = &gh->batch.idmap_mapping_batch_val[gh->next];
1018 mapping->flag = flag;
1019 mapping->id1.idtype = IDMAP_SID;
1020 mapping
1090 idmap_mapping *mapping = NULL; local
1189 idmap_mapping *mapping = NULL; local
1286 idmap_mapping *mapping = NULL; local
1377 idmap_mapping *mapping = NULL; local
1603 idmap_mapping request, *mapping; local
1718 idmap_mapping request, *mapping; local
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_writes.c112 /* we only check schema mapping for automount, not for auto_* */
156 * "gecos" 1 to N attribute mapping code. It expects
233 * the "gecos" 1 to N attribute mapping
275 char **mapping; local
285 * add 2 for "gecos" 1 to up to 3 attribute mapping
292 * add 2 for "gecos" 1 to up to 3 attribute mapping
305 * see if schema mapping existed for the given service
307 mapping = __ns_ldap_getOrigAttribute(service,
309 if (mapping) {
311 __s_api_free2dArray(mapping);
[all...]
H A Dns_reads.c96 * Convert attribute type in a RDN that has an attribute mapping to the
106 * Return: NULL - No attribute mapping in the RDN
137 /* The attribute mapping is found */
154 * No attribute mapping. attrs[i] is going to be copied
163 /* No attribute mapping. Don't bother to reconstruct RDN */
204 * Convert attribute type in a DN that has an attribute mapping to the
247 * No RDN contains any attribute mapping.
314 char **mapping; local
341 * see if schema mapping existed for the given service
343 mapping
1066 char **mapping; member in struct:filter_mapping_info
1079 char **mapping; local
4534 char **mapping = NULL; local
[all...]
/illumos-gate/usr/src/lib/hbaapi/common/
H A DHBAAPILIB.c2373 HBA_GetFcpTargetMapping (HBA_HANDLE handle, PHBA_FCPTARGETMAPPING mapping) {
2385 status = ((GetFcpTargetMappingFunc)(vendorHandle, mapping));
2367 HBA_GetFcpTargetMapping(HBA_HANDLE handle, PHBA_FCPTARGETMAPPING mapping) argument
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dtg3.c1672 dma_addr_t mapping, uint32_t maxlen_flags,
1677 ((uint64_t) mapping >> 32));
1680 ((uint64_t) mapping & 0xffffffff));
3039 dma_addr_t mapping, int len, uint32_t flags,
3049 txd->addr_lo = mapping & 0xffffffff;
1671 tg3_set_bdinfo(struct tg3 *tp, uint32_t bdinfo_addr, dma_addr_t mapping, uint32_t maxlen_flags, uint32_t nic_addr) argument
/illumos-gate/usr/src/cmd/find/
H A Dfind.c1962 mode_t mapping[] = { local
1971 for (i = 0; mapping[i] != 0; i++)
1973 newmode |= mapping[i];
/illumos-gate/usr/src/lib/smhba/common/
H A DSMHBAAPILIB.c2719 HBA_GetFcpTargetMapping(HBA_HANDLE handle, PHBA_FCPTARGETMAPPING mapping) { argument
2735 status = ((GetFcpTargetMappingFunc)(vendorHandle, mapping));
/illumos-gate/usr/src/uts/common/io/drm/
H A DdrmP.h633 drm_local_map_t mapping; member in struct:ati_pcigart_info

Completed in 140 milliseconds