/titanic_44/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()
|
/titanic_44/usr/src/cmd/sgs/elfdump/common/ |
H A D | corenote.c | 381 sl_fmt_num_t fmt_type, int nelts, int check_nelts, const char *title) in print_array() argument 388 nelts = base_desc->slf_nelts; in print_array() 389 if (nelts == 0) in print_array() 395 for (i = 0; i < nelts; ) { in print_array() 396 if (i == (nelts - 1)) { in print_array() 594 int i, nelts; in dump_fltset() local 600 nelts = fdesc.slf_nelts; in dump_fltset() 601 if (nelts > NELTS) /* Type has grown? Show what we understand */ in dump_fltset() 602 nelts = NELTS; in dump_fltset() 603 for (i = 0; i < nelts; i++) { in dump_fltset() [all …]
|
H A D | gen_struct_layout.c | 688 print_row(int boff, int eltlen, int nelts, int issigned, char *comment) in print_row() argument 691 boff, eltlen, nelts, issigned, comment); in print_row()
|
H A D | elfdump.c | 798 Word i, nelts; in unwind_exception_ranges() local 804 nelts = _cache->c_data->d_size / sizeof (exception_range_entry); in unwind_exception_ranges() 806 for (i = 0; i < nelts; i++, ent++) { in unwind_exception_ranges()
|
/titanic_44/usr/src/uts/common/io/bge/ |
H A D | bge_main2.c | 3056 uint_t nelts; local 3083 DDI_PROP_DONTPASS, localmac_propname, &ints, &nelts); 3085 if (nelts == ETHERADDRL) { 3086 while (nelts--) 3087 cidp->vendor_addr.addr[nelts] = ints[nelts]; 3094 DDI_PROP_DONTPASS, localmac_propname, &bytes, &nelts); 3096 if (nelts == ETHERADDRL) { 3097 while (nelts--) 3098 cidp->vendor_addr.addr[nelts] = bytes[nelts]; 3117 nelts = sizeof (propbuf); [all …]
|
/titanic_44/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 3373 uint_t nelts; in igb_find_mac_address() local 3387 DDI_PROP_DONTPASS, "local-mac-address", &bytes, &nelts); in igb_find_mac_address() 3389 if (nelts == ETHERADDRL) { in igb_find_mac_address() 3390 while (nelts--) in igb_find_mac_address() 3391 hw->mac.addr[nelts] = bytes[nelts]; in igb_find_mac_address() 3402 "local-mac-address?", &bytes, &nelts) == DDI_PROP_SUCCESS) { in igb_find_mac_address() 3403 if (strncmp("false", (caddr_t)bytes, (size_t)nelts) == 0) { in igb_find_mac_address() 3419 DDI_PROP_DONTPASS, "mac-address", &bytes, &nelts); in igb_find_mac_address() 3421 if (nelts == ETHERADDRL) { in igb_find_mac_address() 3422 while (nelts--) in igb_find_mac_address() [all …]
|
/titanic_44/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_main.c | 4017 uint_t nelts; in ixgbe_find_mac_address() local 4031 DDI_PROP_DONTPASS, "local-mac-address", &bytes, &nelts); in ixgbe_find_mac_address() 4033 if (nelts == ETHERADDRL) { in ixgbe_find_mac_address() 4034 while (nelts--) in ixgbe_find_mac_address() 4035 hw->mac.addr[nelts] = bytes[nelts]; in ixgbe_find_mac_address() 4046 "local-mac-address?", &bytes, &nelts) == DDI_PROP_SUCCESS) { in ixgbe_find_mac_address() 4047 if (strncmp("false", (caddr_t)bytes, (size_t)nelts) == 0) { in ixgbe_find_mac_address() 4063 DDI_PROP_DONTPASS, "mac-address", &bytes, &nelts); in ixgbe_find_mac_address() 4065 if (nelts == ETHERADDRL) { in ixgbe_find_mac_address() 4066 while (nelts--) in ixgbe_find_mac_address() [all …]
|
/titanic_44/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_main.c | 5991 uint_t nelts; in e1000g_find_mac_address() local 6005 DDI_PROP_DONTPASS, "local-mac-address", &bytes, &nelts); in e1000g_find_mac_address() 6007 if (nelts == ETHERADDRL) { in e1000g_find_mac_address() 6008 while (nelts--) in e1000g_find_mac_address() 6009 hw->mac.addr[nelts] = bytes[nelts]; in e1000g_find_mac_address() 6020 "local-mac-address?", &bytes, &nelts) == DDI_PROP_SUCCESS) { in e1000g_find_mac_address() 6021 if (strncmp("false", (caddr_t)bytes, (size_t)nelts) == 0) { in e1000g_find_mac_address() 6037 DDI_PROP_DONTPASS, "mac-address", &bytes, &nelts); in e1000g_find_mac_address() 6039 if (nelts == ETHERADDRL) { in e1000g_find_mac_address() 6040 while (nelts--) in e1000g_find_mac_address() [all …]
|
/titanic_44/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()
|