Searched refs:MMAPSIZE (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap12.c | 34 #define MMAPSIZE (1UL<<20) macro 54 num_pages = MMAPSIZE / page_sz; in page_check() 97 addr = mmap(NULL, MMAPSIZE, PROT_READ | PROT_WRITE, in verify_mmap() 107 for (i = 0; i < MMAPSIZE; i++) { in verify_mmap() 117 SAFE_MUNMAP(addr, MMAPSIZE); in verify_mmap() 124 SAFE_FTRUNCATE(fildes, MMAPSIZE); in setup()
|
D | mmap14.c | 34 #define MMAPSIZE (1UL<<20) macro 63 addr = mmap(NULL, MMAPSIZE, PROT_READ | PROT_WRITE, in main() 75 if (sz_ch == MMAPSIZE / 1024) { in main() 81 MMAPSIZE / 1024, sz_ch); in main() 84 if (munmap(addr, MMAPSIZE) != 0) in main()
|
/external/ltp/testcases/kernel/security/integrity/ima/src/ |
D | ima_mmap.c | 13 #define MMAPSIZE 1024 macro 22 SAFE_MUNMAP(file, MMAPSIZE); in cleanup() 35 file = SAFE_MMAP(NULL, MMAPSIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in run()
|