Lines Matching defs:nr
1084 int len, nr;
1092 nr = -1;
1094 nr = read(ppp_fd, buf, len);
1095 if (nr < 0 && errno != EWOULDBLOCK && errno != EAGAIN
1098 if (nr < 0 && errno == ENXIO)
1101 if (nr < 0 && new_style_driver && ppp_dev_fd >= 0 && !bundle_eof) {
1103 nr = read(ppp_dev_fd, buf, len);
1104 if (nr < 0 && errno != EWOULDBLOCK && errno != EAGAIN
1107 if (nr < 0 && errno == ENXIO)
1108 nr = 0;
1109 if (nr == 0 && doing_multilink) {
1115 nr = 0;
1116 return (new_style_driver && nr > 0)? nr+2: nr;