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");
357 if (lseek64(fd, sparseoffset, SEEK_SET) < 0) {
359 if (lseek(fd, sparseoffset, SEEK_SET) < 0) {
580 if (statbuf.st_size - sparseoffset > SIZE_MAX) {
584 mapsize_mapper = (size_t) (statbuf.st_size - sparseoffset);
586 offset = sparseoffset;
819 if (lseek64(fd, sparseoffset, SEEK_SET) < 0) {
821 if (lseek(fd, sparseoffset, SEEK_SET) < 0) {
829 if (statbuf.st_size - sparseoffset > SIZE_MAX) {
833 mapsize = (size_t) (statbuf.st_size - sparseoffset);