Home
last modified time | relevance | path

Searched refs:sparseoffset (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress01.c125 off64_t sparseoffset = 0; variable
128 off_t sparseoffset = 0; variable
206 sparseoffset = atoll(optarg);
208 sparseoffset = atoi(optarg);
210 if (sparseoffset % pagesize != 0) {
306 if (lseek64(fd, sparseoffset, SEEK_SET) < 0) {
308 if (lseek(fd, sparseoffset, SEEK_SET) < 0) {
502 if (statbuf.st_size - sparseoffset > SIZE_MAX) {
506 mapsize = (size_t) (statbuf.st_size - sparseoffset);
508 offset = sparseoffset;
[all …]
Dmmapstress10.c142 off64_t sparseoffset = 0; variable
145 off_t sparseoffset = 0; variable
250 sparseoffset = atoll(optarg);
252 sparseoffset = atoi(optarg);
254 if (sparseoffset % pagesize != 0) {
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;
[all …]