/illumos-gate/usr/src/test/util-tests/tests/smbios/ |
H A D | smbios_test_chassis.c | 308 uint_t nelts; in smbios_test_chassis_verify_base() local 338 if (smbios_info_chassis_elts(hdl, sp.smbstr_id, &nelts, &elts) != 0) { in smbios_test_chassis_verify_base() 344 if (nelts != 0) { in smbios_test_chassis_verify_base() 346 "returned a non-zero number of entries: %u", nelts); in smbios_test_chassis_verify_base() 366 uint_t nelts; in smbios_test_chassis_verify_sku_nocomps() local 402 if (smbios_info_chassis_elts(hdl, sp.smbstr_id, &nelts, &elts) != 0) { in smbios_test_chassis_verify_sku_nocomps() 408 if (nelts != 0) { in smbios_test_chassis_verify_sku_nocomps() 410 "returned a non-zero number of entries: %u", nelts); in smbios_test_chassis_verify_sku_nocomps() 429 uint_t nelts; in smbios_test_chassis_verify_common_comps() local 431 if (smbios_info_chassis_elts(hdl, sp->smbstr_id, &nelts, &elts) != 0) { in smbios_test_chassis_verify_common_comps() [all …]
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | shdr.c | 46 Xword nelts = shdr->sh_size / shdr->sh_entsize; in Elf_shdr() local 47 const char *entstr = (nelts == 1) ? MSG_INTL(MSG_SHD_ENTRY_1) : in Elf_shdr() 52 EC_XWORD(nelts), entstr); in Elf_shdr()
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | corenote.c | 417 sl_fmt_num_t fmt_type, int nelts, int check_nelts, const char *title) in print_array() argument 424 nelts = base_desc->slf_nelts; in print_array() 425 if (nelts == 0) in print_array() 431 for (i = 0; i < nelts; ) { in print_array() 432 if (i == (nelts - 1)) { in print_array() 653 int i, nelts; in dump_fltset() local 659 nelts = fdesc.slf_nelts; in dump_fltset() 660 if (nelts > NELTS) /* Type has grown? Show what we understand */ in dump_fltset() 661 nelts = NELTS; in dump_fltset() 662 for (i = 0; i < nelts; i++) { in dump_fltset() [all …]
|
H A D | gen_struct_layout.c | 742 print_row(int boff, int eltlen, int nelts, int issigned, char *comment) in print_row() argument 745 boff, eltlen, nelts, issigned, comment); in print_row()
|
H A D | elfdump.c | 816 Word i, nelts; in unwind_exception_ranges() local 822 nelts = _cache->c_data->d_size / sizeof (exception_range_entry); in unwind_exception_ranges() 824 for (i = 0; i < nelts; i++, ent++) { in unwind_exception_ranges()
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_main2.c | 3044 uint_t nelts; local 3071 DDI_PROP_DONTPASS, localmac_propname, &ints, &nelts); 3073 if (nelts == ETHERADDRL) { 3074 while (nelts--) 3075 cidp->vendor_addr.addr[nelts] = ints[nelts]; 3082 DDI_PROP_DONTPASS, localmac_propname, &bytes, &nelts); 3084 if (nelts == ETHERADDRL) { 3085 while (nelts--) 3086 cidp->vendor_addr.addr[nelts] = bytes[nelts]; 3105 nelts = sizeof (propbuf); [all …]
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 3418 uint_t nelts; in igb_find_mac_address() local 3432 DDI_PROP_DONTPASS, "local-mac-address", &bytes, &nelts); in igb_find_mac_address() 3434 if (nelts == ETHERADDRL) { in igb_find_mac_address() 3435 while (nelts--) in igb_find_mac_address() 3436 hw->mac.addr[nelts] = bytes[nelts]; in igb_find_mac_address() 3447 "local-mac-address?", &bytes, &nelts) == DDI_PROP_SUCCESS) { in igb_find_mac_address() 3448 if (strncmp("false", (caddr_t)bytes, (size_t)nelts) == 0) { in igb_find_mac_address() 3464 DDI_PROP_DONTPASS, "mac-address", &bytes, &nelts); in igb_find_mac_address() 3466 if (nelts == ETHERADDRL) { in igb_find_mac_address() 3467 while (nelts--) in igb_find_mac_address() [all …]
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_main.c | 4185 uint_t nelts; in ixgbe_find_mac_address() local 4199 DDI_PROP_DONTPASS, "local-mac-address", &bytes, &nelts); in ixgbe_find_mac_address() 4201 if (nelts == ETHERADDRL) { in ixgbe_find_mac_address() 4202 while (nelts--) in ixgbe_find_mac_address() 4203 hw->mac.addr[nelts] = bytes[nelts]; in ixgbe_find_mac_address() 4214 "local-mac-address?", &bytes, &nelts) == DDI_PROP_SUCCESS) { in ixgbe_find_mac_address() 4215 if (strncmp("false", (caddr_t)bytes, (size_t)nelts) == 0) { in ixgbe_find_mac_address() 4231 DDI_PROP_DONTPASS, "mac-address", &bytes, &nelts); in ixgbe_find_mac_address() 4233 if (nelts == ETHERADDRL) { in ixgbe_find_mac_address() 4234 while (nelts--) in ixgbe_find_mac_address() [all …]
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_main.c | 6033 uint_t nelts; in e1000g_find_mac_address() local 6047 DDI_PROP_DONTPASS, "local-mac-address", &bytes, &nelts); in e1000g_find_mac_address() 6049 if (nelts == ETHERADDRL) { in e1000g_find_mac_address() 6050 while (nelts--) in e1000g_find_mac_address() 6051 hw->mac.addr[nelts] = bytes[nelts]; in e1000g_find_mac_address() 6062 "local-mac-address?", &bytes, &nelts) == DDI_PROP_SUCCESS) { in e1000g_find_mac_address() 6063 if (strncmp("false", (caddr_t)bytes, (size_t)nelts) == 0) { in e1000g_find_mac_address() 6079 DDI_PROP_DONTPASS, "mac-address", &bytes, &nelts); in e1000g_find_mac_address() 6081 if (nelts == ETHERADDRL) { in e1000g_find_mac_address() 6082 while (nelts--) in e1000g_find_mac_address() [all …]
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | relocate.c | 478 size_t nelts, size, alloc_cnt; in ld_add_rel_cache() local 509 nelts = REL_CACHEBUF_ALLOC; in ld_add_rel_cache() 515 nelts = ofl->ofl_relocincnt; in ld_add_rel_cache() 523 size = sizeof (Rel_cachebuf) + ((nelts - 1) * sizeof (Rel_desc)); in ld_add_rel_cache() 530 rcbp->rc_end = rcbp->rc_arr + nelts; in ld_add_rel_cache()
|
/illumos-gate/usr/src/cmd/smbios/ |
H A D | smbios.c | 509 uint_t nelts, i; in print_chassis() local 542 if (smbios_info_chassis_elts(shp, id, &nelts, &elts) != 0) { in print_chassis() 549 for (i = 0; i < nelts; i++) { in print_chassis()
|