Lines Matching defs:readCount
1101 ssize_t readCount;
1111 readCount = read(sd, buff, sizeof buff);
1116 if (((char*) &pNLMsg[1] > (buff + readCount)) || // i.e. *pNLMsg extends off end of buffer
1117 ((char*) pNLMsg + pNLMsg->nlmsg_len > (buff + readCount)))
1122 readCount -= ((char*) pNLMsg - buff);
1123 memmove(buff, pNLMsg, readCount);
1127 readCount += read(sd, buff + readCount, sizeof buff - readCount);
1128 continue; // spin around and revalidate with new readCount
1147 ssize_t len = readCount - ((char*)pNLMsg - buff);
1190 ssize_t readCount;
1195 readCount = read(sd, buff, sizeof buff);
1196 if (readCount < (ssize_t) sizeof(struct ifa_msghdr))