Searched refs:mapping (Results 1 - 25 of 54) sorted by relevance

123

/opensolaris-onvv-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...]
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/lib/libnisdb/
H A Ddb_table.cc229 /* Set default values for the mapping structure */
263 if (mapping.expire != 0)
264 free(mapping.expire);
273 * However, we also use it to tell us if we've retrieved mapping
277 * _before_ we've retrieved any mapping data. Hence the 'expireType'
301 mapping.expire = 0;
302 mapping.tm = 0;
303 mapping.objName = 0;
304 mapping.isDeferredTable = FALSE;
305 (void) mutex_init(&mapping
[all...]
H A Ddb_mindex3.cc126 (void) mutex_lock(&table->mapping.enumLock);
127 if (table->mapping.enumTid != 0) {
130 stat = pthread_kill(table->mapping.enumTid, 0);
134 myself, table->mapping.enumTid,
135 NIL(t->objName), table->mapping.enumStat,
136 ldap_err2string(table->mapping.enumStat));
138 table->mapping.enumTid = 0;
139 table->mapping.enumStat = -1;
141 if (table->mapping.enumDeferred) {
144 table->mapping
[all...]
H A Ddb_table_c.x140 __nis_table_mapping_t mapping;
169 % __nisdb_table_mapping_t mapping;
183 % mapping.isDeferredTable = TRUE;
187 % mapping.isDeferredTable = FALSE;
265 %/* Configure LDAP mapping */
268 %/* Initialize the mapping structure with default values */
269 % void initMappingStruct(__nisdb_table_mapping_t *mapping);
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...]
H A Ddb_mindex2.cc226 * key for the mapping hash list.
258 * If 'table' is NULL, we try to find a mapping for 'obj'.
274 * Should the object type in the mapping be NIS_BOGUS_OBJ,
287 * If caller wants a mapping suitable for writing,
295 * If the object type for the mapping is NIS_BOGUS_OBJ, then
299 if (table->mapping.objType == NIS_BOGUS_OBJ) {
300 table->mapping.objType = updateMappingObj(table->mapping.tm,
301 &table->mapping.objName,
302 &table->mapping
[all...]
H A Ddb_mindex.cc179 * and if we're mapping for this table.
182 (table->mapping.fromLDAP ||
183 table->mapping.objType != NIS_TABLE_OBJ));
189 if (fromLDAP && table->mapping.matchFetch == mat_always) {
217 /* If we found it, or if we're not mapping, return */
228 if (table->mapping.matchFetch != mat_never) {
439 if (table->mapping.fromLDAP) {
442 if (now.tv_sec >= table->mapping.enumExpire) {
445 table->mapping.enumExpire = now.tv_sec +
446 table->mapping
[all...]
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/lib/libidmap/common/
H A Didmap_api.c564 * Create iterator to get name-based mapping rules
615 * Iterate through the name-based mapping rules
933 * Create handle to get SID to UID/GID mapping entries
936 * gh - "get mapping" handle
987 * how - mapping type if stat = 0
997 idmap_mapping *mapping = NULL; local
1019 mapping = &gh->batch.idmap_mapping_batch_val[gh->next];
1020 mapping->flag = flag;
1021 mapping->id1.idtype = IDMAP_SID;
1022 mapping
1092 idmap_mapping *mapping = NULL; local
1191 idmap_mapping *mapping = NULL; local
1288 idmap_mapping *mapping = NULL; local
1379 idmap_mapping *mapping = NULL; local
1605 idmap_mapping request, *mapping; local
1720 idmap_mapping request, *mapping; local
[all...]
/opensolaris-onvv-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;
/opensolaris-onvv-gate/usr/src/lib/libkmf/libkmf/
H A DMakefile.com36 mapping.o \
/opensolaris-onvv-gate/usr/src/lib/libsldap/common/
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...]
H A Dns_writes.c111 /* we only check schema mapping for automount, not for auto_* */
155 * "gecos" 1 to N attribute mapping code. It expects
232 * the "gecos" 1 to N attribute mapping
274 char **mapping; local
284 * add 2 for "gecos" 1 to up to 3 attribute mapping
291 * add 2 for "gecos" 1 to up to 3 attribute mapping
304 * see if schema mapping existed for the given service
306 mapping = __ns_ldap_getOrigAttribute(service,
308 if (mapping) {
310 __s_api_free2dArray(mapping);
[all...]
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/cmd/ldap/
H A DMakefile13 NS_FILES= ldapclient ldaplist mapping printResult ldapaddent ldapaddrbac \
/opensolaris-onvv-gate/usr/src/cmd/lp/filter/postscript/postmd/
H A DREADME37 The mapping from floating point matrix elements to integers is controlled by an
41 changes the interval list and the -g option modifies the grayscale mapping. Check
/opensolaris-onvv-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)) ?
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/bio/
H A Dbss_log.c184 mapping[] = local
215 while(strncmp(buf, mapping[i].str, mapping[i].strl) != 0) i++;
216 priority = mapping[i].log_level;
217 pp = buf + mapping[i].strl;
/opensolaris-onvv-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
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Unicode/
H A DUCD.pm101 decomposition character decomposition mapping
108 upper uppercase equivalent mapping
109 lower lowercase equivalent mapping
110 title titlecase equivalent mapping
544 mapping one or more codes separated by spaces
557 - If this mapping is included, the result is
560 - If this mapping is excluded, the result is not
582 mapping => $3 };
607 The casespec() returns the potentially locale-dependent case mapping
608 of the character specified by a B<code point argument>. The mapping
[all...]
/opensolaris-onvv-gate/usr/src/cmd/ypcmd/yp2lscripts/
H A Dinityp2l.sh29 # and mapping file (/var/yp/NISLDAPmapping)
43 m <mapping_file> Name of the generated NISLDAP mapping file
60 You have not specified the mapping file name. You still have the
61 option to skip creating this file, specify a mapping file name, or
80 mapping file name (${MAP_FILE}).
83 script just helps with rapid creation of a mapping file. You
85 custom maps, then their entries in the mapping file need to be
88 Also, creation of default mapping file would cause NIS components
106 The mapping file "${MAP_FILE}" already exists. It is strongly
116 Warning : Creation of default mapping fil
[all...]
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/uts/common/io/chxge/
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...]

Completed in 236 milliseconds

123