Lines Matching defs:nbytes
104 size_t nbytes;
169 nbytes = copy_to_iter(&pkt->hdr, sizeof(pkt->hdr), &iov_iter);
170 if (nbytes != sizeof(pkt->hdr)) {
176 nbytes = copy_to_iter(pkt->buf + pkt->off, payload_len,
178 if (nbytes != payload_len) {
326 size_t nbytes;
341 nbytes = copy_from_iter(&pkt->hdr, sizeof(pkt->hdr), &iov_iter);
342 if (nbytes != sizeof(pkt->hdr)) {
344 sizeof(pkt->hdr), nbytes);
370 nbytes = copy_from_iter(pkt->buf, pkt->len, &iov_iter);
371 if (nbytes != pkt->len) {
373 pkt->len, nbytes);