Lines Matching refs:rmax

293 	ssize_t	rmin, rmax;  in stropen()  local
625 rmax = stp->sd_wrq->q_next->q_maxpsz; in stropen()
630 if (rmax == INFPSZ) in stropen()
631 rmax = strmsgsz; in stropen()
633 rmax = MIN(strmsgsz, rmax); in stropen()
638 stp->sd_qn_maxpsz = rmax; in stropen()
2820 ssize_t rmin, rmax; in strwrite_common() local
2851 rmax = stp->sd_qn_maxpsz; in strwrite_common()
2860 ASSERT((rmax >= 0) || (rmax == INFPSZ)); in strwrite_common()
2861 if (rmax == 0) { in strwrite_common()
2871 if ((rmax != INFPSZ) && (uiop->uio_resid > rmax)) { in strwrite_common()
2888 if (rmax == INFPSZ) in strwrite_common()
2889 rmax = uiop->uio_resid; in strwrite_common()
2904 iosize = MIN(uiop->uio_resid, rmax); in strwrite_common()
3292 ssize_t rmin, rmax; in strioctl() local
3957 rmax = stp->sd_wrq->q_next->q_maxpsz; in strioctl()
3962 if (rmax == INFPSZ) in strioctl()
3963 rmax = strmsgsz; in strioctl()
3966 rmax = MIN(PIPE_BUF, rmax); in strioctl()
3967 else rmax = MIN(strmsgsz, rmax); in strioctl()
3973 stp->sd_qn_maxpsz = rmax; in strioctl()
4038 rmax = wrq->q_next->q_maxpsz; in strioctl()
4043 if (rmax == INFPSZ) in strioctl()
4044 rmax = strmsgsz; in strioctl()
4047 rmax = MIN(PIPE_BUF, rmax); in strioctl()
4048 else rmax = MIN(strmsgsz, rmax); in strioctl()
4054 stp->sd_qn_maxpsz = rmax; in strioctl()
4259 rmax = stp->sd_wrq->q_next->q_maxpsz; in strioctl()
4264 if (rmax == INFPSZ) { in strioctl()
4265 rmax = strmsgsz; in strioctl()
4267 rmax = MIN(strmsgsz, rmax); in strioctl()
4273 stp->sd_qn_maxpsz = rmax; in strioctl()
4392 rmax = wrq->q_next->q_maxpsz; in strioctl()
4397 if (rmax == INFPSZ) in strioctl()
4398 rmax = strmsgsz; in strioctl()
4401 rmax = MIN(PIPE_BUF, rmax); in strioctl()
4402 else rmax = MIN(strmsgsz, rmax); in strioctl()
4408 stp->sd_qn_maxpsz = rmax; in strioctl()
5323 rmax = stp->sd_qn_maxpsz; in strioctl()
5332 ASSERT((rmax >= 0) || (rmax == INFPSZ)); in strioctl()
5333 if (rmax == 0) { in strioctl()
5340 ((msgsize > rmax) && (rmax != INFPSZ)) || in strioctl()
7860 ssize_t rmin, rmax; in strputmsg() local
7919 rmax = stp->sd_qn_maxpsz; in strputmsg()
7926 ASSERT((rmax >= 0) || (rmax == INFPSZ)); in strputmsg()
7927 if (rmax == 0) { in strputmsg()
7934 if (stp->sd_maxblk != INFPSZ && rmax != INFPSZ && rmax < stp->sd_maxblk) in strputmsg()
7935 rmax = stp->sd_maxblk; in strputmsg()
7942 ((msgsize > rmax) && (rmax != INFPSZ)) || in strputmsg()
8062 ssize_t rmin, rmax; in kstrputmsg() local
8116 rmax = stp->sd_qn_maxpsz; in kstrputmsg()
8123 ASSERT((rmax >= 0) || (rmax == INFPSZ)); in kstrputmsg()
8124 if (rmax == 0) { in kstrputmsg()
8132 if (stp->sd_maxblk != INFPSZ && rmax != INFPSZ && rmax < stp->sd_maxblk) in kstrputmsg()
8133 rmax = stp->sd_maxblk; in kstrputmsg()
8143 ((msgsize > rmax) && (rmax != INFPSZ))) { in kstrputmsg()