Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress03.c71 char *brk_max_addr, *hole_addr, *brk_start, *hole_start; in main() local
88 if ((hole_addr = hole_start = sbrk(NUM_SEGS * 2 * pagesize)) == NEG1) { in main()
99 while (hole_addr + pagesize < brk_max_addr) { in main()
100 if (munmap(hole_addr, pagesize) == -1) { in main()
104 hole_addr += 2 * pagesize; in main()
124 hole_addr = hole_start + pagesize; /* munmap the other pages */ in main()
125 while (hole_addr + pagesize < brk_max_addr) { in main()
126 if (munmap(hole_addr, pagesize) == -1) { in main()
130 hole_addr += 2 * pagesize; in main()