Lines Matching refs:n
218 ssize_t n; in dd_read() local
223 n = full_read(ifd, ibuf, ibs); in dd_read()
226 n = safe_read(ifd, ibuf, ibs); in dd_read()
228 if (n < 0 && (G.flags & FLAG_IDIRECT) && clear_O_DIRECT(ifd)) in dd_read()
231 return n; in dd_read()
237 ssize_t n; in write_and_stats() local
240 n = full_write(ofd, buf, len); in write_and_stats()
242 if (n < 0 && (G.flags & FLAG_ODIRECT) && clear_O_DIRECT(ofd)) in write_and_stats()
247 if (n > 0) in write_and_stats()
248 G.total_bytes += n; in write_and_stats()
250 if ((size_t)n == obs) { in write_and_stats()
254 if ((size_t)n == len) { in write_and_stats()
280 int n; in parse_comma_flags() local
289 n = index_in_strings(words, val); in parse_comma_flags()
290 if (n < 0) in parse_comma_flags()
292 flags |= (1 << n); in parse_comma_flags()
475 int n; in dd_main() local
476 n = index_in_strings(status_words, val); in dd_main()
477 if (n < 0) in dd_main()
479 G.flags |= FLAG_STATUS_NONE << n; in dd_main()
544 ssize_t n = dd_read(ibuf, blocksz); in dd_main() local
545 if (n < 0) in dd_main()
547 if (n == 0) in dd_main()
559 ssize_t n = ibs; in dd_main() local
565 n = count; in dd_main()
568 n = dd_read(ibuf, n); in dd_main()
569 if (n == 0) in dd_main()
571 if (n < 0) { in dd_main()
580 n = 0; in dd_main()
590 prev_read_size = n; in dd_main()
597 n2 = (n >> 1); in dd_main()
603 count -= (G.flags & FLAG_COUNT_BYTES) ? n : 1; in dd_main()
604 if ((size_t)n == ibs) in dd_main()
609 memset(ibuf + n, 0, ibs - n); in dd_main()
610 n = ibs; in dd_main()
616 while (n) { in dd_main()
618 if (d > (size_t)n) in dd_main()
619 d = n; in dd_main()
621 n -= d; in dd_main()
633 if (write_and_stats(ibuf, n, obs, outfile)) in dd_main()