/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | wclib.c | 251 nwords++; in wc_count() 290 nwords++; in wc_count() 295 nwords++; in wc_count() 319 nwords++; in wc_count() 329 nwords--; in wc_count() 334 nwords++; in wc_count() 364 nwords++; in wc_count() 379 nwords++; in wc_count() 493 nwords++; in wc_count() 504 nwords--; in wc_count() [all …]
|
H A D | fmt.c | 64 int nwords; member 102 fp->nwords = 0; in outline() 199 if (fp->nwords > 0 && &fp->outp[n] >= fp->endbuf && !fp->retain && !q) in split() 202 if (fp->nwords == 0) in split() 213 fp->nwords++; in split() 579 fmt.nwords = 0; in b_fmt()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunpci.c | 567 return (nwords); 582 nwords++; 585 nwords += 2; 588 return (nwords); 604 nwords += 4; 607 return (nwords); 636 nwords = 4; 639 nwords = 0; 643 return (nwords); 651 uint32_t nwords; local [all …]
|
H A D | bitset.c | 73 uint_t nwords; in bitset_resize() local 76 nwords = BT_BITOUL(els << b->bs_fanout); in bitset_resize() 77 if (b->bs_words == nwords) in bitset_resize() 84 if (nwords > 0) { in bitset_resize() 85 bset_new = kmem_zalloc(nwords * sizeof (ulong_t), KM_SLEEP); in bitset_resize() 88 MIN(b->bs_words, nwords) * sizeof (ulong_t)); in bitset_resize() 101 b->bs_words = nwords; in bitset_resize()
|
/illumos-gate/usr/src/uts/common/io/chxge/com/ |
H A D | mc4.c | 35 unsigned int nwords; /* MC4 width in terms of 32-bit words */ member 131 mc4->nwords = 4 >> width; in t1_mc4_init() 300 unsigned int size256 = mc4->size / 32, c = 8 / mc4->nwords, i; in t1_mc4_bd_read() 319 if (mc4->nwords >= 2) in t1_mc4_bd_read() 321 if (mc4->nwords == 4) { in t1_mc4_bd_read()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | space_map.c | 182 uint64_t bufsz, uint64_t *nwords) in space_map_reversed_last_block_entries() argument 202 ASSERT(nwords != NULL); in space_map_reversed_last_block_entries() 205 *nwords = in space_map_reversed_last_block_entries() 208 ASSERT3U(*nwords, <=, bufsz / sizeof (uint64_t)); in space_map_reversed_last_block_entries() 210 uint64_t n = *nwords; in space_map_reversed_last_block_entries() 293 uint64_t nwords = 0; in space_map_incremental_destroy() local 295 &nwords); in space_map_incremental_destroy() 299 ASSERT3U(nwords, <=, bufsz / sizeof (uint64_t)); in space_map_incremental_destroy() 301 for (uint64_t i = 0; i < nwords; i++) { in space_map_incremental_destroy() 328 ASSERT3P(i, <=, nwords); in space_map_incremental_destroy()
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | bcm_osal.h | 248 u32 nwords = 0; in OSAL_FIND_FIRST_ZERO_BIT() local 251 nwords = (limit - 1)/OSAL_BITS_PER_UL + 1; in OSAL_FIND_FIRST_ZERO_BIT() 252 for (i = 0; i < nwords && ~(addr[i]) == 0; i++); in OSAL_FIND_FIRST_ZERO_BIT() 253 return (i == nwords) ? limit : i*OSAL_BITS_PER_UL + osal_ffz(addr[i]); in OSAL_FIND_FIRST_ZERO_BIT() 259 u32 nwords = (limit+OSAL_BITS_PER_UL-1)/OSAL_BITS_PER_UL; in OSAL_FIND_FIRST_BIT() local 261 for (i = 0; i < nwords ; i++) in OSAL_FIND_FIRST_BIT() 267 if (i == nwords) { in OSAL_FIND_FIRST_BIT()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | pci_cap.c | 340 uint32_t *buf_p, uint32_t nwords) in pci_cap_read() argument 346 ASSERT(nwords < 1024); in pci_cap_read() 351 for (ptr = buf_p, i = 0; i < nwords; i++, base += 4) { in pci_cap_read()
|
/illumos-gate/usr/src/cmd/pcieadm/ |
H A D | pcieadm_cfgspace.c | 753 uint16_t bitlen, nwords; in pcieadm_cfgspace_print_ecv() local 764 nwords = bitlen / 32; in pcieadm_cfgspace_print_ecv() 766 nwords++; in pcieadm_cfgspace_print_ecv() 769 for (uint16_t i = 0; i < nwords; i++) { in pcieadm_cfgspace_print_ecv() 3384 uint32_t nwords = bitx32(cap, 11, 8); in pcieadm_cfgspace_print_dpc_piohead() local 3386 if (bitx32(cap, 5, 5) == 0 || nwords < 4) { in pcieadm_cfgspace_print_dpc_piohead() 3398 uint32_t nwords = bitx32(cap, 11, 8); in pcieadm_cfgspace_print_dpc_impspec() local 3418 if (nwords <= 9) { in pcieadm_cfgspace_print_dpc_tlplog() 3419 nwords -= 5; in pcieadm_cfgspace_print_dpc_tlplog() 3421 nwords -= 4; in pcieadm_cfgspace_print_dpc_tlplog() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | pci_cap.h | 117 uint32_t *buf_p, uint32_t nwords);
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/ |
H A D | vi.c | 663 static void backword(Vi_t *vp,int nwords, register int cmd) in backword() argument 666 while( nwords-- && tcur_virt > first_virt ) in backword() 1248 static void endword(Vi_t *vp, int nwords, register int cmd) in endword() argument 1251 while( nwords-- ) in endword() 1285 static void forward(Vi_t *vp,register int nwords, int cmd) in forward() argument 1288 while( nwords-- ) in forward()
|
/illumos-gate/usr/src/uts/common/io/cxgbe/common/ |
H A D | t4_hw.c | 3528 for ( ; nwords; nwords--, data++) { in t4_read_flash() 3529 ret = sf1_read(adapter, 4, nwords > 1, nwords == 1, data); in t4_read_flash() 3530 if (nwords == 1) in t4_read_flash() 10854 const unsigned int nwords = CIM_IBQ_SIZE * 4; in t4_read_cim_ibq() local 10859 addr = qid * nwords; in t4_read_cim_ibq() 10860 if (n > nwords) in t4_read_cim_ibq() 10861 n = nwords; in t4_read_cim_ibq() 10895 unsigned int addr, v, nwords; in t4_read_cim_obq() local 10907 nwords = G_CIMQSIZE(v) * 64; /* same */ in t4_read_cim_obq() 10908 if (n > nwords) in t4_read_cim_obq() [all …]
|
H A D | common.h | 618 int t4_read_flash(struct adapter *adapter, unsigned int addr, unsigned int nwords,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | rdisc.c | 985 int nwords = len >> 1; in in_cksum() local 987 while (nwords-- != 0) in in_cksum()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/ |
H A D | zfs.c | 185 uint64_t nwords; in sm_entries() local 212 nwords = 1; in sm_entries() 236 nwords = 2; in sm_entries() 245 (u_longlong_t)vdev_id, (u_longlong_t)nwords); in sm_entries()
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 5509 uint16_t wordoff, nwords, *buf16 = buf; in igb_ufm_readimg() local 5536 nwords = len >> 1; in igb_ufm_readimg() 5538 ret = e1000_read_nvm(&igb->hw, wordoff, nwords, buf16); in igb_ufm_readimg() 5544 for (i = 0; i < nwords; i++) { in igb_ufm_readimg()
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_main.c | 6835 uint16_t wordoff, nwords, *buf16 = buf; in ixgbe_ufm_readimg() local 6862 nwords = len >> 1; in ixgbe_ufm_readimg() 6864 ret = ixgbe_read_eeprom_buffer(&ixgbe->hw, wordoff, nwords, buf16); in ixgbe_ufm_readimg() 6870 for (i = 0; i < nwords; i++) { in ixgbe_ufm_readimg()
|
/illumos-gate/usr/src/uts/common/io/hme/ |
H A D | hme.c | 2267 int i, nwords = len / 2; in hme_cksum() local 2271 for (i = 0; i < nwords; i++) { in hme_cksum()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi.c | 4846 uint_t nwords = 0; in iscsi_phys_lun_init() local 4856 DDI_PROP_DONTPASS, LUN_PROP, &words, &nwords) != DDI_PROP_SUCCESS) { in iscsi_phys_lun_init() 4863 if (nwords == 0) { in iscsi_phys_lun_init()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcp.c | 12911 uint_t nwords; in fcp_find_existing_dip() local 12973 &nwords) != DDI_PROP_SUCCESS) { in fcp_find_existing_dip() 12977 if (nwords != 1 || words == NULL) { in fcp_find_existing_dip() 13007 &nwords) != DDI_PROP_SUCCESS) { in fcp_find_existing_dip() 13011 if (nwords != 1 || words == NULL) { in fcp_find_existing_dip()
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 5893 unsigned nwords = size / sizeof (uint64_t); in zdb_dump_block() local 5907 for (i = 0; i < nwords; i += 2) { in zdb_dump_block()
|