/illumos-gate/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));
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcGetVendorLibraryAttributes.cc | 41 * @param attrs The user-allocated buffer 44 Sun_fcGetVendorLibraryAttributes(HBA_LIBRARYATTRIBUTES *attrs) { argument 48 if (attrs == NULL) { 49 log.userError("NULL attrs structure"); 54 *attrs = list->getVSLAttributes(); 58 memset(attrs, 0, sizeof (*attrs));
|
H A D | TgtFCHBAPort.cc | 232 HBA_PORTATTRIBUTES attrs = getPortAttributes(tmp); local 233 memcpy(&tmp, &attrs.PortWWN, 8); 235 memcpy(&tmp, &attrs.NodeWWN, 8); 250 fc_tgt_hba_port_attributes_t attrs; local 272 fctio.fctio_olen = (uint32_t)(sizeof (attrs)); 273 fctio.fctio_obuf = (uint64_t)(uintptr_t)&attrs; 277 stateChange = attrs.lastChange; 279 attributes.PortFcId = attrs.PortFcId; 280 attributes.PortType = attrs.PortType; 281 attributes.PortState = attrs 304 fc_tgt_hba_port_attributes_t attrs; local 360 fc_tgt_hba_port_attributes_t attrs; local 415 HBA_PORTATTRIBUTES attrs; local [all...] |
H A D | FCHBA.cc | 62 HBA_ADAPTERATTRIBUTES attrs = getHBAAttributes(); local 63 name = attrs.Manufacturer; 65 name += attrs.Model; 68 for (int i = 1; i < attrs.NumberOfPorts; i++) { 172 fc_hba_adapter_attributes_t attrs; local 177 fcio.fcio_olen = sizeof (attrs); 179 fcio.fcio_obuf = (caddr_t)&attrs; 198 attributes.NumberOfPorts = attrs.NumberOfPorts; 199 attributes.VendorSpecificID = attrs.VendorSpecificID; 200 memcpy(attributes.Manufacturer, attrs 281 fc_hba_adapter_attributes_t attrs; local [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_nvpair.h | 41 * @param attrs 62 extern int get_uint16(nvlist_t *attrs, char *which, uint16_t *val); 67 * @param attrs 85 extern int set_uint16(nvlist_t *attrs, char *which, uint16_t val); 90 * @param attrs 111 extern int get_uint32(nvlist_t *attrs, char *which, uint32_t *val); 116 * @param attrs 134 extern int set_uint32(nvlist_t *attrs, char *which, uint32_t val); 139 * @param attrs 160 extern int get_uint64(nvlist_t *attrs, cha [all...] |
H A D | volume_nvpair.c | 56 * @param attrs 73 nvlist_t *attrs, 79 nvlist_walk_nvpair(attrs, which, DATA_TYPE_UINT16, NULL); 93 * @param attrs 113 nvlist_t *attrs, 119 if ((error = nvlist_add_uint16(attrs, which, val)) != 0) { 130 * @param attrs 147 nvlist_t *attrs, 153 nvlist_walk_nvpair(attrs, which, DATA_TYPE_UINT32, NULL); 167 * @param attrs 72 get_uint16( nvlist_t *attrs, char *which, uint16_t *val) argument 112 set_uint16( nvlist_t *attrs, char *which, uint16_t val) argument 146 get_uint32( nvlist_t *attrs, char *which, uint32_t *val) argument 186 set_uint32( nvlist_t *attrs, char *which, uint32_t val) argument 220 get_uint64( nvlist_t *attrs, char *which, uint64_t *val) argument 260 set_uint64( nvlist_t *attrs, char *which, uint64_t val) argument 297 set_boolean( nvlist_t *attrs, char *which, boolean_t val) argument 328 get_boolean( nvlist_t *attrs, char *which, boolean_t *boolval) argument 366 get_string( nvlist_t *attrs, char *which, char **str) argument 406 set_string( nvlist_t *attrs, char *which, char *val) argument 443 get_uint16_array( nvlist_t *attrs, char *which, uint16_t **val, uint_t *nelem) argument 487 set_uint16_array( nvlist_t *attrs, char *which, uint16_t *val, uint_t nelem) argument 527 get_uint64_array( nvlist_t *attrs, char *which, uint64_t **val, uint_t *nelem) argument 571 set_uint64_array( nvlist_t *attrs, char *which, uint64_t *val, uint_t nelem) argument 611 get_string_array( nvlist_t *attrs, char *which, char ***val, uint_t *nelem) argument 655 set_string_array( nvlist_t *attrs, char *which, char **val, uint_t nelem) argument [all...] |
/illumos-gate/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;
|
/illumos-gate/usr/src/cmd/svc/profile/ |
H A D | listsvcs.pl | 60 my ($p, $el, %attrs) = @_; 63 return unless ($attrs{"name"}); 64 $name = $attrs{"name"}; 70 if ($list_all || $attrs{"enabled"} eq "true");
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-service.c | 38 lpsched_service_information(papi_attribute_t ***attrs) argument 43 papiAttributeListAddString(attrs, PAPI_ATTR_APPEND,
|
/illumos-gate/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...] |
/illumos-gate/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
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | alias.c | 41 static int get_status(disk_t *diskp, int fd, nvlist_t *attrs); 60 nvlist_t *attrs = NULL; local 69 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) { 75 if (nvlist_add_uint32(attrs, DM_LUN, ap->lun) != 0) { 76 nvlist_free(attrs); 81 if (nvlist_add_uint32(attrs, DM_TARGET, ap->target) != 0) { 82 nvlist_free(attrs); 89 if (nvlist_add_string(attrs, DM_WWN, ap->wwn) != 0) { 90 nvlist_free(attrs); 102 if ((*errp = get_status(dp->p.disk, fd, attrs)) ! 198 get_status(disk_t *diskp, int fd, nvlist_t *attrs) argument [all...] |
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); 370 get_attrs(disk_t *dp, int fd, nvlist_t *attrs) argument 387 if (nvlist_add_boolean(attrs, DM_FDISK) != 0) { 393 if (nvlist_add_boolean(attrs, DM_REMOVABL [all...] |
H A D | controller.c | 64 nvlist_t *attrs; local 66 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) { 73 if (nvlist_add_string(attrs, DM_CTYPE, cp->ctype) != 0) { 74 nvlist_free(attrs); 80 if (nvlist_add_boolean(attrs, DM_MULTIPLEX) != 0) { 81 nvlist_free(attrs); 89 if (nvlist_add_boolean(attrs, DM_FAST) != 0) { 90 nvlist_free(attrs); 96 if (nvlist_add_boolean(attrs, DM_WIDE) != 0) { 97 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,
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_hba_fru.c | 235 fca_port_attrs_t *attrs = &port_info->pi_attrs; local 244 attrs = &port_info->pi_attrs; 247 (void) snprintf(attrs->manufacturer, FCHBA_MANUFACTURER_LEN, 249 (void) snprintf(attrs->driver_name, FCHBA_DRIVER_NAME_LEN, 251 (void) snprintf(attrs->driver_version, FCHBA_DRIVER_VERSION_LEN, 255 attrs->serial_number, FCHBA_SERIAL_NUMBER_LEN)) == -1) { 256 attrs->serial_number[0] = '\0'; 258 attrs->hardware_version[0] = '\0'; 261 (void) snprintf(attrs->firmware_version, FCHBA_FIRMWARE_VERSION_LEN, 271 int8_t *orv = &*attrs [all...] |
/illumos-gate/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...] |
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | prbk.c | 82 tnfctl_trace_attrs_t attrs; local 84 if (check_kernelmode(&attrs)) 86 if (attrs.trace_buf_state == TNFCTL_BUF_NONE) { 90 attrs.trace_buf_size); 91 if (attrs.trace_buf_state == TNFCTL_BUF_BROKEN) { 107 tnfctl_trace_attrs_t attrs; local 109 if (check_kernelmode(&attrs)) 112 if (attrs.trace_buf_state != TNFCTL_BUF_NONE) { 117 if (size < attrs.trace_min_size) { 121 size, attrs 298 tnfctl_trace_attrs_t attrs; local 336 tnfctl_trace_attrs_t attrs; local 381 tnfctl_trace_attrs_t attrs; local [all...] |
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | lpstat.c | 146 papi_attribute_t **attrs = papiPrinterGetAttributeList(p); local 148 (void) papiAttributeListGetString(attrs, NULL, 204 papi_attribute_t **attrs = papiPrinterGetAttributeList(printer); local 210 status = papiAttributeListGetString(attrs, NULL, 213 status = papiAttributeListGetString(attrs, NULL, 220 (void) papiAttributeListGetString(attrs, NULL, 256 papi_attribute_t **attrs = papiPrinterGetAttributeList(printer); local 261 status = papiAttributeListGetString(attrs, NULL, 264 status = papiAttributeListGetString(attrs, NULL, 270 (void) papiAttributeListGetBoolean(attrs, NUL 304 papi_attribute_t **attrs = papiPrinterGetAttributeList(printer); local 332 get_remote_hostname(papi_attribute_t **attrs, char **host) argument 378 papi_attribute_t **attrs = papiPrinterGetAttributeList(printer); local 792 papi_attribute_t **attrs = papiJobGetAttributeList(job); local 1156 report_form(char *name, papi_attribute_t **attrs, int verbose) argument 1183 report_print_wheels(char *name, papi_attribute_t **attrs, int verbose) argument 1215 papi_attribute_t **attrs = NULL; local [all...] |
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | ns_cmn_kvp.c | 122 ns_kvp_t *kvp, **attrs; local 147 for (attrs = printer->attributes; attrs != NULL && *attrs != NULL; 148 attrs++) { 151 if ((strcmp((*attrs)->key, NS_KEY_ALL) == 0) || 152 (strcmp((*attrs)->key, NS_KEY_GROUP) == 0)) { 155 for (printers = string_to_value((*attrs)->key, 156 (*attrs)->value); 166 } else if (strcmp((*attrs) [all...] |
H A D | nss_ldap.c | 159 static NSL_RESULT _addLDAPmodValue(LDAPMod ***attrs, char *type, char *value); 160 static NSL_RESULT _modLDAPmodValue(LDAPMod ***attrs, char *type, char *value); 162 char **attrList, LDAPMod ***attrs); 164 char **attrList, char ***oldKVPList, LDAPMod ***attrs); 174 static NSL_RESULT _attrAddKVP(LDAPMod ***attrs, char **kvpList, int kvpExists); 866 LDAPMod **attrs = NULL; local 890 attrList, &attrs); 894 (char *)printerDN, attrs); 907 (void) ldap_mods_free(attrs, 1); 963 LDAPMod **attrs local 1144 _addLDAPmodValue(LDAPMod ***attrs, char *type, char *value) argument 1279 _modLDAPmodValue(LDAPMod ***attrs, char *type, char *value) argument 1469 _constructAddLDAPMod(uchar_t *printerName, char **attrList, LDAPMod ***attrs) argument 1602 _constructModLDAPMod(uchar_t *printerName, int sunPrinter, char **attrList, char ***oldKVPList, LDAPMod ***attrs) argument 2355 _attrAddKVP(LDAPMod ***attrs, char **kvpList, int kvpExists) argument [all...] |
/illumos-gate/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]);
|
/illumos-gate/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
|