Lines Matching refs:ibuf
216 static ssize_t dd_read(void *ibuf, size_t ibs) in dd_read() argument
223 n = full_read(ifd, ibuf, ibs); in dd_read()
226 n = safe_read(ifd, ibuf, ibs); in dd_read()
375 char *ibuf; in dd_main() local
381 # define obuf ibuf in dd_main()
485 ibuf = alloc_buf(ibs); in dd_main()
486 obuf = ibuf; in dd_main()
544 ssize_t n = dd_read(ibuf, blocksz); in dd_main()
568 n = dd_read(ibuf, n); in dd_main()
596 p16 = (void*) ibuf; in dd_main()
609 memset(ibuf + n, 0, ibs - n); in dd_main()
615 char *tmp = ibuf; in dd_main()
633 if (write_and_stats(ibuf, n, obs, outfile)) in dd_main()
668 free(ibuf); in dd_main()