Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 25 of 292) sorted by relevance

12345678910>>...12

/illumos-gate/usr/src/lib/sun_fc/common/
H A DTgtFCHBAPort.cc233 memcpy(&tmp, &attrs.PortWWN, 8); in TgtFCHBAPort()
235 memcpy(&tmp, &attrs.NodeWWN, 8); in TgtFCHBAPort()
277 stateChange = attrs.lastChange; in getPortAttributes()
279 attributes.PortFcId = attrs.PortFcId; in getPortAttributes()
280 attributes.PortType = attrs.PortType; in getPortAttributes()
333 stateChange = attrs.lastChange; in getDiscoveredAttributes()
335 attributes.PortFcId = attrs.PortFcId; in getDiscoveredAttributes()
336 attributes.PortType = attrs.PortType; in getDiscoveredAttributes()
376 stateChange = attrs.lastChange; in getDiscoveredAttributes()
378 attributes.PortFcId = attrs.PortFcId; in getDiscoveredAttributes()
[all …]
H A DFCHBA.cc63 name = attrs.Manufacturer; in FCHBA()
65 name += attrs.Model; in FCHBA()
68 for (int i = 1; i < attrs.NumberOfPorts; i++) { in FCHBA()
172 fc_hba_adapter_attributes_t attrs; in getHBAAttributes() local
177 fcio.fcio_olen = sizeof (attrs); in getHBAAttributes()
179 fcio.fcio_obuf = (caddr_t)&attrs; in getHBAAttributes()
202 memcpy(attributes.Model, attrs.Model, 256); in getHBAAttributes()
281 fc_hba_adapter_attributes_t attrs; in npivGetHBAAttributes() local
285 fcio.fcio_olen = sizeof (attrs); in npivGetHBAAttributes()
287 fcio.fcio_obuf = (caddr_t)&attrs; in npivGetHBAAttributes()
[all …]
H A DFCHBAPort.cc465 memcpy(&tmp, &attrs.PortWWN, 8); in FCHBAPort()
467 memcpy(&tmp, &attrs.NodeWWN, 8); in FCHBAPort()
565 fcio.fcio_olen = sizeof(attrs); in getPortNPIVAttributes()
571 stateChange = attrs.lastChange; in getPortNPIVAttributes()
592 fcio.fcio_olen = sizeof (attrs); in getPortAttributes()
598 stateChange = attrs.lastChange; in getPortAttributes()
631 fcio.fcio_olen = sizeof (attrs); in getDiscoveredAttributes()
639 stateChange = attrs.lastChange; in getDiscoveredAttributes()
684 stateChange = attrs.lastChange; in getDiscoveredAttributes()
954 HBA_PORTATTRIBUTES attrs; in sendRLS() local
[all …]
H A DTgtFCHBA.cc65 HBA_ADAPTERATTRIBUTES attrs = getHBAAttributes(); in TgtFCHBA() local
66 name = attrs.Manufacturer; in TgtFCHBA()
68 name += attrs.Model; in TgtFCHBA()
94 fc_tgt_hba_adapter_attributes_t attrs; in getHBAAttributes() local
125 fctio.fctio_olen = (uint32_t)(sizeof (attrs)); in getHBAAttributes()
127 fctio.fctio_obuf = (uint64_t)(uintptr_t)&attrs; in getHBAAttributes()
147 attributes.NumberOfPorts = attrs.NumberOfPorts; in getHBAAttributes()
148 attributes.VendorSpecificID = attrs.VendorSpecificID; in getHBAAttributes()
151 memcpy(attributes.Model, attrs.Model, 256); in getHBAAttributes()
158 memcpy(attributes.DriverName, attrs.DriverName, 256); in getHBAAttributes()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_hba_fru.c244 attrs = &port_info->pi_attrs; in ql_populate_hba_fru_details()
256 attrs->serial_number[0] = '\0'; in ql_populate_hba_fru_details()
258 attrs->hardware_version[0] = '\0'; in ql_populate_hba_fru_details()
317 (void) snprintf(attrs->option_rom_version, in ql_populate_hba_fru_details()
401 attrs->hba_fru_details.low = 0; in ql_populate_hba_fru_details()
402 attrs->hba_fru_details.high = 0; in ql_populate_hba_fru_details()
403 attrs->hba_fru_details.port_index = 0; in ql_populate_hba_fru_details()
431 (void) snprintf(attrs->model_description, in ql_populate_hba_fru_details()
437 (void) snprintf(attrs->model_description, in ql_populate_hba_fru_details()
446 (void) snprintf(attrs->model_description, in ql_populate_hba_fru_details()
[all …]
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dnss_ldap.c1157 for (i = 0; *attrs != NULL && (*attrs)[i] != NULL; i++) in _addLDAPmodValue()
1165 if (*attrs == NULL) in _addLDAPmodValue()
1170 if (*attrs != NULL) in _addLDAPmodValue()
1185 if (*attrs == NULL) in _addLDAPmodValue()
1295 for (i = 0; *attrs != NULL && (*attrs)[i] != NULL; i++) in _modLDAPmodValue()
1303 if (*attrs == NULL) in _modLDAPmodValue()
1480 *attrs = NULL; in _constructAddLDAPMod()
1561 attrs = NULL; in _constructAddLDAPMod()
1616 *attrs = NULL; in _constructModLDAPMod()
1751 *attrs = NULL; in _constructModLDAPMod()
[all …]
H A Dns_cmn_kvp.c123 ns_kvp_t *kvp, **attrs; in ns_r_get_value() local
148 for (attrs = printer->attributes; attrs != NULL && *attrs != NULL; in ns_r_get_value()
149 attrs++) { in ns_r_get_value()
152 if ((strcmp((*attrs)->key, NS_KEY_ALL) == 0) || in ns_r_get_value()
153 (strcmp((*attrs)->key, NS_KEY_GROUP) == 0)) { in ns_r_get_value()
156 for (printers = string_to_value((*attrs)->key, in ns_r_get_value()
157 (*attrs)->value); in ns_r_get_value()
170 for (printers = string_to_value((*attrs)->key, in ns_r_get_value()
171 (*attrs)->value); in ns_r_get_value()
177 } else if (strcmp((*attrs)->key, NS_KEY_USE) == 0) { in ns_r_get_value()
[all …]
/illumos-gate/usr/src/cmd/tnf/prex/
H A Dprbk.c82 tnfctl_trace_attrs_t attrs; in prbk_buffer_list() local
84 if (check_kernelmode(&attrs)) in prbk_buffer_list()
90 attrs.trace_buf_size); in prbk_buffer_list()
107 tnfctl_trace_attrs_t attrs; in prbk_buffer_alloc() local
109 if (check_kernelmode(&attrs)) in prbk_buffer_alloc()
121 size, attrs.trace_min_size, attrs.trace_min_size); in prbk_buffer_alloc()
137 attrs.trace_buf_size); in prbk_buffer_alloc()
298 tnfctl_trace_attrs_t attrs; in prbk_show_pfilter_mode() local
336 tnfctl_trace_attrs_t attrs; in prbk_warn_pfilter_empty() local
340 if (attrs.filter_state) { in prbk_warn_pfilter_empty()
[all …]
H A Dlist.c227 char *attrs; in list_getattrs() local
237 if (attrs) in list_getattrs()
239 return (attrs); in list_getattrs()
282 if (attrs) { in list_getattrs()
287 return (attrs); in list_getattrs()
306 char *attrs; in probescan() local
317 if (attrs) in probescan()
318 free(attrs); in probescan()
517 char *attrs; in listprobe() local
551 if (attrs) in listprobe()
[all …]
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dlpstat.c148 (void) papiAttributeListGetString(attrs, NULL, in get_device_uri()
220 (void) papiAttributeListGetString(attrs, NULL, in report_device()
339 (void) papiAttributeListGetString(attrs, NULL, in get_remote_hostname()
341 (void) papiAttributeListGetString(attrs, NULL, in get_remote_hostname()
534 print_description(attrs, name); in report_printer()
665 print_description(attrs, name); in report_printer()
871 (void) papiAttributeListGetString(attrs, in report_job()
1215 papi_attribute_t **attrs = NULL; in service_query() local
1224 attrs = papiServiceGetAttributeList(svc); in service_query()
1225 if (attrs != NULL) { in service_query()
[all …]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dalias.c60 nvlist_t *attrs = NULL; in alias_get_attributes() local
69 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) { in alias_get_attributes()
75 if (nvlist_add_uint32(attrs, DM_LUN, ap->lun) != 0) { in alias_get_attributes()
76 nvlist_free(attrs); in alias_get_attributes()
82 nvlist_free(attrs); in alias_get_attributes()
89 if (nvlist_add_string(attrs, DM_WWN, ap->wwn) != 0) { in alias_get_attributes()
90 nvlist_free(attrs); in alias_get_attributes()
103 nvlist_free(attrs); in alias_get_attributes()
104 attrs = NULL; in alias_get_attributes()
117 return (attrs); in alias_get_attributes()
[all …]
H A Dmedia.c122 nvlist_t *attrs = NULL; in media_get_attributes() local
130 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) { in media_get_attributes()
138 nvlist_free(attrs); in media_get_attributes()
139 attrs = NULL; in media_get_attributes()
146 return (attrs); in media_get_attributes()
370 get_attrs(disk_t *dp, int fd, nvlist_t *attrs) argument
410 if (nvlist_add_uint32(attrs, DM_MTYPE,
427 if (nvlist_add_uint64(attrs, DM_NACCESSIBLE,
444 if (nvlist_add_uint32(attrs, DM_NHEADS,
477 if (nvlist_add_uint64(attrs, DM_START,
[all …]
H A Dcontroller.c64 nvlist_t *attrs; in controller_get_attributes() local
66 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) { in controller_get_attributes()
74 nvlist_free(attrs); in controller_get_attributes()
81 nvlist_free(attrs); in controller_get_attributes()
90 nvlist_free(attrs); in controller_get_attributes()
97 nvlist_free(attrs); in controller_get_attributes()
104 nvlist_free(attrs); in controller_get_attributes()
111 nvlist_free(attrs); in controller_get_attributes()
118 nvlist_free(attrs); in controller_get_attributes()
127 nvlist_free(attrs); in controller_get_attributes()
[all …]
H A Dpath.c61 nvlist_t *attrs = NULL; in path_get_attributes() local
65 if (nvlist_alloc(&attrs, NVATTRS, 0) != 0) { in path_get_attributes()
71 nvlist_free(attrs); in path_get_attributes()
82 if (add_path_state(dp, attrs) != 0) { in path_get_attributes()
83 nvlist_free(attrs); in path_get_attributes()
87 if (add_wwn(dp, attrs) != 0) { in path_get_attributes()
88 nvlist_free(attrs); in path_get_attributes()
95 return (attrs); in path_get_attributes()
181 add_path_state(descriptor_t *dp, nvlist_t *attrs) in add_path_state() argument
199 if (nvlist_add_string(attrs, DM_PATH_STATE, in add_path_state()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dpbkdf2.c63 int attrs = 0; in krb5int_pbkdf2_hmac_sha1() local
70 tmpl[attrs].type = CKA_CLASS; in krb5int_pbkdf2_hmac_sha1()
71 tmpl[attrs].pValue = &class; in krb5int_pbkdf2_hmac_sha1()
73 attrs++; in krb5int_pbkdf2_hmac_sha1()
79 tmpl[attrs].type = CKA_KEY_TYPE; in krb5int_pbkdf2_hmac_sha1()
80 tmpl[attrs].pValue = &keytype; in krb5int_pbkdf2_hmac_sha1()
82 attrs++; in krb5int_pbkdf2_hmac_sha1()
94 tmpl[attrs].type = CKA_VALUE_LEN; in krb5int_pbkdf2_hmac_sha1()
97 tmpl[attrs].pValue = &outlen; in krb5int_pbkdf2_hmac_sha1()
99 attrs++; in krb5int_pbkdf2_hmac_sha1()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dadd.c61 ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs ) in ldap_add() argument
67 if ( ldap_add_ext( ld, dn, attrs, NULL, NULL, &msgid ) in ldap_add()
82 ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, in ldap_add_ext() argument
110 if ( !NSLDAPI_VALID_NONEMPTY_LDAPMOD_ARRAY( attrs ) in ldap_add_ext()
129 attrs )) != 0 ) { in ldap_add_ext()
152 for ( i = 0; attrs[i] != NULL; i++ ) { in ldap_add_ext()
153 if ( ( attrs[i]->mod_op & LDAP_MOD_BVALUES) != 0 ) { in ldap_add_ext()
154 rc = ber_printf( ber, "{s[V]}", attrs[i]->mod_type, in ldap_add_ext()
155 attrs[i]->mod_bvalues ); in ldap_add_ext()
157 rc = ber_printf( ber, "{s[v]}", attrs[i]->mod_type, in ldap_add_ext()
[all …]
H A Durl.c278 attrs = NULL; in nsldapi_url_parse()
282 *attrs++ = '\0'; in nsldapi_url_parse()
285 if (( p = strchr( attrs, '?' )) != NULL ) { in nsldapi_url_parse()
337 if ( attrs != NULL && *attrs != '\0' ) { in nsldapi_url_parse()
338 nsldapi_hex_unescape( attrs ); in nsldapi_url_parse()
339 for ( nattrs = 1, p = attrs; *p != '\0'; ++p ) { in nsldapi_url_parse()
351 for ( i = 0, p = attrs; i < nattrs; ++i ) { in nsldapi_url_parse()
567 char *attrs, in ldap_dns_to_url() argument
600 if (attrs || scope || filter) { in ldap_dns_to_url()
602 if (attrs) in ldap_dns_to_url()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ads.c788 if (attrs[i] == NULL) { in smb_ads_alloc_attr()
810 free(attrs[i]); in smb_ads_free_attr()
1040 attrs[0] = "cn"; in smb_ads_lookup_share()
1042 attrs[2] = "uNCName"; in smb_ads_lookup_share()
1043 attrs[3] = NULL; in smb_ads_lookup_share()
1346 attrs[++j]->mod_op = op; in smb_ads_computer_op()
1352 attrs[++j]->mod_op = op; in smb_ads_computer_op()
1553 attrs[1] = NULL; in smb_ads_lookup_computer_n_attr()
1554 attrs[2] = NULL; in smb_ads_lookup_computer_n_attr()
1626 LDAPMod *attrs[2]; in smb_ads_update_computer_cntrl_attr() local
[all …]
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasGetVendorLibraryAttributes.c34 Sun_sasGetVendorLibraryAttributes(SMHBA_LIBRARYATTRIBUTES *attrs) { in Sun_sasGetVendorLibraryAttributes() argument
38 if (attrs == NULL) { in Sun_sasGetVendorLibraryAttributes()
42 (void) strlcpy(attrs->LibPath, SUN_SMHBA_VENDOR_LIB_PATH, in Sun_sasGetVendorLibraryAttributes()
43 sizeof (attrs->LibPath)); in Sun_sasGetVendorLibraryAttributes()
44 (void) strlcpy(attrs->VName, SUN_SMHBA_VENDOR_LIB, in Sun_sasGetVendorLibraryAttributes()
45 sizeof (attrs->VName)); in Sun_sasGetVendorLibraryAttributes()
46 (void) strlcpy(attrs->VVersion, SUN_SMHBA_VENDOR_LIB_VERSION, in Sun_sasGetVendorLibraryAttributes()
47 sizeof (attrs->VVersion)); in Sun_sasGetVendorLibraryAttributes()
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgettpent.c241 char *attrs = tpstrp->attrs; in tpstr_to_ent() local
259 if (attrs && *attrs != '\0' && *attrs != '#' && *attrs != '\n') in tpstr_to_ent()
260 *errstrp = attrs; in tpstr_to_ent()
267 if (attrs && *attrs != '\0' && *attrs != '#' && *attrs != '\n') in tpstr_to_ent()
268 *errstrp = attrs; in tpstr_to_ent()
271 if (attrs == NULL || *attrs == '\0' || *attrs == '#' || in tpstr_to_ent()
272 *attrs == '\n') { in tpstr_to_ent()
286 kv = _str2kva(attrs, KV_ASSIGN, KV_DELIMITER); in tpstr_to_ent()
292 attrs); in tpstr_to_ent()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Dradius_auth.c163 req->attrs[0].attr_type_code = RAD_USER_NAME; in set_radius_attrs()
164 (void) strncpy((char *)req->attrs[0].attr_value, in set_radius_attrs()
167 req->attrs[0].attr_value_len = strlen(target_chap_name); in set_radius_attrs()
169 req->attrs[1].attr_type_code = RAD_CHAP_PASSWORD; in set_radius_attrs()
171 (char *)req->attrs[1].attr_value, in set_radius_attrs()
172 min(response_length, sizeof (req->attrs[1].attr_value))); in set_radius_attrs()
174 req->attrs[1].attr_value_len = response_length; in set_radius_attrs()
176 req->attrs[2].attr_type_code = RAD_CHAP_CHALLENGE; in set_radius_attrs()
178 (char *)req->attrs[2].attr_value, in set_radius_attrs()
179 min(challenge_length, sizeof (req->attrs[2].attr_value))); in set_radius_attrs()
[all …]
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_radiusauth.c162 req->attrs[0].attr_type_code = RAD_USER_NAME; in set_radius_attrs()
163 (void) strncpy((char *)req->attrs[0].attr_value, in set_radius_attrs()
166 req->attrs[0].attr_value_len = strlen(target_chap_name); in set_radius_attrs()
168 req->attrs[1].attr_type_code = RAD_CHAP_PASSWORD; in set_radius_attrs()
170 (char *)req->attrs[1].attr_value, in set_radius_attrs()
171 min(response_length, sizeof (req->attrs[1].attr_value))); in set_radius_attrs()
173 req->attrs[1].attr_value_len = 16; in set_radius_attrs()
175 req->attrs[2].attr_type_code = RAD_CHAP_CHALLENGE; in set_radius_attrs()
177 (char *)req->attrs[2].attr_value, in set_radius_attrs()
178 min(challenge_length, sizeof (req->attrs[2].attr_value))); in set_radius_attrs()
[all …]
/illumos-gate/usr/src/cmd/keyserv/
H A Dchkey_common.c478 ns_ldap_attr_t *attrs; in ldap_attr_mod() local
542 attrs->attrvalue = alist[0]; in ldap_attr_mod()
544 *pkeyattrs = attrs; in ldap_attr_mod()
552 *ckeyattrs = attrs; in ldap_attr_mod()
891 attrs[0]->value_count = 1; in ldap_update()
910 attrs[1]->value_count = 1; in ldap_update()
929 attrs[2]->value_count = 1; in ldap_update()
932 attrs[3] = NULL; in ldap_update()
954 attrs[0] = pattrs; in ldap_update()
955 attrs[1] = cattrs; in ldap_update()
[all …]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_wrapper.c66 char *dn, LDAPMod **attrs, in _ns_ldap_add_ext() argument
71 return (ldap_add_ext(ld, dn, attrs, in _ns_ldap_add_ext()
77 char *dn, LDAPMod **attrs, in _ns_ldap_add_ext_s() argument
87 char *dn, LDAPMod **attrs) in _ns_ldap_add() argument
91 return (ldap_add(ld, dn, attrs)); in _ns_ldap_add()
96 char *dn, LDAPMod **attrs) in _ns_ldap_add_s() argument
324 attrs, attrsonly, serverctrls, in _ns_ldap_search_ext()
338 attrs, attrsonly, serverctrls, in _ns_ldap_search_ext_s()
345 char **attrs, int attrsonly) in _ns_ldap_search() argument
360 attrs, attrsonly, res)); in _ns_ldap_search_s()
[all …]
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcinfo-list.c139 if (portCtr >= attrs->NumberOfPorts) { in retrieveAttrs()
610 HBA_ADAPTERATTRIBUTES attrs; in fc_util_list_remoteport() local
680 memset(&attrs, 0, sizeof (attrs)); in fc_util_list_remoteport()
731 HBA_ADAPTERATTRIBUTES attrs; in fc_util_list_hbaport() local
837 memset(&attrs, 0, sizeof (attrs)); in fc_util_list_hbaport()
881 memset(&attrs, 0, sizeof (attrs)); in fc_util_list_hbaport()
884 &attrs); in fc_util_list_hbaport()
891 &attrs); in fc_util_list_hbaport()
968 memset(&attrs, 0, sizeof (attrs)); in fc_util_list_hbaport()
1265 HBA_ADAPTERATTRIBUTES attrs; in fc_util_list_logicalunit() local
[all …]

12345678910>>...12