• Home
  • Raw
  • Download

Lines Matching refs:dbsz

217 		if ((in.db = malloc(out.dbsz + in.dbsz - 1)) == NULL) {  in setup()
223 malloc((u_int)(MAX(in.dbsz, cbsz) + cbsz))) == NULL || in setup()
224 (out.db = malloc((u_int)(out.dbsz + cbsz))) == NULL) { in setup()
242 (void)ftruncate(out.fd, (off_t)out.offset * out.dbsz); in setup()
316 (void)memset(in.dbp, ' ', in.dbsz); in dd_in()
318 (void)memset(in.dbp, 0, in.dbsz); in dd_in()
321 n = read(in.fd, in.dbp, in.dbsz); in dd_in()
349 lseek(in.fd, (off_t)in.dbsz, SEEK_CUR)) in dd_in()
358 in.dbcnt += in.dbrcnt = in.dbsz; in dd_in()
362 } else if (n == in.dbsz) { in dd_in()
370 in.dbcnt += in.dbrcnt = in.dbsz; in dd_in()
415 if (ddflags & C_OSYNC && out.dbcnt < out.dbsz) { in dd_close()
416 (void)memset(out.dbp, 0, out.dbsz - out.dbcnt); in dd_close()
417 out.dbcnt = out.dbsz; in dd_close()
423 memset(out.db, 0, out.dbsz); in dd_close()
424 out.dbcnt = out.dbsz; in dd_close()
426 pending -= out.dbsz; in dd_close()
474 for (n = force ? out.dbcnt : out.dbsz;; n = out.dbsz) { in dd_out()
520 st.sparse += pending/out.dbsz; in dd_out()
521 st.out_full += pending/out.dbsz; in dd_out()
527 if (n != out.dbsz) in dd_out()
549 if ((out.dbcnt -= n) < out.dbsz) in dd_out()
594 (off_t)in.offset * (off_t)in.dbsz, SEEK_CUR) == -1) { in pos_in()
609 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) { in pos_in()
613 bcnt = in.dbsz; in pos_in()
665 (off_t)out.offset * (off_t)out.dbsz, SEEK_SET) == -1) { in pos_out()
688 if ((n = read(out.fd, out.db, out.dbsz)) > 0) in pos_out()
712 if ((n = bwrite(out.fd, out.db, out.dbsz)) != out.dbsz) { in pos_out()
744 if (in.dbcnt >= out.dbsz) { in def()
865 if ((out.dbcnt += cbsz) >= out.dbsz) in block()
926 if (out.dbcnt >= out.dbsz) in unblock()
1060 in.dbsz = out.dbsz = 512; in jcl()
1172 in.dbsz = out.dbsz = strsuftoll("block size", arg, 1, UINT_MAX); in f_bs()
1205 in.dbsz = strsuftoll("input block size", arg, 1, UINT_MAX); in f_ibs()
1220 out.dbsz = strsuftoll("output block size", arg, 1, UINT_MAX); in f_obs()