Lines Matching defs:rmax
245 ssize_t rmin, rmax;
571 rmax = stp->sd_wrq->q_next->q_maxpsz;
576 if (rmax == INFPSZ)
577 rmax = strmsgsz;
579 rmax = MIN(strmsgsz, rmax);
584 stp->sd_qn_maxpsz = rmax;
2730 ssize_t rmin, rmax;
2761 rmax = stp->sd_qn_maxpsz;
2770 ASSERT((rmax >= 0) || (rmax == INFPSZ));
2771 if (rmax == 0) {
2781 if ((rmax != INFPSZ) && (uiop->uio_resid > rmax)) {
2798 if (rmax == INFPSZ)
2799 rmax = uiop->uio_resid;
2814 iosize = MIN(uiop->uio_resid, rmax);
3202 ssize_t rmin, rmax;
3831 rmax = stp->sd_wrq->q_next->q_maxpsz;
3836 if (rmax == INFPSZ)
3837 rmax = strmsgsz;
3840 rmax = MIN(PIPE_BUF, rmax);
3841 else rmax = MIN(strmsgsz, rmax);
3847 stp->sd_qn_maxpsz = rmax;
3912 rmax = wrq->q_next->q_maxpsz;
3917 if (rmax == INFPSZ)
3918 rmax = strmsgsz;
3921 rmax = MIN(PIPE_BUF, rmax);
3922 else rmax = MIN(strmsgsz, rmax);
3928 stp->sd_qn_maxpsz = rmax;
4133 rmax = stp->sd_wrq->q_next->q_maxpsz;
4138 if (rmax == INFPSZ) {
4139 rmax = strmsgsz;
4141 rmax = MIN(strmsgsz, rmax);
4147 stp->sd_qn_maxpsz = rmax;
4266 rmax = wrq->q_next->q_maxpsz;
4271 if (rmax == INFPSZ)
4272 rmax = strmsgsz;
4275 rmax = MIN(PIPE_BUF, rmax);
4276 else rmax = MIN(strmsgsz, rmax);
4282 stp->sd_qn_maxpsz = rmax;
5197 rmax = stp->sd_qn_maxpsz;
5206 ASSERT((rmax >= 0) || (rmax == INFPSZ));
5207 if (rmax == 0) {
5214 ((msgsize > rmax) && (rmax != INFPSZ)) ||
7734 ssize_t rmin, rmax;
7793 rmax = stp->sd_qn_maxpsz;
7800 ASSERT((rmax >= 0) || (rmax == INFPSZ));
7801 if (rmax == 0) {
7808 if (stp->sd_maxblk != INFPSZ && rmax != INFPSZ && rmax < stp->sd_maxblk)
7809 rmax = stp->sd_maxblk;
7816 ((msgsize > rmax) && (rmax != INFPSZ)) ||
7936 ssize_t rmin, rmax;
7990 rmax = stp->sd_qn_maxpsz;
7997 ASSERT((rmax >= 0) || (rmax == INFPSZ));
7998 if (rmax == 0) {
8006 if (stp->sd_maxblk != INFPSZ && rmax != INFPSZ && rmax < stp->sd_maxblk)
8007 rmax = stp->sd_maxblk;
8017 ((msgsize > rmax) && (rmax != INFPSZ))) {