Searched defs:nwords (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dmc4.c37 unsigned int nwords; /* MC4 width in terms of 32-bit words */ member in struct:pemc4
133 mc4->nwords = 4 >> width;
302 unsigned int size256 = mc4->size / 32, c = 8 / mc4->nwords, i;
321 if (mc4->nwords >= 2)
323 if (mc4->nwords == 4) {
/illumos-gate/usr/src/uts/common/io/
H A Dpci_cap.c330 uint32_t *buf_p, uint32_t nwords)
336 ASSERT(nwords < 1024);
341 for (ptr = buf_p, i = 0; i < nwords; i++, base += 4) {
329 pci_cap_read(ddi_acc_handle_t h, uint32_t id, uint16_t base, uint32_t *buf_p, uint32_t nwords) argument
/illumos-gate/usr/src/lib/libcmd/common/
H A Dfmt.c64 int nwords; member in struct:Fmt_s
102 fp->nwords = 0;
199 if (fp->nwords > 0 && &fp->outp[n] >= fp->endbuf && !fp->retain && !q)
202 if (fp->nwords == 0)
213 fp->nwords++;
579 fmt.nwords = 0;
H A Dwclib.c168 register Sfoff_t nwords; local
183 nlines = nwords = nchars = nbytes = 0;
248 nwords++;
287 nwords++;
292 nwords++;
316 nwords++;
326 nwords--;
331 nwords++;
359 nwords++;
373 nwords
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dbitset.c73 uint_t nwords; local
76 nwords = BT_BITOUL(els << b->bs_fanout);
77 if (b->bs_words == nwords)
84 if (nwords > 0) {
85 bset_new = kmem_zalloc(nwords * sizeof (ulong_t), KM_SLEEP);
88 MIN(b->bs_words, nwords) * sizeof (ulong_t));
101 b->bs_words = nwords;
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;
648 pci_fill_buf(ddi_acc_handle_t confhdl, uint16_t cap_ptr, uint32_t *regbuf, uint32_t nwords) argument
661 pci_generic_save(ddi_acc_handle_t confhdl, uint16_t cap_ptr, uint32_t *regbuf, uint32_t nwords) argument
673 uint32_t nwords = PCI_MSI_MIN_WORDS; local
694 uint32_t nwords = PCI_PCIX_MIN_WORDS; local
721 uint32_t nwords = 0; local
749 uint32_t nwords; local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspace_map.c174 * buf in reverse order. Populates nwords with number of words
182 uint64_t bufsz, uint64_t *nwords)
202 ASSERT(nwords != NULL);
205 *nwords =
208 ASSERT3U(*nwords, <=, bufsz / sizeof (uint64_t));
210 uint64_t n = *nwords;
293 uint64_t nwords = 0; local
295 &nwords);
299 ASSERT3U(nwords, <=, bufsz / sizeof (uint64_t));
301 for (uint64_t i = 0; i < nwords;
181 space_map_reversed_last_block_entries(space_map_t *sm, uint64_t *buf, uint64_t bufsz, uint64_t *nwords) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drdisc.c987 int nwords = len >> 1; local
989 while (nwords-- != 0)
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dvi.c658 /*{ BACKWORD( nwords, cmd )
664 static void backword(Vi_t *vp,int nwords, register int cmd) argument
667 while( nwords-- && tcur_virt > first_virt )
1194 /*{ ENDWORD( nwords, cmd )
1200 static void endword(Vi_t *vp, int nwords, register int cmd) argument
1203 while( nwords-- )
1231 /*{ FORWARD( nwords, cmd )
1237 static void forward(Vi_t *vp,register int nwords, int cmd) argument
1240 while( nwords-- )
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Dbcm_osal.h248 u32 nwords = 0; local
251 nwords = (limit - 1)/OSAL_BITS_PER_UL + 1;
252 for (i = 0; i < nwords && ~(addr[i]) == 0; i++);
253 return (i == nwords) ? limit : i*OSAL_BITS_PER_UL + osal_ffz(addr[i]);
259 u32 nwords = (limit+OSAL_BITS_PER_UL-1)/OSAL_BITS_PER_UL; local
261 for (i = 0; i < nwords ; i++)
267 if (i == nwords) {
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi.c4843 uint_t nwords = 0; local
4853 DDI_PROP_DONTPASS, LUN_PROP, &words, &nwords) != DDI_PROP_SUCCESS) {
4860 if (nwords == 0) {
/illumos-gate/usr/src/uts/common/io/hme/
H A Dhme.c2267 int i, nwords = len / 2; local
2271 for (i = 0; i < nwords; i++) {
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c12909 uint_t nwords; local
12972 &nwords) != DDI_PROP_SUCCESS) {
12976 if (nwords != 1 || words == NULL) {
13006 &nwords) != DDI_PROP_SUCCESS) {
13010 if (nwords != 1 || words == NULL) {
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c183 uint64_t nwords; local
210 nwords = 1;
234 nwords = 2;
243 (u_longlong_t)vdev_id, (u_longlong_t)nwords);
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c5377 unsigned nwords = size / sizeof (uint64_t); local
5391 for (i = 0; i < nwords; i += 2) {
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.c3460 * @nwords: how many 32-bit words to read
3470 unsigned int nwords, u32 *data, int byte_oriented)
3474 if (addr + nwords * sizeof(u32) > adapter->params.sf_size || (addr & 3))
3483 for ( ; nwords; nwords--, data++) {
3484 ret = sf1_read(adapter, 4, nwords > 1, nwords == 1, data);
3485 if (nwords == 1)
9855 const unsigned int nwords = CIM_IBQ_SIZE * 4; local
9860 addr = qid * nwords;
3469 t4_read_flash(struct adapter *adapter, unsigned int addr, unsigned int nwords, u32 *data, int byte_oriented) argument
9896 unsigned int addr, v, nwords; local
[all...]

Completed in 510 milliseconds