/titanic_44/usr/src/lib/libidmap/common/ |
H A D | directory_client.c | 130 int nattrs; in directory_get_v() local 148 for (nattrs = 0; attr_list[nattrs] != NULL; nattrs++) in directory_get_v() 153 sl_attrs.idmap_utf8str_list_len = nattrs; in directory_get_v() 283 int nattrs; in copy_directory_entry() local 297 nattrs = ent_rpc->directory_entry_rpc_u.attrs.attrs_len; in copy_directory_entry() 299 ent->attrs = sized_array(nattrs, sizeof (directory_attribute_value_t)); in copy_directory_entry() 304 for (i = 0; i < nattrs; i++) { in copy_directory_entry()
|
/titanic_44/usr/src/cmd/cpc/common/ |
H A D | strtoset.c | 88 static int nattrs; variable 317 int nattrs = 0; in cpc_count_attrs() local 319 cpc_walk_attrs(cpc, &nattrs, attr_count_walker); in cpc_count_attrs() 321 return (nattrs); in cpc_count_attrs() 352 nattrs = 0; in cpc_strtoset() 410 nattrs = cpc_count_attrs(cpc); in cpc_strtoset() 411 attrlist = (char **)emalloc(nattrs * sizeof (char *)); in cpc_strtoset() 416 ntoks = ncounters + (2 * ncounters) + (nattrs * ncounters) + nattrs + 3; in cpc_strtoset() 455 for (j = 0; j < nattrs; j++) { in cpc_strtoset() 569 for (i = 0; i < nattrs; i++) in strtoset_cleanup()
|
H A D | setgrp.c | 87 uint_t flags, int nattrs, const cpc_attr_t *attrs) in cpc_setgrp_walker() argument 102 uint_t flags, int nattrs, const cpc_attr_t *attrs) in cpc_setgrp_picwalker() argument 107 for (i = 0; i < nattrs; i++) { in cpc_setgrp_picwalker() 111 if (i == nattrs) in cpc_setgrp_picwalker()
|
/titanic_44/usr/src/cmd/idmap/idmapd/ |
H A D | directory_provider_ad.c | 53 int nattrs; member 65 directory_entry_rpc *pent, const char * const * attrs, int nattrs, 283 int nattrs, in directory_provider_ad_lookup() argument 301 cbinfo.nattrs = nattrs; in directory_provider_ad_lookup() 377 int nattrs = cbinfo->nattrs; in directory_provider_ad_cb1() local 407 llvals = calloc(nattrs, sizeof (directory_values_rpc)); in directory_provider_ad_cb1() 412 pent->directory_entry_rpc_u.attrs.attrs_len = nattrs; in directory_provider_ad_cb1() 415 for (i = 0; i < nattrs; i++) { in directory_provider_ad_cb1()
|
H A D | directory_provider_builtin.c | 154 int nattrs; in directory_provider_builtin_populate() local 156 nattrs = attrs->idmap_utf8str_list_len; in directory_provider_builtin_populate() 158 llvals = calloc(nattrs, sizeof (directory_values_rpc)); in directory_provider_builtin_populate() 164 pent->directory_entry_rpc_u.attrs.attrs_len = nattrs; in directory_provider_builtin_populate() 166 for (j = 0; j < nattrs; j++) { in directory_provider_builtin_populate()
|
H A D | directory_provider_nsswitch.c | 256 int nattrs; in directory_provider_nsswitch_populate() local 268 nattrs = attrs->idmap_utf8str_list_len; in directory_provider_nsswitch_populate() 270 llvals = calloc(nattrs, sizeof (directory_values_rpc)); in directory_provider_nsswitch_populate() 275 pent->directory_entry_rpc_u.attrs.attrs_len = nattrs; in directory_provider_nsswitch_populate() 278 for (j = 0; j < nattrs; j++) { in directory_provider_nsswitch_populate()
|
/titanic_44/usr/src/lib/libcpc/i386/ |
H A D | event_pentium.c | 699 int nattrs; in __cpc_eventtoset() local 718 nattrs = j = 1; in __cpc_eventtoset() 730 nattrs++; in __cpc_eventtoset() 735 nattrs++; in __cpc_eventtoset() 737 nattrs++; in __cpc_eventtoset() 739 nattrs++; in __cpc_eventtoset() 741 nattrs++; in __cpc_eventtoset() 743 nattrs++; in __cpc_eventtoset() 745 if ((attr = (cpc_attr_t *)malloc(nattrs * in __cpc_eventtoset() 791 event->ce_pic[i], flags[i], nattrs, attr) == -1) { in __cpc_eventtoset() [all …]
|
/titanic_44/usr/src/cmd/devmgmt/cmds/ |
H A D | putdev.c | 211 int nattrs; /* Number of attributes on command */ in main() local 264 nattrs = argc - optind; in main() 272 if (nattrs < 0) { in main() 365 if (nattrs <= 0) { in main() 464 if (nattrs < 0) { in main() 474 if (nattrs == 0) { in main()
|
/titanic_44/usr/src/uts/intel/pcbe/ |
H A D | core_pcbe.c | 101 uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, 1065 uint_t nattrs, kcpc_attr_t *attrs, void **data) in configure_gpc() argument 1095 if (nattrs > 0 && in configure_gpc() 1115 if (nattrs > 0) { in configure_gpc() 1192 for (i = 0; i < nattrs; i++) { in configure_gpc() 1253 uint_t nattrs, kcpc_attr_t *attrs, void **data) in configure_ffc() argument 1267 if ((versionid < 3) && (nattrs != 0)) { in configure_ffc() 1274 for (i = 0; i < nattrs; i++) { in configure_ffc() 1311 uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, in core_pcbe_configure() argument 1338 nattrs, attrs, data); in core_pcbe_configure() [all …]
|
H A D | opteron_pcbe.c | 102 uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, 717 uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) in opt_pcbe_configure() argument 744 if (nattrs > 0) in opt_pcbe_configure() 787 for (i = 0; i < nattrs; i++) { in opt_pcbe_configure()
|
H A D | p4_pcbe.c | 93 uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, 670 uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, in p4_pcbe_configure() argument 715 for (i = 0; i < nattrs; i++) in p4_pcbe_configure() 721 (!p4_htt && nattrs > 0)) in p4_pcbe_configure() 754 for (i = 0; i < nattrs; i++) { in p4_pcbe_configure()
|
/titanic_44/usr/src/lib/krb5/kdb/ |
H A D | kdb_convert.c | 45 kdbe_attr_type_t *attrs, int *nattrs) in find_changed_attrs() argument 139 *nattrs = i; in find_changed_attrs() 294 int i, j, k, cnt, final, nattrs, tmpint, nprincs; in ulog_conv_2logentry() local 312 nprincs = nattrs = tmpint = 0; in ulog_conv_2logentry() 351 while (nattrs < MAXATTRS_SIZE - 8) { in ulog_conv_2logentry() 352 attr_types[nattrs] = nattrs; in ulog_conv_2logentry() 353 nattrs++; in ulog_conv_2logentry() 356 find_changed_attrs(&curr, ent, attr_types, &nattrs); in ulog_conv_2logentry() 361 for (i = 0; i < nattrs; i++) { in ulog_conv_2logentry() 616 int i, j, cnt = 0, mod_time = 0, nattrs, nprincs = 0; in ulog_conv_2dbentry() local [all …]
|
/titanic_44/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | url.c | 186 int enclosed, secure, i, nattrs, at_start; in nsldapi_url_parse() local 339 for ( nattrs = 1, p = attrs; *p != '\0'; ++p ) { in nsldapi_url_parse() 341 ++nattrs; in nsldapi_url_parse() 345 if (( ludp->lud_attrs = (char **)NSLDAPI_CALLOC( nattrs + 1, in nsldapi_url_parse() 351 for ( i = 0, p = attrs; i < nattrs; ++i ) { in nsldapi_url_parse()
|
/titanic_44/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_crypto_openssl.c | 3747 unsigned int nattrs; in check_load_certs() local 3760 nattrs = 2; in check_load_certs() 3764 attrs[nattrs].type = CKA_ID; in check_load_certs() 3765 attrs[nattrs].pValue = id_cryptoctx->cert_id; in check_load_certs() 3766 attrs[nattrs].ulValueLen = id_cryptoctx->cert_id_len; in check_load_certs() 3767 nattrs++; in check_load_certs() 3770 attrs[nattrs].type = CKA_LABEL; in check_load_certs() 3771 attrs[nattrs].pValue = id_cryptoctx->cert_label; in check_load_certs() 3772 attrs[nattrs].ulValueLen = strlen(id_cryptoctx->cert_label); in check_load_certs() 3773 nattrs++; in check_load_certs() [all …]
|
/titanic_44/usr/src/uts/sun4v/pcbe/ |
H A D | niagara2_pcbe.c | 93 uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, 482 uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) in ni2_pcbe_configure() argument 513 if (nattrs > 0) in ni2_pcbe_configure() 522 for (i = 0; i < nattrs; i++) { in ni2_pcbe_configure()
|
H A D | niagara_pcbe.c | 89 uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, 343 uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) in ni_pcbe_configure() argument 362 if (nattrs != 0) in ni_pcbe_configure()
|
/titanic_44/usr/src/lib/libcpc/common/ |
H A D | libcpc.c | 270 uint64_t preset, uint_t flags, uint_t nattrs, const cpc_attr_t *attrs) in cpc_set_add_request() argument 299 req->cr_nattrs = nattrs; in cpc_set_add_request() 303 if (nattrs != 0) { in cpc_set_add_request() 304 for (i = 0; i < nattrs; i++) { in cpc_set_add_request() 332 if ((req->cr_attr = malloc(nattrs * sizeof (kcpc_attr_t))) in cpc_set_add_request() 338 for (i = 0; i < nattrs; i++) { in cpc_set_add_request() 783 uint_t flags, int nattrs, const cpc_attr_t *attrs)) in cpc_walk_requests() argument
|
H A D | libcpc.h | 91 uint64_t preset, uint_t flags, uint_t nattrs, const cpc_attr_t *attrs); 150 uint_t flags, int nattrs, const cpc_attr_t *attrs));
|
/titanic_44/usr/src/uts/sun4u/pcbe/ |
H A D | us234_pcbe.c | 90 uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, 765 uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) in us_pcbe_configure() argument 785 if (nattrs != 0) in us_pcbe_configure()
|
H A D | opl_pcbe.c | 89 uint32_t flags, uint_t nattrs, kcpc_attr_t *attrs, void **data, 660 uint_t nattrs, kcpc_attr_t *attrs, void **data, void *token) in opl_pcbe_configure() argument 680 if (nattrs != 0) in opl_pcbe_configure()
|
/titanic_44/usr/src/lib/libadm/common/ |
H A D | putdev.c | 1100 int nattrs; /* Number of attrs to remove */ in _rmdevtabattrs() local 1112 for (pp = attributes, nattrs = 0; *pp; pp++, nattrs++) in _rmdevtabattrs() 1208 if (*notfounds = malloc(sizeof (char **)*(nattrs+1))) { in _rmdevtabattrs()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | kcpc.h | 145 uint64_t preset, uint_t flags, uint_t nattrs, kcpc_attr_t *attr, void *ptr,
|
/titanic_44/usr/src/tools/ctf/dwarf/common/ |
H A D | pro_section.c | 2129 int nattrs; in _dwarf_pro_getabbrev() local 2174 nattrs = 0; in _dwarf_pro_getabbrev() 2177 attrs[nattrs] = curattr->ar_attribute; in _dwarf_pro_getabbrev() 2178 forms[nattrs] = curattr->ar_attribute_form; in _dwarf_pro_getabbrev() 2179 nattrs++; in _dwarf_pro_getabbrev()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | kcpc.c | 2279 uint_t flags, uint_t nattrs, kcpc_attr_t *attr, void *ptr, int kmem_flags) in kcpc_reqs_add() argument 2321 req->kr_nattrs = nattrs; in kcpc_reqs_add()
|