Lines Matching refs:ibs
104 "usage: dd [if=file] [of=file] [ibs=n|nk|nb|nxm] [obs=n|nk|nb|nxm]\n"\
124 static unsigned ibs; /* input buffer size */
126 static unsigned bs; /* buffer size, overrules ibs and obs */
495 ibs = BSIZE;
522 if (match("ibs="))
524 ibs = (unsigned)number(BIG);
715 ibs = obs = bs;
717 if ((ibs == 0) || (obs == 0))
894 ibuf = (unsigned char *)valloc(ibs + 10);
948 ibc = read(ibf, (char *)ibuf, ibs);
980 if (iseekn && lseek(ibf, (((off_t)iseekn) * ((off_t)ibs)), 1) == -1)
1019 ip = ibuf + ibs;
1020 c = ibs;
1036 ibc = read(ibf, (char *)ibuf, ibs);
1054 ibc = ibs; /* assume a full block */
1187 else if (ibc == ibs)
1199 c = ibs - ibc;
1200 ip = ibuf + ibs;
1207 ibc = ibs;