Searched refs:nr_pages (Results 1 – 4 of 4) sorted by relevance
22 unsigned long nr_pages; /* size of cache in pages */ member126 p->nr_pages = p->nr_slabs * pages_per_slab; in get_slabinfo()240 BUILD_SORT_FUNC(nr_pages) in BUILD_SORT_FUNC()343 p->nr_pages * page_size, in main()
434 long nr_pages; in get_allocated_vmalloc_memory() local435 if (sscanf(line, "%*x-%*x %*ld %*s pages=%ld", &nr_pages) == 1) { in get_allocated_vmalloc_memory()436 vmalloc_allocated_size += (nr_pages * getpagesize()); in get_allocated_vmalloc_memory()437 } else if (sscanf(line, "%*x-%*x %*ld %*s %*s pages=%ld", &nr_pages) == 1) { in get_allocated_vmalloc_memory()442 vmalloc_allocated_size += (nr_pages * getpagesize()); in get_allocated_vmalloc_memory()
232 uint64_t nr_pages; in ReadVmallocInfo() local233 if (sscanf(p_start, "pages=%" SCNu64 "", &nr_pages) == 1) { in ReadVmallocInfo()234 vmalloc_total += (nr_pages * getpagesize()); in ReadVmallocInfo()
280 uint64_t nr_pages = (vma.end - vma.start) / getpagesize(); in PageMap() local281 pagemap->resize(nr_pages); in PageMap()283 size_t bytes_to_read = sizeof(uint64_t) * nr_pages; in PageMap()