Home
last modified time | relevance | path

Searched refs:NUM_PAGES (Results 1 - 5 of 5) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/mincore/
H A 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()
H A 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/syscalls/mremap/
H A Dmremap06.c25 #define NUM_PAGES 3 macro
100 mmap_size = (NUM_PAGES+1) * page_size; in setup()
101 mremap_size = NUM_PAGES * page_size; in setup()
/third_party/ltp/testcases/kernel/mem/mmapstress/
H A Dmmapstress04.c17 #define NUM_PAGES (192) macro
31 mmap_area = SAFE_MMAP(NULL, page_size * NUM_PAGES, PROT_NONE, in setup()
/third_party/ltp/testcases/kernel/syscalls/madvise/
H A Dmadvise11.c33 #define NUM_PAGES 32 macro
120 long *ptrs[NUM_PAGES]; in allocate_offline()
124 for (num_alloc = 0; num_alloc < NUM_PAGES; num_alloc++) { in allocate_offline()
399 maximum_pfns = number_threads * NUM_LOOPS * NUM_PAGES; in setup()

Completed in 3 milliseconds