Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress07.c88 caddr_t mapaddr; local
205 if ((mapaddr = mmap64((caddr_t) 0, pagesize * 2 + holesize, PROT_READ,
209 if ((mapaddr = mmap((caddr_t) 0, pagesize * 2 + holesize, PROT_READ,
224 if (*(mapaddr + pagesize + (holesize >> 1)) != 0) {
255 if (munmap(mapaddr, holesize + 2 * pagesize) == -1) {
Dmmapstress09.c110 caddr_t mapaddr; variable
193 if ((mapaddr = mmap(0, mapsize, PROT_READ | PROT_WRITE, in main()
220 ptr = (uchar_t *) mapaddr; in main()
398 paddr = (uchar_t *) (mapaddr + (randpage * pagesize)); in child_mapper()
423 paddr = (uchar_t *) mapaddr + (randpage * pagesize); in child_mapper()
442 ptr = (uchar_t *) mapaddr; in mapokay()