Home
last modified time | relevance | path

Searched refs:nattrs (Results 1 – 24 of 24) sorted by relevance

/titanic_44/usr/src/lib/libidmap/common/
H A Ddirectory_client.c130 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 Dstrtoset.c88 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 Dsetgrp.c87 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 Ddirectory_provider_ad.c53 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 Ddirectory_provider_builtin.c154 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 Ddirectory_provider_nsswitch.c256 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 Devent_pentium.c699 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 Dputdev.c211 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 Dcore_pcbe.c101 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 Dopteron_pcbe.c102 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 Dp4_pcbe.c93 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 Dkdb_convert.c45 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 Durl.c186 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 Dpkinit_crypto_openssl.c3747 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 Dniagara2_pcbe.c93 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 Dniagara_pcbe.c89 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 Dlibcpc.c270 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 Dlibcpc.h91 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 Dus234_pcbe.c90 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 Dopl_pcbe.c89 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 Dputdev.c1100 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 Dkcpc.h145 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 Dpro_section.c2129 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 Dkcpc.c2279 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()