Searched refs:dbsz (Results 1 - 5 of 5) sorted by relevance
/freebsd-11.0-release/bin/dd/ |
H A D | position.c | 71 if (lseek(in.fd, in.offset * in.dbsz, SEEK_CUR) == -1 && 86 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) { 90 bcnt = in.dbsz; 139 if (lseek(out.fd, out.offset * out.dbsz, SEEK_CUR) == -1 && 161 if ((n = read(out.fd, out.db, out.dbsz)) > 0) 178 n = write(out.fd, out.db, out.dbsz); 181 if ((size_t)n != out.dbsz)
|
H A D | dd.c | 171 if ((in.db = malloc(out.dbsz + in.dbsz - 1)) == NULL) 174 } else if ((in.db = malloc(MAX(in.dbsz, cbsz) + cbsz)) == NULL || 175 (out.db = malloc(out.dbsz + cbsz)) == NULL) 194 if (ftruncate(out.fd, out.offset * out.dbsz) == -1) 294 t_target = (double)in.dbsz / (double)speed; 329 memset(in.dbp, fill_char, in.dbsz); 331 memset(in.dbp, ' ', in.dbsz); 333 memset(in.dbp, 0, in.dbsz); 336 n = read(in.fd, in.dbp, in.dbsz); [all...] |
H A D | args.c | 108 in.dbsz = out.dbsz = 512; 174 if (in.offset > OFF_MAX / (ssize_t)in.dbsz || 175 out.offset > OFF_MAX / (ssize_t)out.dbsz) 196 in.dbsz = out.dbsz = (size_t)res; 253 in.dbsz = (size_t)res; 274 out.dbsz = (size_t)res;
|
H A D | dd.h | 44 size_t dbsz; /* block size */ member in struct:__anon2
|
H A D | conv.c | 72 if (in.dbcnt >= out.dbsz) { 181 if ((out.dbcnt += cbsz) >= out.dbsz) 241 if (++out.dbcnt >= out.dbsz)
|
Completed in 65 milliseconds