Home
last modified time | relevance | path

Searched refs:bpsize (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libinetutil/common/
H A Difspec.c46 getlun(const char *bp, int bpsize, uint_t *lun) in getlun() argument
48 char *ep = (char *)&bp[bpsize - 1]; in getlun()
80 getppa(const char *bp, int bpsize, uint_t *ppa) in getppa() argument
82 char *ep = (char *)&bp[bpsize - 1]; in getppa()
/illumos-gate/usr/src/lib/libc/port/print/
H A Ddoprnt.c449 size_t bpsize; in _wndoprnt() local
1817 bpsize = sizeof (wchar_t) * (nwc + 1); in _wndoprnt()
1818 wstr = (wchar_t *)lmalloc(bpsize); in _wndoprnt()
1837 bpsize = sizeof (wchar_t) * nwc; in _wndoprnt()
1838 wstr = (wchar_t *)lmalloc(bpsize); in _wndoprnt()
1850 bpsize = sizeof (wchar_t) * prec; in _wndoprnt()
1851 wstr = (wchar_t *)lmalloc(bpsize); in _wndoprnt()
2169 lfree(bp, bpsize); in _wndoprnt()
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifovnops.c739 int bpsize = MBLKL(fnp->fn_mp); in fifo_read() local
740 int uiosize = MIN(bpsize, uiop->uio_resid); in fifo_read()
748 if (bpsize <= uiosize) { in fifo_read()
/illumos-gate/usr/src/uts/common/sys/
H A Dstream.h765 #define bpsize(bp) ((unsigned int)(bp->b_datap->db_lim - bp->b_datap->db_base)) macro
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_xioctl.c3428 uint32_t rval, timer, bpsize; in ql_diagnostic_loopback() local
3455 bpsize = plbreq.TransferCount + 4; /* Include opcode size */ in ql_diagnostic_loopback()
3456 bp = kmem_zalloc(bpsize, KM_SLEEP); in ql_diagnostic_loopback()
3470 kmem_free(bp, bpsize); in ql_diagnostic_loopback()
3480 kmem_free(bp, bpsize); in ql_diagnostic_loopback()
3508 kmem_free(bp, bpsize); in ql_diagnostic_loopback()
3536 if ((rval = ql_diag_echo(ha, bp, bpsize, in ql_diagnostic_loopback()
3574 kmem_free(bp, bpsize); in ql_diagnostic_loopback()
3585 kmem_free(bp, bpsize); in ql_diagnostic_loopback()
3590 kmem_free(bp, bpsize); in ql_diagnostic_loopback()