/osnet-11/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasGetVendorLibraryAttributes.c | 34 Sun_sasGetVendorLibraryAttributes(SMHBA_LIBRARYATTRIBUTES *attrs) { argument 38 if (attrs == NULL) { 39 log(LOG_DEBUG, ROUTINE, "NULL attrs structure"); 42 (void) strlcpy(attrs->LibPath, SUN_SMHBA_VENDOR_LIB_PATH, 43 sizeof (attrs->LibPath)); 44 (void) strlcpy(attrs->VName, SUN_SMHBA_VENDOR_LIB, 45 sizeof (attrs->VName)); 46 (void) strlcpy(attrs->VVersion, SUN_SMHBA_VENDOR_LIB_VERSION, 47 sizeof (attrs->VVersion));
|
/osnet-11/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcGetVendorLibraryAttributes.cc | 40 * @param attrs The user-allocated buffer 43 Sun_fcGetVendorLibraryAttributes(HBA_LIBRARYATTRIBUTES *attrs) { argument 47 if (attrs == NULL) { 48 log.userError("NULL attrs structure"); 53 *attrs = list->getVSLAttributes(); 57 memset(attrs, 0, sizeof (*attrs));
|
H A D | TgtFCHBAPort.cc | 231 HBA_PORTATTRIBUTES attrs = getPortAttributes(tmp); local 232 memcpy(&tmp, &attrs.PortWWN, 8); 234 memcpy(&tmp, &attrs.NodeWWN, 8); 249 fc_tgt_hba_port_attributes_t attrs; local 271 fctio.fctio_olen = (uint32_t)(sizeof (attrs)); 272 fctio.fctio_obuf = (uint64_t)(uintptr_t)&attrs; 276 stateChange = attrs.lastChange; 278 attributes.PortFcId = attrs.PortFcId; 279 attributes.PortType = attrs.PortType; 280 attributes.PortState = attrs 303 fc_tgt_hba_port_attributes_t attrs; local 359 fc_tgt_hba_port_attributes_t attrs; local 414 HBA_PORTATTRIBUTES attrs; local [all...] |
H A D | FCHBA.cc | 60 HBA_ADAPTERATTRIBUTES attrs = getHBAAttributes(); local 61 name = attrs.Manufacturer; 63 name += attrs.Model; 66 for (int i = 1; i < attrs.NumberOfPorts; i++) { 173 fc_hba_adapter_attributes_t attrs; local 178 fcio.fcio_olen = sizeof (attrs); 180 fcio.fcio_obuf = (caddr_t)&attrs; 199 attributes.NumberOfPorts = attrs.NumberOfPorts; 200 attributes.VendorSpecificID = attrs.VendorSpecificID; 201 memcpy(attributes.Manufacturer, attrs 285 fc_hba_adapter_attributes_t attrs; local [all...] |
H A D | TgtFCHBA.cc | 62 HBA_ADAPTERATTRIBUTES attrs = getHBAAttributes(); local 63 name = attrs.Manufacturer; 65 name += attrs.Model; 94 fc_tgt_hba_adapter_attributes_t attrs; local 125 fctio.fctio_olen = (uint32_t)(sizeof (attrs)); 127 fctio.fctio_obuf = (uint64_t)(uintptr_t)&attrs; 147 attributes.NumberOfPorts = attrs.NumberOfPorts; 148 attributes.VendorSpecificID = attrs.VendorSpecificID; 149 memcpy(attributes.Manufacturer, attrs.Manufacturer, 64); 150 memcpy(attributes.SerialNumber, attrs [all...] |
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | V3.wattroff.c | 50 wattroff(WINDOW *win, _ochtype attrs) argument 52 win->_attrs &= (~_FROM_OCHTYPE(attrs) | win->_bkgd) & A_ATTRIBUTES;
|
H A D | V3.wattron.c | 50 wattron(WINDOW *win, _ochtype attrs) argument 52 win->_attrs |= _FROM_OCHTYPE(attrs) & A_ATTRIBUTES;
|
H A D | V3.wattrset.c | 50 wattrset(WINDOW *win, _ochtype attrs) argument 52 win->_attrs = (_FROM_OCHTYPE(attrs) | win->_bkgd) & A_ATTRIBUTES;
|
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | nsdb_primitives.c | 318 nsdb_free_attrs(LDAPMod *attrs[]) argument 322 if (attrs == NULL) 324 for (i = 0; attrs[i]; i++) { 325 free(attrs[i]->mod_type); 326 free(attrs[i]->mod_values[0]); 327 free(attrs[i]->mod_values[1]); 328 free(attrs[i]->mod_values); 329 free(attrs[i]); 331 free(attrs); 335 alloc_attrs(LDAPMod **attrs, in argument 416 LDAPMod **attrs; local 459 LDAPMod **attrs; local [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | pbkdf2.c | 63 int attrs = 0; local 70 tmpl[attrs].type = CKA_CLASS; 71 tmpl[attrs].pValue = &class; 72 tmpl[attrs].ulValueLen = sizeof (class); 73 attrs++; 79 tmpl[attrs].type = CKA_KEY_TYPE; 80 tmpl[attrs].pValue = &keytype; 81 tmpl[attrs].ulValueLen = sizeof (keytype); 82 attrs++; 94 tmpl[attrs] [all...] |
/osnet-11/usr/src/lib/libidmap/common/ |
H A D | directory_rpc_clnt.c | 45 idmap_utf8str_list attrs, 51 arg.attrs = attrs; 42 directory_get_common_1( idmap_utf8str_list ids, idmap_utf8str types, idmap_utf8str_list attrs, directory_results_rpc *clnt_res, CLIENT *clnt) argument
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | alias.c | 37 static int get_status(disk_t *diskp, int fd, nvlist_t *attrs); 56 nvlist_t *attrs = NULL; local 66 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) { 72 if (nvlist_add_uint32(attrs, DM_LUN, ap->lun) != 0) { 73 nvlist_free(attrs); 78 if (nvlist_add_uint32(attrs, DM_TARGET, ap->target) != 0) { 79 nvlist_free(attrs); 86 if (nvlist_add_string(attrs, DM_WWN, ap->wwn) != 0) { 87 nvlist_free(attrs); 99 if ((*errp = get_status(dp->p.disk, fd, attrs)) ! 204 get_status(disk_t *diskp, int fd, nvlist_t *attrs) argument [all...] |
H A D | controller.c | 60 nvlist_t *attrs; local 62 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) { 69 if (nvlist_add_string(attrs, DM_CTYPE, cp->ctype) != 0) { 70 nvlist_free(attrs); 76 if (nvlist_add_boolean(attrs, DM_MULTIPLEX) != 0) { 77 nvlist_free(attrs); 85 if (nvlist_add_boolean(attrs, DM_FAST) != 0) { 86 nvlist_free(attrs); 92 if (nvlist_add_boolean(attrs, DM_WIDE) != 0) { 93 nvlist_free(attrs); [all...] |
H A D | inuse_dump.c | 56 inuse_dump(char *slice, nvlist_t *attrs, int *errp) argument 86 libdiskmgt_add_str(attrs, DM_USED_BY, 88 libdiskmgt_add_str(attrs, DM_USED_NAME,
|
H A D | media.c | 49 static int get_attrs(disk_t *dp, int fd, nvlist_t *attrs); 122 nvlist_t *attrs = NULL; local 130 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) { 137 if ((*errp = get_attrs(dp->p.disk, fd, attrs)) != 0) { 138 nvlist_free(attrs); 139 attrs = NULL; 146 return (attrs); 368 add_mbr_sig(int fd, nvlist_t *attrs) argument 391 if (nvlist_add_uint32(attrs, DM_VOLSERNO, win_volserno) != 0) { 399 get_attrs(disk_t *dp, int fd, nvlist_t *attrs) argument [all...] |
H A D | inuse_zpool.c | 68 inuse_zpool_common(char *slice, nvlist_t *attrs, int *errp, char *type) argument 114 libdiskmgt_add_str(attrs, DM_USED_BY, 116 libdiskmgt_add_str(attrs, DM_USED_NAME, 130 inuse_active_zpool(char *slice, nvlist_t *attrs, int *errp) argument 132 return (inuse_zpool_common(slice, attrs, errp, DM_USE_ACTIVE_ZPOOL)); 136 inuse_exported_zpool(char *slice, nvlist_t *attrs, int *errp) argument 138 return (inuse_zpool_common(slice, attrs, errp, DM_USE_EXPORTED_ZPOOL));
|
H A D | path.c | 34 static int add_path_state(descriptor_t *dp, nvlist_t *attrs); 35 static int add_wwn(descriptor_t *dp, nvlist_t *attrs); 58 nvlist_t *attrs = NULL; local 62 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) { 67 if (nvlist_add_string(attrs, DM_CTYPE, pp->ctype) != 0) { 68 nvlist_free(attrs); 79 if (add_path_state(dp, attrs) != 0) { 80 nvlist_free(attrs); 84 if (add_wwn(dp, attrs) != 0) { 85 nvlist_free(attrs); 181 add_path_state(descriptor_t *dp, nvlist_t *attrs) argument 219 add_wwn(descriptor_t *dp, nvlist_t *attrs) argument [all...] |
/osnet-11/usr/src/tools/onbld/Checks/ |
H A D | pkglint.py | 60 if "path" not in action.attrs: 62 path = action.attrs["path"] 73 seen_salvage_from = action.attrs.get("salvage-from") 74 seen_actuator = action.attrs.get("reboot-needed") 101 if "path" not in action.attrs: 103 path = action.attrs["path"]
|
/osnet-11/usr/src/lib/libldap4/common/ |
H A D | add.c | 40 BerElement * ldap_build_add_req(LDAP *ld, char *dn, LDAPMod **attrs, argument 50 * attrs SEQUENCE OF SEQUENCE { 71 for ( i = 0; attrs[i] != NULL; i++ ) { 72 if ( ( attrs[i]->mod_op & LDAP_MOD_BVALUES) != 0 ) { 73 rc = ber_printf( ber, "{s[V]}", attrs[i]->mod_type, 74 attrs[i]->mod_values ); 76 rc = ber_printf( ber, "{s[v]}", attrs[i]->mod_type, 77 attrs[i]->mod_values ); 130 * LDAPMod *attrs[] = { 136 * msgid = ldap_add( ld, dn, attrs ); 204 ldap_add_ext(LDAP *ld, char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls, int *msgidp) argument 247 ldap_add_ext_s(LDAP *ld, char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls) argument [all...] |
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | add.c | 51 * LDAPMod *attrs[] = { 57 * msgid = ldap_add( ld, dn, attrs ); 61 ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs ) 67 if ( ldap_add_ext( ld, dn, attrs, NULL, NULL, &msgid ) 82 ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, argument 92 * attrs SEQUENCE OF SEQUENCE { 110 if ( !NSLDAPI_VALID_NONEMPTY_LDAPMOD_ARRAY( attrs ) 129 attrs )) != 0 ) { 152 for ( i = 0; attrs[i] != NULL; i++ ) { 153 if ( ( attrs[ 196 ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl **serverctrls, LDAPControl **clientctrls ) argument [all...] |
/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | tsol_gettpent.c | 64 char **attrs, **template; local 76 attrs = __ns_ldap_getAttr(result->entry, _TNRHTP_ATTRS); 77 if (attrs == NULL || attrs[0] == NULL || (strlen(attrs[0]) < 1)) { 82 /* "template:attrs" */ 83 len = strlen(template[0]) + strlen(attrs[0]) + 2; 95 (void) snprintf(buffer, len, "%s:%s", template[0], attrs[0]);
|
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | SAAdvert.c | 41 char **scopes, char **attrs) { 50 *surl = *scopes = *attrs = NULL; 74 if ((err = slp_get_string(reply, len, &off, attrs)) != SLP_OK) { 98 if (*attrs) free(*attrs); 40 slp_unpackSAAdvert(char *reply, char **surl, char **scopes, char **attrs) argument
|
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | bkgrndst.c | 64 attr_t attrs; local 66 attrs = w->_fg._at; 67 w->_fg._at = (attrs & ~w->_bg._at) | bg->_at;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/attrs/t/ |
H A D | attrs.t | 3 # Regression tests for attrs.pm and the C<sub x : attrs> syntax. 8 eval 'require attrs; 1' or do { 15 no warnings qw(deprecated); # else attrs cries. 26 eval 'sub t1 ($) { use attrs "locked"; $_[0]++ }'; 31 eval 'sub t2 { use attrs "locked"; $_[0]++ }'; 47 eval '$anon1 = sub ($) { use attrs qw(locked method); $_[0]++ }'; 53 eval '$anon2 = sub { use attrs qw(locked method); $_[0]++ }'; 59 eval '$anon3 = sub { use attrs "method"; $_[0]->[1] }'; 64 my @attrs [all...] |
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | CSrvReg.java | 58 Vector attrs, 69 int i, n = attrs.size(); 77 Object o = attrs.elementAt(i); 113 Vector attrs, 150 hdr.parseAttributeVectorOut(attrs, 54 CSrvReg(boolean fresh, Locale locale, ServiceURL urlEntry, Vector scopes, Vector attrs, Hashtable URLSignatures, Hashtable attrSignatures) argument 109 initialize(boolean fresh, Locale locale, ServiceURL urlEntry, Vector scopes, Vector attrs, Hashtable URLSignatures, Hashtable attrSignatures) argument
|