/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | copy_princ.c | 45 register int i, nelems; local 54 nelems = (int) krb5_princ_size(context, inprinc); 55 tempprinc->data = MALLOC(nelems * sizeof(krb5_data)); 62 for (i = 0; i < nelems; i++) { 76 FREE (tempprinc->data, nelems * sizeof(krb5_data)); 96 for (i = 0; i < nelems; i++) 99 FREE(tempprinc->data, nelems * sizeof(krb5_data));
|
H A D | copy_auth.c | 85 register unsigned int nelems = 0, nelems2 = 0; local 94 while (inauthdat1[nelems]) nelems++; 99 if (!(tempauthdat = (krb5_authdata **) calloc(nelems+nelems2+1, 104 for (nelems = 0; inauthdat1[nelems]; nelems++) { 105 retval = krb5_copy_authdatum(context, inauthdat1[nelems], 106 &tempauthdat[nelems]); 117 &tempauthdat[nelems [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | copy_addrs.c | 58 register unsigned int nelems = 0; local 65 while (inaddr[nelems]) nelems++; 68 if (!(tempaddr = (krb5_address **) calloc(nelems+1, sizeof(*tempaddr)))) 71 for (nelems = 0; inaddr[nelems]; nelems++) { 72 retval = krb5_copy_addr(context, inaddr[nelems], &tempaddr[nelems]); 98 register unsigned int nelems [all...] |
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_xattr.c | 84 uint_t nelems = 2; local 122 if (nvpair_value_uint64_array(pair, ×, &nelems)) { 126 if (nelems < 2)
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_serial.c | 210 uint_t nelems; local 214 &entity_refs, &nelems, &err) != 0) { 220 for (i = 0; i < nelems; i++) { 236 for (i = 0; i < nelems; i++) 238 topo_mod_free(mod, entity_refs, (nelems * sizeof (char *)));
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_hash.c | 35 ctf_hash_create(ctf_hash_t *hp, ulong_t nelems) argument 37 if (nelems > USHRT_MAX) 44 if (nelems == 0) { 52 hp->h_nelems = nelems + 1; /* we use index zero as a sentinel */
|
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_cmds.c | 82 int nelems, i; local 93 nelems = i; 97 cmd->cmd_num = nelems; 98 cmd->cmd_rand = inj_alloc(sizeof (inj_randelem_t *) * nelems); 101 for (r = rlist, i = 0; i < nelems; i++, r = r->re_next) {
|
H A D | inj_defn.c | 304 size_t nelems; local 320 nelems = array_dim_check(dlm, dfm); 321 arrsz = (nelems + 1) * (cont->ei_width / NBBY); 394 if (err == 0 && (errno = adder(nvl, dlm->dlm_name, arr, nelems)) != 0) 442 size_t nelems, arrsz; local 449 nelems = array_dim_check(dlm, dfm); 450 arrsz = nelems * sizeof (boolean_t); 467 (char *)dlm->dlm_name, arr, nelems)) != 0) 504 size_t nelems, arrsz; local 512 nelems 635 size_t nelems, arrsz; local [all...] |
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | memnode.c | 187 startup_build_mem_nodes(prom_memlist_t *list, size_t nelems) argument 197 plat_build_mem_nodes(list, nelems); 202 for (elem = 0; elem < nelems; list++, elem++) {
|
H A D | memlist.c | 107 size_virtalloc(prom_memlist_t *avail, size_t nelems) argument 115 for (i = 0; i < nelems - 1; i++) { 378 size_t nelems, /* number of elements */ 387 for (i = 0; i < nelems; list++, i++) { 405 size_t nelems, 414 for (i = 0; i < nelems; src++, i++) { 435 size_t nelems; /* actual number of elements */ member in struct:bootmem_props 455 bpp->nelems--; 456 for (j = i + 1; j < bpp->nelems; j++) 461 if (i == bpp->nelems) 376 installed_top_size_memlist_array( prom_memlist_t *list, size_t nelems, pfn_t *topp, pgcnt_t *sumpagesp) argument 403 copy_memlist( prom_memlist_t *src, size_t nelems, struct memlist **dstp) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/ |
H A D | ipmi_enum.c | 91 uint_t nelems; local 123 TOPO_PROP_IPMI_ENTITY_REF, &names, &nelems, &err) 136 for (i = 0; i < nelems; i++) 141 for (i = 0; i < nelems; i++) 143 topo_mod_free(mod, names, (nelems * sizeof (char *)));
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_argvec.c | 85 size_t nelems = vec->a_nelems; local 88 for (arg = vec->a_data; nelems != 0; nelems--, arg++) {
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | pseudonex.c | 396 uint_t nelems; local 406 &nelems) == DDI_PROP_SUCCESS) { 408 for (i = 0; i < nelems; i++) {
|
/illumos-gate/usr/src/cmd/fm/modules/common/syslog-msgs/ |
H A D | syslog.c | 253 uint_t nprefs, nelems; local 281 &active, &nelems)) {
|
/illumos-gate/usr/src/test/util-tests/tests/libnvpair_json/ |
H A D | print_json.c | 400 int nelems = (*lw)->lw_pos + 1; local 403 nelems) != 0) {
|
/illumos-gate/usr/src/uts/sun4u/cherrystone/os/ |
H A D | cherrystone.c | 439 plat_build_mem_nodes(prom_memlist_t *list, size_t nelems) argument
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_subr.c | 627 int nelems = 0; local 631 mc_ereport_dimm_resource(unump, elems, &nelems, mc); 633 mc_ereport_cs_resource(unump, elems, &nelems, mc); 635 if (nelems > 0) { 637 DATA_TYPE_NVLIST_ARRAY, nelems, elems, NULL); 639 for (i = 0; i < nelems; i++)
|
/illumos-gate/usr/src/uts/sun4u/daktari/os/ |
H A D | daktari.c | 432 plat_build_mem_nodes(prom_memlist_t *list, size_t nelems) argument
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_prop.c | 205 topo_type_t type, uint_t *nelems, int *err) 268 TOPO_PROP_VAL_VAL, &a2, nelems)) != 0) 271 *nelems)) == NULL) { 275 for (i = 0; i < *nelems; ++i) 284 TOPO_PROP_VAL_VAL, &a2, nelems)) != 0) 287 *nelems)) == NULL) { 291 for (i = 0; i < *nelems; ++i) 300 TOPO_PROP_VAL_VAL, &a2, nelems)) != 0) 303 *nelems)) == NULL) { 307 for (i = 0; i < *nelems; 204 prop_getval(tnode_t *node, const char *pgname, const char *pname, void *val, topo_type_t type, uint_t *nelems, int *err) argument 565 topo_prop_set(tnode_t *node, const char *pgname, const char *pname, topo_type_t type, int flag, void *val, int nelems, int *err) argument 713 topo_prop_set_int32_array(tnode_t *node, const char *pgname, const char *pname, int flag, int32_t *val, uint_t nelems, int *err) argument 721 topo_prop_set_uint32_array(tnode_t *node, const char *pgname, const char *pname, int flag, uint32_t *val, uint_t nelems, int *err) argument 729 topo_prop_set_int64_array(tnode_t *node, const char *pgname, const char *pname, int flag, int64_t *val, uint_t nelems, int *err) argument 737 topo_prop_set_uint64_array(tnode_t *node, const char *pgname, const char *pname, int flag, uint64_t *val, uint_t nelems, int *err) argument 745 topo_prop_set_string_array(tnode_t *node, const char *pgname, const char *pname, int flag, const char **val, uint_t nelems, int *err) argument 753 topo_prop_set_fmri_array(tnode_t *node, const char *pgname, const char *pname, int flag, const nvlist_t **fmri, uint_t nelems, int *err) argument [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/ |
H A D | fac_prov_ipmi.c | 183 strarr_free(topo_mod_t *mod, char **arr, uint_t nelems) argument 185 for (int i = 0; i < nelems; i++) 187 topo_mod_free(mod, arr, (nelems * sizeof (char *))); 337 uint_t nelems; local 352 &entity_refs, &nelems, &err) != 0) { 360 strarr_free(mod, entity_refs, nelems); 364 for (i = 0; i < nelems; i++) { 374 strarr_free(mod, entity_refs, nelems); 392 strarr_free(mod, entity_refs, nelems); 400 strarr_free(mod, entity_refs, nelems); 428 uint_t nelems; local 509 uint_t nelems; local 630 uint_t nelems; local 764 uint_t nelems; local 964 uint_t nelems; local 1095 uint_t nelems; local 1447 uint_t nelems; local 1543 uint_t nelems; local 1629 uint_t nelems; local 1692 uint_t nelems; local [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.h | 95 uint32_t nelems[DB_TYPES]; /* Number of elements of each type */ member in struct:db_hdr 256 #define DB_NUM(h, t) (DB_HDR(h)->nelems[t]) 273 #define VALID_STR(h, i, s) ((i) + strlen(s) + 1 <= DB_HDR(h)->nelems[DB_STR]) 274 #define VALID_INDEX(h, t, i) ((i) < DB_HDR(h)->nelems[t])
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | callout.c | 672 int current, left, right, nelems; local 680 nelems = ct->ct_heap_num; 687 if ((left = CALLOUT_HEAP_LEFT(current)) >= nelems) 699 if (right >= nelems)
|
H A D | cyclic.c | 784 cyc_index_t nelems = cpu->cyp_nelems; local 791 if ((heap_left = CYC_HEAP_LEFT(heap_me)) >= nelems) 803 if (heap_right >= nelems) 1654 cyc_index_t ndx, nelems; local 1666 nelems = cpu->cyp_nelems++; 1668 if (nelems == 0) { 1677 ndx = cpu->cyp_heap[nelems]; 1699 if (cyclic_upheap(cpu, nelems)) { 1762 cyc_index_t ndx = arg->cyx_ndx, nelems, i; local 1776 nelems 1960 cyc_index_t nelems, i; local [all...] |
H A D | dacf.c | 672 size_t i, nelems; local 690 for (nelems = 0; sw->dacf_opsets[nelems].opset_name != NULL; nelems++) 693 dprintf("dacf_module_register: found %lu opsets\n", nelems); 699 if ((nelems == 0) && (sw != &kmod_dacfsw)) { 755 opsarray = kmem_zalloc(sizeof (dacf_opset_t) * (nelems + 1), KM_SLEEP); 757 for (i = 0; i < nelems; i++) { 762 opsarray[nelems].opset_name = NULL; 763 opsarray[nelems] 835 size_t nelems; local 871 size_t nelems, i; local [all...] |
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_mca.c | 676 int nelems = 0; local 683 if ((elems[nelems] = ao_ereport_create_resource_elem(hdl, nva, 687 nelems++; 690 if (nelems == 0) 694 DATA_TYPE_NVLIST_ARRAY, nelems, elems, NULL); 696 for (i = 0; i < nelems; i++)
|