Searched refs:nr_pages (Results 1 – 4 of 4) sorted by relevance
429 long nr_pages; in get_allocated_vmalloc_memory() local430 if (sscanf(line, "%*x-%*x %*ld %*s pages=%ld", &nr_pages) == 1) { in get_allocated_vmalloc_memory()431 vmalloc_allocated_size += (nr_pages * getpagesize()); in get_allocated_vmalloc_memory()432 } else if (sscanf(line, "%*x-%*x %*ld %*s %*s pages=%ld", &nr_pages) == 1) { in get_allocated_vmalloc_memory()437 vmalloc_allocated_size += (nr_pages * getpagesize()); in get_allocated_vmalloc_memory()
263 uint64_t nr_pages; in ReadVmallocInfo() local264 if (sscanf(p_start, "pages=%" SCNu64 "", &nr_pages) == 1) { in ReadVmallocInfo()265 vmalloc_total += (nr_pages * getpagesize()); in ReadVmallocInfo()
220 uint64_t nr_pages = (vma.end - vma.start) / getpagesize(); in PageMap() local221 pagemap->reserve(nr_pages); in PageMap()224 uint64_t last = idx + nr_pages; in PageMap()
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()