Home
last modified time | relevance | path

Searched refs:nwords (Results 1 – 18 of 18) sorted by relevance

/titanic_51/usr/src/contrib/ast/src/lib/libcmd/
H A Dwclib.c171 register Sfoff_t nwords; in wc_count() local
186 nlines = nwords = nchars = nbytes = 0; in wc_count()
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()
[all...]
H A Dfmt.c64 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()
/titanic_51/usr/src/lib/libcmd/common/
H A Dwclib.c168 register Sfoff_t nwords; in wc_count() local
183 nlines = nwords = nchars = nbytes = 0; in wc_count()
248 nwords++; in wc_count()
287 nwords++; in wc_count()
292 nwords++; in wc_count()
316 nwords++; in wc_count()
326 nwords--; in wc_count()
331 nwords++; in wc_count()
359 nwords++; in wc_count()
373 nwords++; in wc_count()
[all …]
H A Dfmt.c64 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()
/titanic_51/usr/src/uts/common/os/
H A Dsunpci.c272 uint32_t *regbuf, uint32_t nwords);
284 uint32_t *regbuf, uint32_t nwords);
375 uint32_t i, ncaps, nwords; local
537 nwords = pci_save_caps(confhdl, p, pci_cap_descp, &ncaps);
539 nwords * sizeof (uint32_t);
584 uint32_t words_saved = 0, nwords = 0; local
631 if ((nwords = pci_cap_entp->cap_save_func(confhdl,
633 cap_descp->cap_nregs = nwords;
636 regbuf += nwords;
638 words_saved += nwords;
649 pci_fill_buf(ddi_acc_handle_t confhdl,uint16_t cap_ptr,uint32_t * regbuf,uint32_t nwords) global() argument
662 pci_generic_save(ddi_acc_handle_t confhdl,uint16_t cap_ptr,uint32_t * regbuf,uint32_t nwords) global() argument
673 uint32_t nwords = PCI_MSI_MIN_WORDS; global() local
694 uint32_t nwords = PCI_PCIX_MIN_WORDS; global() local
721 uint32_t nwords = 0; global() local
749 uint32_t nwords; global() local
[all...]
H A Dbitset.c73 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()
/titanic_51/usr/src/uts/common/io/chxge/com/
H A Dmc4.c37 unsigned int nwords; /* MC4 width in terms of 32-bit words */ member
133 mc4->nwords = 4 >> width; in t1_mc4_init()
302 unsigned int size256 = mc4->size / 32, c = 8 / mc4->nwords, i; in t1_mc4_bd_read()
321 if (mc4->nwords >= 2) in t1_mc4_bd_read()
323 if (mc4->nwords == 4) { in t1_mc4_bd_read()
/titanic_51/usr/src/uts/common/io/
H A Dpci_cap.c330 uint32_t *buf_p, uint32_t nwords) in pci_cap_read() argument
336 ASSERT(nwords < 1024); in pci_cap_read()
341 for (ptr = buf_p, i = 0; i < nwords; i++, base += 4) { in pci_cap_read()
/titanic_51/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.c793 * @nwords: how many 32-bit words to read
803 t4_read_flash(struct adapter *adapter, unsigned int addr, unsigned int nwords, in t4_read_flash() argument
808 if (addr + nwords * sizeof (u32) > adapter->params.sf_size || in t4_read_flash()
818 for (/* */; nwords; nwords--, data++) { in t4_read_flash()
819 ret = sf1_read(adapter, 4, nwords > 1, nwords == 1, data); in t4_read_flash()
820 if (nwords == 1) in t4_read_flash()
1194 const unsigned int nwords = CIM_IBQ_SIZE * 4; in t4_read_cim_ibq() local
1199 addr = qid * nwords; in t4_read_cim_ibq()
1231 unsigned int addr, v, nwords; t4_read_cim_obq() local
[all...]
H A Dcommon.h336 unsigned int nwords, u32 *data, int byte_oriented);
/titanic_51/usr/src/uts/common/sys/
H A Dpci_cap.h117 uint32_t *buf_p, uint32_t nwords);
/titanic_51/usr/src/lib/libshell/common/edit/
H A Dvi.c664 static void backword(Vi_t *vp,int nwords, register int cmd) in backword() argument
667 while( nwords-- && tcur_virt > first_virt ) in backword()
1196 static void endword(Vi_t *vp, int nwords, register int cmd) in endword() argument
1199 while( nwords-- ) in endword()
1233 static void forward(Vi_t *vp,register int nwords, int cmd) in forward() argument
1236 while( nwords-- ) in forward()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dvi.c657 /*{ BACKWORD( nwords, cmd )
663 static void backword(Vi_t *vp,int nwords, register int cmd) in backword() argument
666 while( nwords-- && tcur_virt > first_virt ) in backword()
1242 /*{ ENDWORD( nwords, cmd )
1248 static void endword(Vi_t *vp, int nwords, register int cmd) in endword() argument
1251 while( nwords-- ) in endword()
1279 /*{ FORWARD( nwords, cmd )
1285 static void forward(Vi_t *vp,register int nwords, int cmd) in forward() argument
1288 while( nwords-- ) in forward()
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drdisc.c987 int nwords = len >> 1; in in_cksum() local
989 while (nwords-- != 0) in in_cksum()
/titanic_51/usr/src/uts/common/io/hme/
H A Dhme.c2267 int i, nwords = len / 2; in hme_cksum() local
2271 for (i = 0; i < nwords; i++) { in hme_cksum()
/titanic_51/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi.c4847 uint_t nwords = 0; in iscsi_phys_lun_init() local
4857 DDI_PROP_DONTPASS, LUN_PROP, &words, &nwords) != DDI_PROP_SUCCESS) { in iscsi_phys_lun_init()
4864 if (nwords == 0) { in iscsi_phys_lun_init()
/titanic_51/usr/src/cmd/zdb/
H A Dzdb.c3196 int nwords = size / sizeof (uint64_t); in zdb_dump_block() local
3209 for (i = 0; i < nwords; i += 2) { in zdb_dump_block()
/titanic_51/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c12909 uint_t nwords; in fcp_find_existing_dip() local
12972 &nwords) != DDI_PROP_SUCCESS) { in fcp_find_existing_dip()
12976 if (nwords != 1 || words == NULL) { in fcp_find_existing_dip()
13006 &nwords) != DDI_PROP_SUCCESS) { in fcp_find_existing_dip()
13010 if (nwords != 1 || words == NULL) { in fcp_find_existing_dip()