Searched refs:locked_pages (Results 1 – 2 of 2) sorted by relevance
65 int locked_pages = 0; in count_pages_in_cache() local76 locked_pages++; in count_pages_in_cache()80 return locked_pages; in count_pages_in_cache()85 int locked_pages; in test_mincore() local95 locked_pages = count_pages_in_cache(); in test_mincore()98 if (locked_pages == NUM_PAGES) in test_mincore()100 "are resident", locked_pages); in test_mincore()103 "locked by child process", locked_pages, NUM_PAGES); in test_mincore()
50 int locked_pages; in test_mincore() local60 locked_pages = 0; in test_mincore()63 locked_pages++; in test_mincore()65 if (locked_pages == tc->expected_pages) in test_mincore()69 locked_pages, tc->expected_pages); in test_mincore()