Lines Matching defs:ibs
101 "usage: dd [if=file] [of=file] [ibs=n|nk|nb|nxm] [obs=n|nk|nb|nxm]\n"\
120 static unsigned ibs; /* input buffer size */
122 static unsigned bs; /* buffer size, overrules ibs and obs */
478 ibs = BSIZE;
505 if (match("ibs="))
507 ibs = (unsigned)number(BIG);
671 ibs = obs = bs;
673 if ((ibs == 0) || (obs == 0))
852 ibuf = (unsigned char *)valloc(ibs + 10);
887 ibc = read(ibf, (char *)ibuf, ibs);
919 if (iseekn && lseek(ibf, (((off_t)iseekn) * ((off_t)ibs)), 1) == -1)
951 ip = ibuf + ibs;
952 c = ibs;
968 ibc = read(ibf, (char *)ibuf, ibs);
986 ibc = ibs; /* assume a full block */
1119 else if (ibc == ibs)
1131 c = ibs - ibc;
1132 ip = ibuf + ibs;
1139 ibc = ibs;