/src/bin/dd/ |
position.c | 74 (off_t)in.offset * (off_t)in.dbsz, SEEK_CUR) == -1) { 87 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) { 91 bcnt = in.dbsz; 141 (off_t)out.offset * (off_t)out.dbsz, SEEK_SET) == -1) 160 if ((n = ddop_read(out, out.fd, out.db, out.dbsz)) > 0) 180 out.db, out.dbsz)) != out.dbsz)
|
dd.c | 248 size_t dbsz = out.dbsz; local in function:setup 250 dbsz += in.dbsz - 1; 251 if ((in.db = buffer_alloc(dbsz)) == NULL) { 257 buffer_alloc((u_int)(MAX(in.dbsz, cbsz) + cbsz))) == NULL || 258 (out.db = buffer_alloc((u_int)(out.dbsz + cbsz))) == NULL) { 276 (void)ddop_ftruncate(out, out.fd, (off_t)out.offset * out.dbsz); 384 (void)memset(in.dbp, ' ', in.dbsz); 386 (void)memset(in.dbp, 0, in.dbsz); [all...] |
args.c | 134 in.dbsz = out.dbsz = 512; 219 * if (in.offset > INT_MAX/in.dbsz || out.offset > INT_MAX/out.dbsz) 236 in.dbsz = out.dbsz = strsuftoll("block size", arg, 1, UINT_MAX); 273 in.dbsz = strsuftoll("input block size", arg, 1, UINT_MAX); 312 out.dbsz = strsuftoll("output block size", arg, 1, UINT_MAX);
|
conv.c | 76 if (in.dbcnt >= out.dbsz) { 194 if ((out.dbcnt += cbsz) >= out.dbsz) 255 if (out.dbcnt >= out.dbsz)
|
dd.h | 75 uint64_t dbsz; /* buffer size */ member in struct:__anona918b54a0108
|