Searched refs:dbsz (Results 1 – 2 of 2) sorted by relevance
/system/core/toolbox/ |
D | dd.c | 219 if ((in.db = malloc(out.dbsz + in.dbsz - 1)) == NULL) { in setup() 225 malloc((u_int)(MAX(in.dbsz, cbsz) + cbsz))) == NULL || in setup() 226 (out.db = malloc((u_int)(out.dbsz + cbsz))) == NULL) { in setup() 244 (void)ftruncate(out.fd, (off_t)out.offset * out.dbsz); in setup() 354 (void)memset(in.dbp, ' ', in.dbsz); in dd_in() 356 (void)memset(in.dbp, 0, in.dbsz); in dd_in() 359 n = read(in.fd, in.dbp, in.dbsz); in dd_in() 387 lseek(in.fd, (off_t)in.dbsz, SEEK_CUR)) in dd_in() 396 in.dbcnt += in.dbrcnt = in.dbsz; in dd_in() 400 } else if (n == in.dbsz) { in dd_in() [all …]
|
D | dd.h | 44 uint64_t dbsz; /* buffer size */ member
|