Lines Matching defs:nr
1120 int len, nr;
1128 nr = -1;
1131 nr = read(ppp_fd, buf, len);
1132 if (nr < 0 && errno != EWOULDBLOCK && errno != EAGAIN
1135 if (nr < 0 && errno == ENXIO)
1138 if (nr < 0 && new_style_driver && ppp_dev_fd >= 0 && !bundle_eof) {
1140 nr = read(ppp_dev_fd, buf, len);
1141 if (nr < 0 && errno != EWOULDBLOCK && errno != EAGAIN
1144 if (nr < 0 && errno == ENXIO)
1145 nr = 0;
1146 if (nr == 0 && doing_multilink) {
1152 nr = 0;
1153 return (new_style_driver && nr > 0)? nr+2: nr;