Home
last modified time | relevance | path

Searched refs:nr_pages (Results 1 – 4 of 4) sorted by relevance

/system/core/libmeminfo/
Dlibmeminfo_benchmark.cpp429 long nr_pages; in get_allocated_vmalloc_memory() local
430 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()
Dsysmeminfo.cpp263 uint64_t nr_pages; in ReadVmallocInfo() local
264 if (sscanf(p_start, "pages=%" SCNu64 "", &nr_pages) == 1) { in ReadVmallocInfo()
265 vmalloc_total += (nr_pages * getpagesize()); in ReadVmallocInfo()
Dprocmeminfo.cpp220 uint64_t nr_pages = (vma.end - vma.start) / getpagesize(); in PageMap() local
221 pagemap->reserve(nr_pages); in PageMap()
224 uint64_t last = idx + nr_pages; in PageMap()
/system/extras/showslab/
Dshowslab.c22 unsigned long nr_pages; /* size of cache in pages */ member
126 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()