Lines Matching refs:size

133   off_t size;		/* -s flag: size of file */  member
247 fillpattern (int type, unsigned char *r, size_t size) in fillpattern() argument
256 for (i = 3; i <= size / 2; i *= 2) in fillpattern()
258 if (i < size) in fillpattern()
259 memcpy (r + i, r, size - i); in fillpattern()
263 for (i = 0; i < size; i += SECTOR_SIZE) in fillpattern()
377 known (off_t size) in known() argument
379 return 0 <= size; in known()
397 off_t size = *sizep; in dopass() local
426 bool try_without_directio = 0 < size && size < output_size; in dopass()
440 lim = known (size) && size < FILLPATTERN_SIZE ? size : FILLPATTERN_SIZE; in dopass()
462 if (known (size) && size - offset < output_size) in dopass()
464 if (size < offset) in dopass()
466 lim = size - offset; in dopass()
478 if (! known (size) && (ssize == 0 || errno == ENOSPC)) in dopass()
482 *sizep = size = offset + soff; in dopass()
511 if (errnum == EIO && known (size) in dopass()
541 bool done = offset == size; in dopass()
557 if (! known (size)) in dopass()
563 int percent = (size == 0 in dopass()
566 ? off * 100 / size in dopass()
567 : off / (size / 100))); in dopass()
569 = human_readable (size, size_buf, in dopass()
819 off_t size; /* Size to write, size to read */ in do_wipefd() local
855 size = flags->size; in do_wipefd()
856 if (size == -1) in do_wipefd()
860 size = st.st_size; in do_wipefd()
865 off_t remainder = size % STP_BLKSIZE (&st); in do_wipefd()
866 if (size && size < STP_BLKSIZE (&st)) in do_wipefd()
867 i_size = size; in do_wipefd()
871 size += MIN (size_incr, OFF_T_MAX - size); in do_wipefd()
880 size = lseek (fd, 0, SEEK_END); in do_wipefd()
881 if (size <= 0) in do_wipefd()
885 size = -1; in do_wipefd()
890 && st.st_size < MIN (STP_BLKSIZE (&st), size)) in do_wipefd()
909 else if (size) in do_wipefd()
911 pass_size = size; in do_wipefd()
912 size = 0; in do_wipefd()
1180 flags.size = -1; in main()
1212 flags.size = xnumtoumax (optarg, 0, 0, OFF_T_MAX, "cbBkKMGTPEZYRQ0", in main()