Searched refs:mapsize_mapper (Results 1 – 1 of 1) sorted by relevance
/external/ltp/testcases/kernel/mem/mmapstress/ |
D | mmapstress10.c | 158 size_t mapsize_mapper; variable 582 mapsize_mapper = (size_t) (statbuf.st_size - sparseoffset); 583 mappages = roundup(mapsize_mapper, pagesize) / pagesize; 589 mapsize_mapper -= byteoffset; 593 if ((maddr_mapper = mmap64(0, mapsize_mapper, PROT_READ | PROT_WRITE, 597 if ((maddr_mapper = mmap(0, mapsize_mapper, PROT_READ | PROT_WRITE, 613 procno, getpid(), seed, filesize, mapsize_mapper, 619 (long)mapsize_mapper, offset / pagesize, nloops); 630 if (randpage < mappages - 1 || !(mapsize_mapper % pagesize)) 633 validsize = mapsize_mapper % pagesize; [all …]
|