Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/mincore/
Dmincore04.c24 #define NUM_PAGES 3 macro
45 size = page_size * NUM_PAGES; in setup()
67 unsigned char vec[NUM_PAGES]; in count_pages_in_cache()
74 for (count = 0; count < NUM_PAGES; count++) { in count_pages_in_cache()
98 if (locked_pages == NUM_PAGES) in test_mincore()
103 "locked by child process", locked_pages, NUM_PAGES); in test_mincore()
Dmincore03.c20 #define NUM_PAGES 3 macro
28 { true, NUM_PAGES, "locked pages are resident"},
43 size = page_size * NUM_PAGES; in setup()
49 unsigned char vec[NUM_PAGES]; in test_mincore()
61 for (count = 0; count < NUM_PAGES; count++) in test_mincore()
/third_party/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress04.c17 #define NUM_PAGES (192) macro
31 mmap_area = SAFE_MMAP(NULL, page_size * NUM_PAGES, PROT_NONE, in setup()