Home
last modified time | relevance | path

Searched refs:rmax (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Ddeflate.c303 uchar_t *rptr, *rmax; in z_compress() local
318 while (rptr >= rmax) { \ in z_compress()
324 rmax = mp->b_wptr; \ in z_compress()
341 rmax = mp->b_wptr; in z_compress()
537 uchar_t *rptr, *rmax; in z_incomp() local
546 rmax = mp->b_wptr; in z_incomp()
773 uchar_t *rptr, *rmax; in z_decompress() local
791 rmax = mi->b_wptr; in z_decompress()
792 if (rptr > rmax) { in z_decompress()
810 while (rptr >= rmax) { \ in z_decompress()
[all …]
H A Dbsd-comp.c569 uchar_t *rptr, *rmax; in bsd_compress() local
618 rmax = mp->b_wptr; \ in bsd_compress()
638 rmax = mp->b_wptr; in bsd_compress()
912 uchar_t *rptr, *rmax; in bsd_incomp() local
921 rmax = mp->b_wptr; in bsd_incomp()
1108 uchar_t *rptr, *rmax; in bsd_decompress() local
1130 rmax = cmsg->b_wptr; in bsd_decompress()
1138 while (rptr >= rmax) { \ in bsd_decompress()
1146 rmax = cmsg->b_wptr; \ in bsd_decompress()
1147 ilen += rmax-rptr; \ in bsd_decompress()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c633 rmax = MIN(strmsgsz, rmax); in stropen()
2860 ASSERT((rmax >= 0) || (rmax == INFPSZ)); in strwrite_common()
3966 rmax = MIN(PIPE_BUF, rmax); in strioctl()
3967 else rmax = MIN(strmsgsz, rmax); in strioctl()
4047 rmax = MIN(PIPE_BUF, rmax); in strioctl()
4048 else rmax = MIN(strmsgsz, rmax); in strioctl()
4267 rmax = MIN(strmsgsz, rmax); in strioctl()
4401 rmax = MIN(PIPE_BUF, rmax); in strioctl()
4402 else rmax = MIN(strmsgsz, rmax); in strioctl()
7926 ASSERT((rmax >= 0) || (rmax == INFPSZ)); in strputmsg()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_integer_overflow.c140 sval_t lmax, rmax, res; in can_integer_overflow() local
170 get_absolute_max(expr->right, &rmax); in can_integer_overflow()
172 if (sval_binop_overflows(lmax, op, rmax)) in can_integer_overflow()
175 res = sval_binop(lmax, op, rmax); in can_integer_overflow()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Drpool.c386 SM_RESOURCE_T *r, *rmax; local
401 rmax = rpool->sm_rptr;
404 for (r = rl->sm_rvec; r < rmax; ++r)
414 rmax = &rl->sm_rvec[SM_RLIST_MAX];
/illumos-gate/usr/src/tools/smatch/src/validation/expand/
H A Dbad-shift.c13 static int rmax(int a) in rmax() function
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.c4646 ssize_t iosize, rmax, maxblk; in sostream_direct() local
4683 rmax = stp->sd_qn_maxpsz; in sostream_direct()
4684 ASSERT(rmax >= 0 || rmax == INFPSZ); in sostream_direct()
4685 if (rmax == 0 || uiop->uio_resid <= 0) in sostream_direct()
4688 if (rmax == INFPSZ) in sostream_direct()
4689 rmax = uiop->uio_resid; in sostream_direct()
4694 iosize = MIN(uiop->uio_resid, rmax); in sostream_direct()
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-device.c1836 int rmax; in __hal_device_rth_it_configure() local
1856 rmax=0; in __hal_device_rth_it_configure()
1860 rings[rmax++] = rnum; in __hal_device_rth_it_configure()
1867 if (rnum == rmax) in __hal_device_rth_it_configure()