Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/mem/mtest05/
Dmmstress.c147 static int pages_num = NUMPAGES; /* number of pages to use for tests */ variable
263 * (pages_num / NUMTHREAD) in thread_fault()
282 for (; pgnum_ndx < (pages_num / NUMTHREAD); pgnum_ndx++) { in thread_fault()
316 if (munmap(addr, sysconf(_SC_PAGESIZE) * pages_num) < 0) { in remove_files()
389 empty_buf = malloc(pagesize * pages_num); in map_and_thread()
390 if (write(fd, empty_buf, pagesize * pages_num) != in map_and_thread()
391 (pagesize * pages_num)) { in map_and_thread()
407 if ((map_addr = (caddr_t) mmap(0, pagesize * pages_num, in map_and_thread()
851 pages_num = atoi(optarg); in main()