Home | History | Annotate | Download | only in mmapstress

Lines Matching full:sparseoffset

69  *			 -S sparseoffset -r -o -m -l -d]
84 * -S sparseoffset - when non-zero, causes a sparse area to
86 * actual initial file size is sparseoffset +
124 "-p nprocs [-t minutes -w nbytes -s secs -f fsize -S sparseoffset -r -o -m -l -d]";
142 off64_t sparseoffset = 0;
145 off_t sparseoffset = 0;
250 sparseoffset = atoll(optarg);
252 sparseoffset = atoi(optarg);
254 if (sparseoffset % pagesize != 0) {
256 "sparseoffset must be pagesize multiple\n");
355 if (lseek64(fd, sparseoffset, SEEK_SET) < 0) {
357 if (lseek(fd, sparseoffset, SEEK_SET) < 0) {
578 if (statbuf.st_size - sparseoffset > SIZE_MAX) {
582 mapsize_mapper = (size_t) (statbuf.st_size - sparseoffset);
584 offset = sparseoffset;
817 if (lseek64(fd, sparseoffset, SEEK_SET) < 0) {
819 if (lseek(fd, sparseoffset, SEEK_SET) < 0) {
827 if (statbuf.st_size - sparseoffset > SIZE_MAX) {
831 mapsize = (size_t) (statbuf.st_size - sparseoffset);