Searched refs:ssize (Results 1 – 2 of 2) sorted by relevance
/coreutils/src/ |
D | truncate.c | 105 do_ftruncate (int fd, char const *fname, off_t ssize, off_t rsize, in do_ftruncate() argument 119 intmax_t ssize0 = ssize; in do_ftruncate() 120 if (ckd_mul (&ssize, ssize, blksize)) in do_ftruncate() 161 nsize = MAX (fsize, ssize); in do_ftruncate() 163 nsize = MIN (fsize, ssize); in do_ftruncate() 166 nsize = fsize - fsize % ssize; in do_ftruncate() 172 off_t r = fsize % ssize; in do_ftruncate() 173 ssize = r == 0 ? 0 : ssize - r; in do_ftruncate() 175 if (ckd_add (&nsize, fsize, ssize)) in do_ftruncate() 184 nsize = ssize; in do_ftruncate()
|
D | shred.c | 403 ssize_t ssize; /* Return value from write */ in dopass() local 473 for (soff = 0; soff < lim; soff += ssize) in dopass() 475 ssize = write (fd, pbuf + soff, lim - soff); in dopass() 476 if (ssize <= 0) in dopass() 478 if (! known (size) && (ssize == 0 || errno == ENOSPC)) in dopass() 497 ssize = 0; in dopass() 518 ssize = soff1 - soff; in dopass()
|