Home
last modified time | relevance | path

Searched refs:pagesize (Results 1 – 6 of 6) sorted by relevance

/system/extras/procmem/
Dprocmem.c46 int pagesize; /* cached for speed */ in main() local
109 pagesize = pm_kernel_pagesize(ker); in main()
192 address = pm_map_start(mi->map) + j * ker->pagesize; in main()
249 mi->shared_clean * pagesize / 1024, in main()
250 mi->shared_dirty * pagesize / 1024, in main()
251 mi->private_clean * pagesize / 1024, in main()
252 mi->private_dirty * pagesize / 1024, in main()
261 mi->shared_clean * pagesize / 1024, in main()
262 mi->shared_dirty * pagesize / 1024, in main()
263 mi->private_clean * pagesize / 1024, in main()
[all …]
/system/core/mkbootimg/
Dmkbootimg.c77 int write_padding(int fd, unsigned pagesize, unsigned itemsize) in write_padding() argument
79 unsigned pagemask = pagesize - 1; in write_padding()
86 count = pagesize - (itemsize & pagemask); in write_padding()
108 unsigned pagesize = 2048; in main() local
154 pagesize = strtoul(val, 0, 10); in main()
155 if ((pagesize != 2048) && (pagesize != 4096)) { in main()
156 fprintf(stderr,"error: unsupported page size %d\n", pagesize); in main()
163 hdr.page_size = pagesize; in main()
246 if(write_padding(fd, pagesize, sizeof(hdr))) goto fail; in main()
249 if(write_padding(fd, pagesize, hdr.kernel_size)) goto fail; in main()
[all …]
/system/extras/libpagemap/
Dpm_map.c54 usage.vss += map->proc->ker->pagesize; in pm_map_usage()
55 usage.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); in pm_map_usage()
56 usage.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); in pm_map_usage()
57 usage.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); in pm_map_usage()
97 ws.vss += map->proc->ker->pagesize; in pm_map_workingset()
99 ws.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); in pm_map_workingset()
100 ws.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); in pm_map_workingset()
101 ws.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); in pm_map_workingset()
Dpm_process.c105 firstpage = low / proc->ker->pagesize; in pm_process_pagemap_range()
106 numpages = (high - low) / proc->ker->pagesize; in pm_process_pagemap_range()
Dpm_kernel.c54 ker->pagesize = getpagesize(); in pm_kernel_create()
/system/extras/libpagemap/include/pagemap/
Dpagemap.h49 int pagesize; member
81 #define pm_kernel_pagesize(ker) ((ker)->pagesize)