/illumos-gate/usr/src/uts/i86pc/cpu/authenticamd/ |
H A D | authamd_main.c | 996 int nelems = 0; local 1015 elems[nelems] = nvl; 1016 counts[nelems++] = msl->aal_eccerrcnt[chan][cs]; 1040 if (nelems == 0) 1044 DATA_TYPE_NVLIST_ARRAY, nelems, elems, 1048 DATA_TYPE_UINT8_ARRAY, nelems, &counts[0], 1051 for (i = 0; i < nelems; i++)
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | sgen.c | 294 uint_t nelems, pcplen, vcplen, idx; local 300 "device-type-config-list", &strs, &nelems) == DDI_PROP_SUCCESS) { 305 for (idx = 0; idx < nelems; idx++) { 335 "inquiry-config-list", &strs, &nelems) == DDI_PROP_SUCCESS) { 337 if (nelems % 2 == 1) { 342 nelems--; 344 for (idx = 0; idx < nelems; idx += 2) {
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_principal.c | 64 register int i, nelems; local 73 nelems = (int) krb5_princ_size(context, inprinc); 74 tempprinc->data = krb5_db_alloc(context, NULL, nelems * sizeof(krb5_data)); 81 for (i = 0; i < nelems; i++) { 100 for (i = 0; i < nelems; i++)
|
/illumos-gate/usr/src/uts/sun4u/starcat/os/ |
H A D | starcat.c | 319 plat_build_mem_nodes(prom_memlist_t *list, size_t nelems) argument 336 for (elem = 0; elem < nelems; list++, elem++) {
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_main.c | 798 int nelems = I40E_HW_CAP_DEFAULT; local 800 len = nelems * sizeof (*buf); 810 nelems == I40E_HW_CAP_DEFAULT) { 811 if (nelems == needed) {
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | xattr.c | 625 uint_t elem, nelems; local 672 if (nvpair_value_uint64_array(pair, ×, &nelems)) { 685 &scanstamp, &nelems)) { 744 for (elem = 0; elem < nelems; elem++) 777 scanstamp, nelems);
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | drvsubr.c | 2351 fill_n2m_array(char *filename, char **array, int *nelems) argument 2396 if (drv_majnum >= *nelems) { 2405 *nelems = drv_majnum + 1; 2406 *array = realloc(*array, *nelems);
|
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus_cfg.c | 239 int nelems); 4496 cardbus_dump_reg(dev_info_t *dip, const pci_regspec_t *regspec, int nelems) argument 4498 /* int rlen = nelems * sizeof(pci_regspec_t); */ 4501 "cardbus_dump_reg: \"reg\" has %d elements\n", nelems); 4508 for (i = 0; i < nelems; i++) {
|
/illumos-gate/usr/src/uts/sun4u/serengeti/os/ |
H A D | serengeti.c | 409 plat_build_mem_nodes(prom_memlist_t *list, size_t nelems) argument
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | mpo.c | 927 plat_build_mem_nodes(prom_memlist_t *list, size_t nelems) argument 940 for (elem = 0; elem < nelems; list++, elem++) {
|
/illumos-gate/usr/src/uts/sun4u/lw8/os/ |
H A D | lw8_platmod.c | 416 plat_build_mem_nodes(prom_memlist_t *list, size_t nelems) argument
|
/illumos-gate/usr/src/uts/sun4u/opl/os/ |
H A D | opl.c | 474 plat_build_mem_nodes(prom_memlist_t *list, size_t nelems) argument 492 for (elem = 0; elem < nelems; list++, elem++) {
|
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/ |
H A D | sysevent_conf_mod.c | 1064 uint_t nelems; local 1237 &x.x_byte_array, &nelems); 1239 for (i = 0; i < nelems; i++) { 1252 &x.x_int16_array, &nelems); 1254 for (i = 0; i < nelems; i++) { 1267 &x.x_uint16_array, &nelems); 1269 for (i = 0; i < nelems; i++) { 1283 &x.x_int32_array, &nelems); 1285 for (i = 0; i < nelems; i++) { 1298 &x.x_uint32_array, &nelems); [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_xml.c | 59 strarr_free(topo_mod_t *mod, char **arr, uint_t nelems) argument 63 for (i = 0; i < nelems; i++) 65 topo_mod_free(mod, arr, (nelems * sizeof (char *))); 201 uint_t i = 0, nelems = 0; local 250 nelems++; 252 if (nelems < 1) { 257 if ((arrbuf = topo_mod_alloc(mp, (nelems * sizeof (uint64_t)))) 265 nelems++; 267 if (nelems < 1) { 272 if ((strarrbuf = topo_mod_alloc(mp, (nelems * sizeo [all...] |
/illumos-gate/usr/src/cmd/ptools/pargs/ |
H A D | pargs.c | 580 size_t nelems) 585 res = Pread(datap->pd_proc, buf, nelems * sizeof (uintptr_t), 589 uint32_t *arr32 = safe_zalloc(nelems * sizeof (uint32_t)); 591 res = Pread(datap->pd_proc, arr32, nelems * sizeof (uint32_t), 594 for (i = 0; i < nelems; i++) 579 read_ptr_array(pargs_data_t *datap, uintptr_t offset, uintptr_t *buf, size_t nelems) argument
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_anon.c | 636 pgcnt_t oelems, nelems, totpages; local 669 * oelems/nelems are the number of pointers in the top level arrays 676 nelems = newamp_pgs; 680 nelems = newamp_pgs >> ANON_CHUNK_SHIFT; 683 newarrsz = nelems * sizeof (void *); 714 level1[nelems - 1] = level2;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | devinfo.c | 2761 uint_t nelems; local 2823 (void) nvpair_value_byte_array(prop, &buf, &nelems); 2824 size = nelems; 2825 if (nelems != 0) {
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | kmem.c | 788 size_t nelems; local 810 kmhw->kmhw_nelems = nelems = c.cache_hash_mask + 1; 811 hsize = nelems * sizeof (uintptr_t);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunpm.c | 4049 uint_t nelems; local 4067 (char *)pmcompstr, &pp, &nelems) != DDI_PROP_SUCCESS) { 4071 if (nelems < 3) { /* need at least one name and two levels */ 4084 lvals = kmem_alloc(nelems * sizeof (int), KM_SLEEP); 4085 lszs = kmem_alloc(nelems * sizeof (int), KM_SLEEP); 4086 lnames = kmem_alloc(nelems * sizeof (char *), KM_SLEEP); 4087 np = kmem_alloc(nelems * sizeof (int), KM_SLEEP); 4091 for (i = 0; i < nelems; i++) { 4214 kmem_free(lvals, nelems * sizeof (int)); 4216 kmem_free(lszs, nelems * sizeo [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | umem.c | 705 size_t nelems; local 727 umhw->umhw_nelems = nelems = c.cache_hash_mask + 1; 728 hsize = nelems * sizeof (uintptr_t);
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 3574 * with nelems = 5. 3643 dtrace_json(uint64_t size, uintptr_t json, char *elemlist, int nelems, argument 3729 if (nelems > 1) { 3815 if (nelems > 1) { 3874 if (nelems > 1) { 3892 if (nelems > 1 && found_key) { 3904 nelems--; 4724 int nelems = 1; local 4759 nelems++; 4768 nelems, des [all...] |