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

/osnet-11/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;
/osnet-11/usr/src/lib/sun_sas/common/
H A DSun_sasGetTargetMapping.c29 * 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
32 Sun_sasGetTargetMapping(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN domainPortWWN, SMHBA_TARGETMAPPING *mapping) argument
[all...]
/osnet-11/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...]
/osnet-11/usr/src/grub/grub2/grub-core/commands/i386/pc/
H A Ddrivemap.c86 /* Puts the specified mapping into the table, replacing an existing mapping
91 drivemap_node_t *mapping = 0; local
97 mapping = search;
104 if (mapping)
105 mapping->redirto = redirto;
108 mapping = grub_malloc (sizeof (drivemap_node_t));
109 if (! mapping)
112 mapping->newdrive = newdrive;
113 mapping
125 drivemap_node_t *mapping = 0; local
[all...]
/osnet-11/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).
/osnet-11/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)) ?
/osnet-11/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_yp_util.c65 __nis_table_mapping_t *mapping)
67 if (mapping != NULL) {
68 mapping->dbId = NULL;
70 mapping->index.numIndexes = 0;
71 mapping->index.name = NULL;
72 mapping->index.value = NULL;
74 mapping->numColumns = 0;
75 mapping->column = NULL;
77 mapping->initTtlLo = (time_t)NO_VALUE_SET;
78 mapping
64 initialize_table_mapping( __nis_table_mapping_t *mapping) argument
[all...]
H A Dnis_parse_ldap_util.c246 * free_table_mapping does not remove the table mapping from
251 free_table_mapping(__nis_table_mapping_t *mapping) argument
255 if (mapping == NULL)
258 if (mapping->dbId != NULL)
259 free(mapping->dbId);
260 mapping->dbId = NULL;
262 if (mapping->objName != NULL)
263 free(mapping->objName);
264 mapping->objName = NULL;
266 for (i = 0; i < mapping
[all...]
/osnet-11/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.c752 find_field(const zjni_field_mapping_t *mapping, int value) { argument
754 for (i = 0; mapping[i].name != NULL; i++) {
755 if (value == mapping[i].value) {
756 return (mapping[i].name);
/osnet-11/usr/src/lib/libidmap/common/
H A Didmap_api.c567 * Create iterator to get name-based mapping rules
618 * Iterate through the name-based mapping rules
936 * Create handle to get SID to UID/GID mapping entries
939 * gh - "get mapping" handle
990 * how - mapping type if stat = 0
1000 idmap_mapping *mapping = NULL; local
1022 mapping = &gh->batch.idmap_mapping_batch_val[gh->next];
1023 mapping->flag = flag;
1024 mapping->id1.idtype = IDMAP_SID;
1025 mapping
1095 idmap_mapping *mapping = NULL; local
1194 idmap_mapping *mapping = NULL; local
1291 idmap_mapping *mapping = NULL; local
1382 idmap_mapping *mapping = NULL; local
1608 idmap_mapping request, *mapping; local
1713 idmap_mapping request, *mapping; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/video/
H A Dsm712.c286 grub_uint8_t mapping[] = local
315 if (addr >= ARRAY_SIZE (mapping) || mapping[addr] == 0xff)
317 grub_sm712_cr_write (val, mapping[addr]);
575 /* Write palette mapping. */
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_writes.c165 /* we only check schema mapping for automount, not for auto_* */
209 * "gecos" 1 to N attribute mapping code. It expects
286 * the "gecos" 1 to N attribute mapping
328 char **mapping; local
337 * add 2 for "gecos" 1 to up to 3 attribute mapping
344 * add 2 for "gecos" 1 to up to 3 attribute mapping
357 * see if schema mapping existed for the given service
359 mapping = __ns_ldap_getOrigAttribute(service,
361 if (mapping) {
363 __s_api_free2dArray(mapping);
[all...]
H A Dns_reads.c108 * mapping to the original mappped type. Either way, the DN will be
122 * Return: NULL - No attribute mapping in the RDN
159 /* The attribute mapping is found */
175 * No attribute mapping. attrs[i] is going to be copied
224 * mapping to the original mappped type. Either way, the DN will be
251 /* Attribute mapping requires 'service' */
256 /* attribute mapping not needed and no space in DN, done */
614 char **mapping; local
659 * see if schema mapping existed for the given service
661 mapping
1663 char **mapping; member in struct:filter_mapping_info
1676 char **mapping; local
5531 char **mapping = NULL; local
[all...]
/osnet-11/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
/osnet-11/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
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgetgrent.c275 /* gr_attrs2 lists the group attributes that may need schema mapping. */
296 * gr_attrs4 is used for schema mapping a group entry returned
716 /* Perform schema mapping on a group entry returned from a dn2uid lookup. */
833 char **mapping; local
859 * that schema mapping for the passwd service will be done by libsldap.
862 * do the schema mapping because the service specified is not 'group'.
863 * We do this extra schema mapping because we want to try to get
866 mapping = __ns_ldap_getOrigAttribute(_GROUP,
868 if (mapping != NULL) {
870 * There is schema mapping fo
[all...]
/osnet-11/usr/src/lib/smhba/common/
H A DSMHBAAPILIB.c2719 HBA_GetFcpTargetMapping(HBA_HANDLE handle, PHBA_FCPTARGETMAPPING mapping) { argument
2735 status = ((GetFcpTargetMappingFunc)(vendorHandle, mapping));

Completed in 148 milliseconds