Lines Matching defs:sparseoffset
70 static long long sparseoffset;
91 if (tst_parse_filesize(opt_sparseoffset, &sparseoffset, FSIZE_MIN, FSIZE_MAX))
93 if (sparseoffset % pagesize != 0)
94 tst_brk(TBROK, "sparseoffset must be pagesize multiple");
146 if (statbuf.st_size - sparseoffset > UINT_MAX)
148 mapsize = (size_t) (statbuf.st_size - sparseoffset);
150 offset = sparseoffset;
214 SAFE_LSEEK(fd, sparseoffset, SEEK_SET);
216 if (statbuf.st_size - sparseoffset > UINT_MAX)
218 mapsize = (size_t) (statbuf.st_size - sparseoffset);
292 SAFE_LSEEK(fd, (off_t)sparseoffset, SEEK_SET);
360 "so that the actual initial filesize is sparseoffset + filesize "