Lines Matching refs:proc
26 return pm_process_pagemap_range(map->proc, map->start, map->end, in pm_map_pagemap()
48 usage.vss += map->proc->ker->pagesize; in pm_map_usage_flags()
57 error = pm_kernel_flags(map->proc->ker, PM_PAGEMAP_PFN(pagemap[i]), in pm_map_usage_flags()
65 error = pm_kernel_count(map->proc->ker, PM_PAGEMAP_PFN(pagemap[i]), in pm_map_usage_flags()
69 usage.rss += (count >= 1) ? map->proc->ker->pagesize : (0); in pm_map_usage_flags()
70 usage.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); in pm_map_usage_flags()
71 usage.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); in pm_map_usage_flags()
73 usage.swap += map->proc->ker->pagesize; in pm_map_usage_flags()
108 error = pm_kernel_flags(map->proc->ker, PM_PAGEMAP_PFN(pagemap[i]), in pm_map_workingset()
115 error = pm_kernel_count(map->proc->ker, PM_PAGEMAP_PFN(pagemap[i]), in pm_map_workingset()
119 ws.vss += map->proc->ker->pagesize; in pm_map_workingset()
121 ws.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); in pm_map_workingset()
122 ws.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); in pm_map_workingset()
123 ws.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); in pm_map_workingset()