Searched defs:mblen (Results 1 - 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dstdlib.h41 #define mblen(s, n) mbtowc((wchar_t *)0, s, n) macro
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmbtowc.c41 #undef mblen macro
116 int mblen(s, n) function
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dmblen.c54 mblen(const char *s, size_t n) function
/illumos-gate/usr/src/lib/libbc/inc/5include/
H A Dstdlib.h76 #define mblen(s, n) mbtowc((wchar_t *)0, s, n) macro
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_send.c344 uint32_t mblen; local
350 if ((mblen = MBLKL(bp)) == 0)
352 ASSERT(txbuf->copy_len + mblen <=
354 bcopy(bp->b_rptr, pbuf, mblen);
355 pbuf += mblen;
356 txbuf->copy_len += mblen;
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_rxtx.c488 size_t mblen; local
527 mblen = MBLKL(bp);
528 ASSERT(mblen >= 2 * ETHERADDRL + VLAN_TAGSZ);
529 mblen -= 2 * ETHERADDRL + VLAN_TAGSZ;
530 if ((totlen += mblen) <= rgep->ethmax_size) {
532 txb, mblen);
533 txb += mblen;
539 mblen = MBLKL(bp);
540 if ((totlen += mblen) <= rgep->ethmax_size) {
541 bcopy(bp->b_rptr, txb, mblen);
[all...]
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_tx.c355 size_t mblen; local
390 if ((mblen = MBLKL(bp)) == 0)
392 if ((totlen += mblen) <= ngep->max_sdu) {
393 bcopy(bp->b_rptr, txb, mblen);
394 txb += mblen;
437 uint32_t mblen; local
482 mblen = MBLKL(bp);
483 if (mblen == 0)
487 NULL, (caddr_t)bp->b_rptr, mblen,
597 uint32_t mblen local
[all...]
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dm_wchar.h313 #undef mblen macro
324 #define mblen(s, n) m_sb_mblen(s, n) macro
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_data.c773 uint_t mblen; local
836 mblen = MBLKL(nmp);
837 if (pending > mblen) {
838 bcopy(nmp->b_rptr, dst, mblen);
839 dst += mblen;
840 pending -= mblen;
/illumos-gate/usr/src/uts/common/io/zyd/
H A Dzyd.c289 int len, off, mblen; local
331 mblen = MBLKL(m0);
332 (void) memcpy(m->b_rptr + off, m0->b_rptr, mblen);
333 off += mblen;
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dsetlocale.c56 #ifdef mblen
57 #undef mblen macro
58 extern int mblen(const char*, size_t);
178 #define mblen 0 macro
643 else if ((locales[cp->internal]->flags & LC_default) || (ast.mb_cur_max = MB_CUR_MAX) <= 1 || !(ast.mb_len = mblen) || !(ast.mb_towc = mbtowc))
689 , ast.mb_len == debug_mblen ? " debug_mblen" : ast.mb_len == mblen ? " mblen" : ""
/illumos-gate/usr/src/uts/sun4u/starfire/io/
H A Didn_smr.c2131 register pfn_t new_pfn, uint_t mblen)
2144 blen = MB2B(mblen);
2149 proc, (void *)vaddr, new_pfn, npgs, mblen, blen);
2176 proc, npgs, btopr(MB2B(mblen)));
2130 smr_remap(struct as *as, register caddr_t vaddr, register pfn_t new_pfn, uint_t mblen) argument
/illumos-gate/usr/src/uts/common/io/iwi/
H A Dipw2200.c2400 uint32_t len, ret, cmd, mblen; local
2405 mblen = MBLKL(m);
2406 if (mblen < sizeof (struct iocblk)) {
2409 mblen));
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_main.c676 int32_t keyix, iswep, hdrlen, pktlen, mblen, mbslen, try0; local
737 mblen = MBLKL(mp);
738 bcopy(mp->b_rptr, dest, mblen);
739 dest += mblen;
/illumos-gate/usr/src/uts/common/io/dmfe/
H A Ddmfe_main.c1013 size_t mblen; local
1099 mblen = MBLKL(bp);
1100 if ((totlen += mblen) <= DMFE_MAX_PKT_SIZE) {
1101 bcopy(bp->b_rptr, txb, mblen);
1102 txb += mblen;
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c770 u32 mblen; local
808 if ((mblen = MBLKL(bp)) == 0)
810 bcopy(bp->b_rptr, txb, mblen);
811 txb += mblen;
899 uint32_t mblen; local
908 mblen = MBLKL(bp);
909 if (mblen == 0)
919 NULL, (caddr_t)bp->b_rptr, mblen,
/illumos-gate/usr/src/uts/common/io/ral/
H A Drt2560.c1438 int off, pktlen, mblen; local
1468 mblen = MBLKL(m0);
1469 (void) memcpy(m->b_rptr + off, m0->b_rptr, mblen);
1470 off += mblen;
1573 int off, mblen, pktlen; local
1598 mblen = MBLKL(m0);
1599 (void) memcpy(m->b_rptr + off, m0->b_rptr, mblen);
1600 off += mblen;
/illumos-gate/usr/src/uts/common/io/rum/
H A Drum.c740 int off, mblen, pktlen, xferlen; local
773 mblen = (uintptr_t)m0->b_wptr - (uintptr_t)m0->b_rptr;
774 (void) memcpy(m->b_rptr + off, m0->b_rptr, mblen);
775 off += mblen;
/illumos-gate/usr/src/uts/common/io/rwd/
H A Drt2661.c1414 int mblen, pktlen; local
1439 mblen = MBLKL(m0);
1440 (void) bcopy(m0->b_rptr, m->b_rptr + off, mblen);
1441 off += mblen;
1540 int mblen, pktlen; local
1568 mblen = MBLKL(m0);
1569 (void) bcopy(m0->b_rptr, m->b_rptr + off, mblen);
1570 off += mblen;
/illumos-gate/usr/src/uts/common/io/rwn/
H A Drt2860.c1089 int mblen, pktlen; local
1129 mblen = MBLKL(m0);
1130 (void) bcopy(m0->b_rptr, m->b_rptr + off, mblen);
1131 off += mblen;
/illumos-gate/usr/src/uts/common/io/uath/
H A Duath.c1996 int err, off, mblen; local
2033 mblen = (uintptr_t)m0->b_wptr - (uintptr_t)m0->b_rptr;
2034 (void) memcpy(m->b_rptr + off, m0->b_rptr, mblen);
2035 off += mblen;
/illumos-gate/usr/src/uts/common/io/ural/
H A Dural.c679 int off, mblen, pktlen, xferlen; local
712 mblen = (uintptr_t)m0->b_wptr - (uintptr_t)m0->b_rptr;
713 (void) memcpy(m->b_rptr + off, m0->b_rptr, mblen);
714 off += mblen;
/illumos-gate/usr/src/uts/common/io/wpi/
H A Dwpi.c2083 int rate, hdrlen, len, mblen, off, err = WPI_SUCCESS; local
2129 mblen = MBLKL(m0);
2130 (void) memcpy(m->b_rptr + off, m0->b_rptr, mblen);
2131 off += mblen;
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxgell.c1034 int mblen; local
1040 mblen = MBLKL(bp);
1041 if (mblen == 0) {
1045 sent_bytes += mblen;
1051 if (mblen < lldev->config.tx_dma_lowat &&
1052 (copied + mblen) < lldev->tx_copied_max) {
1055 dtr, bp->b_rptr, mblen);
1058 copied += mblen;
1081 (caddr_t)bp->b_rptr, mblen,
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_xmit.c1869 int32_t keyix, iswep, hdrlen, pktlen, mblen, mbslen; local
1929 mblen = MBLKL(mp);
1930 bcopy(mp->b_rptr, dest, mblen);
1931 dest += mblen;

Completed in 241 milliseconds

12