/system/extras/libpagemap/ |
pm_map.h | 20 #include <pagemap/pagemap.h>
|
pm_map.c | 20 #include <pagemap/pagemap.h> 32 uint64_t *pagemap; local 41 error = pm_map_pagemap(map, &pagemap, &len); 50 if (!PM_PAGEMAP_PRESENT(pagemap[i]) && 51 !PM_PAGEMAP_SWAPPED(pagemap[i])) 54 if (!PM_PAGEMAP_SWAPPED(pagemap[i])) { 57 error = pm_kernel_flags(map->proc->ker, PM_PAGEMAP_PFN(pagemap[i]), 65 error = pm_kernel_count(map->proc->ker, PM_PAGEMAP_PFN(pagemap[i]), 74 pm_memusage_pswap_add_offset(&usage, PM_PAGEMAP_SWAP_OFFSET(pagemap[i])) 93 uint64_t *pagemap; local [all...] |
pagemap_test.cpp | 17 #include <pagemap/pagemap.h> 23 TEST(pagemap, maps) {
|
pm_kernel.c | 26 #include <pagemap/pagemap.h>
|
pm_memusage.c | 20 #include <pagemap/pagemap.h>
|
pm_process.c | 25 #include <pagemap/pagemap.h> 48 error = snprintf(filename, MAX_FILENAME, "/proc/%d/pagemap", pid);
|
/art/dexlayout/ |
dexdiag.cc | 34 #include "pagemap/pagemap.h" 193 static void ProcessPageMap(uint64_t* pagemap, 200 if (PM_PAGEMAP_PRESENT(pagemap[page])) { 263 static void ProcessOneDexMapping(uint64_t* pagemap, 295 ProcessPageMap(pagemap, start_page, end_page, sections, §ion_resident_pages); 339 uint64_t* pagemap; local 341 if (pm_map_pagemap(map, &pagemap, &len) != 0) { 342 std::cerr << "Error creating pagemap." << std::endl; 351 ProcessOneDexMapping(pagemap, 403 uint64_t* pagemap; local [all...] |
/external/ltp/testcases/kernel/syscalls/mmap/ |
mmap12.c | 101 uint64_t pagemap; local 110 pm = open("/proc/self/pagemap", O_RDONLY); 114 "don't have permission to open dev pagemap"); 117 "Open dev pagemap failed"); 126 ret = read(pm, &pagemap, sizeof(uint64_t)); 128 tst_brkm(TFAIL | TERRNO, NULL, "Read pagemap failed"); 132 if (!(pagemap & (1ULL<<63))) {
|
/system/extras/ksmutils/ |
ksminfo.c | 28 #include <pagemap/pagemap.h> 114 "does this kernel have pagemap?\n"); 192 uint64_t *pagemap; local 231 error = pm_map_pagemap(maps[i], &pagemap, &map_len); 233 fprintf(stderr, "warning: could not read the pagemap of %d\n", 238 error = pm_kernel_flags(ker, PM_PAGEMAP_PFN(pagemap[j]), &flags); 241 pagemap[i]); 271 free(pagemap); 279 rc = pm_kernel_count(ker, PM_PAGEMAP_PFN(pagemap[j]), &kp->pages[kp->len].count) [all...] |
/system/extras/procmem/ |
procmem.c | 23 #include <pagemap/pagemap.h> 56 /* pagemap information */ 57 uint64_t *pagemap; size_t num_pages; local 106 "does this kernel have pagemap?\n"); 183 error = pm_map_pagemap(mi->map, &pagemap, &num_pages); 186 fprintf(stderr, "error getting pagemap for map.\n"); 193 mapentry = pagemap[j];
|
/system/core/libmemtrack/ |
memtrack_test.c | 24 #include <pagemap/pagemap.h> 88 "does this kernel have pagemap?\n");
|
/external/squashfs-tools/kernel/fs/squashfs/ |
symlink.c | 38 #include <linux/pagemap.h>
|
cache.c | 55 #include <linux/pagemap.h>
|
super.c | 34 #include <linux/pagemap.h>
|
/system/extras/librank/ |
librank.c | 27 #include <pagemap/pagemap.h> 324 "does this kernel have pagemap?\n");
|
/external/ltp/testcases/kernel/fs/scsi/ltpfs/ |
LtpfsCmds.c | 21 #include <linux/pagemap.h>
|
/system/extras/procrank/ |
procrank.cpp | 32 #include <pagemap/pagemap.h> 245 "does this kernel have pagemap?\n");
|
/development/ndk/platforms/android-9/include/linux/ |
blkdev.h | 20 #include <linux/pagemap.h>
|
/prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/linux/ |
blkdev.h | 20 #include <linux/pagemap.h>
|
/prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/linux/ |
blkdev.h | 20 #include <linux/pagemap.h>
|
/prebuilts/ndk/r10/platforms/android-12/arch-x86/usr/include/linux/ |
blkdev.h | 20 #include <linux/pagemap.h>
|
/prebuilts/ndk/r10/platforms/android-13/arch-arm/usr/include/linux/ |
blkdev.h | 20 #include <linux/pagemap.h>
|
/prebuilts/ndk/r10/platforms/android-13/arch-mips/usr/include/linux/ |
blkdev.h | 20 #include <linux/pagemap.h>
|
/prebuilts/ndk/r10/platforms/android-13/arch-x86/usr/include/linux/ |
blkdev.h | 20 #include <linux/pagemap.h>
|
/prebuilts/ndk/r10/platforms/android-14/arch-arm/usr/include/linux/ |
blkdev.h | 20 #include <linux/pagemap.h>
|