Searched refs:num_pages (Results 1 – 4 of 4) sorted by relevance
21 long num_pages; in thrashing_test() local26 num_pages = sysconf(_SC_PHYS_PAGES); in thrashing_test()28 if (num_pages < 0) { in thrashing_test()33 filesize = num_pages * pagesize / (ARRAY_SIZE(fds) - 1); in thrashing_test()
54 def pages_to_mb(self, num_pages): argument55 return "%.2f" % round(num_pages * PAGE_SIZE / 1024.0 / 1024.0, 2)60 def print_pages_and_mb(self, num_pages): argument61 pages_string = str(num_pages) + ' (' + str(self.pages_to_mb(num_pages)) + ' MB)'
42 size_t num_pages; member298 vaddr - (cur_page->vaddr[cur_page->vaddr_len - 1].num_pages * in read_pages()300 cur_page->vaddr[cur_page->vaddr_len - 1].num_pages++; in read_pages()316 cur_page->vaddr[cur_page->vaddr_len].num_pages = 1; in read_pages()375 kp->pages[i].vaddr[j].num_pages); in print_pages()
57 uint64_t *pagemap; size_t num_pages; in main() local183 error = pm_map_pagemap(mi->map, &pagemap, &num_pages); in main()192 for (j = 0; j < num_pages; j++) { in main()