Lines Matching refs:vma

20 	struct vm_area_struct *vma;  in task_mem()  local
27 vma = rb_entry(p, struct vm_area_struct, vm_rb); in task_mem()
29 bytes += kobjsize(vma); in task_mem()
31 region = vma->vm_region; in task_mem()
36 size = vma->vm_end - vma->vm_start; in task_mem()
40 vma->vm_flags & VM_MAYSHARE) { in task_mem()
45 slack = region->vm_end - vma->vm_end; in task_mem()
82 struct vm_area_struct *vma; in task_vsize() local
88 vma = rb_entry(p, struct vm_area_struct, vm_rb); in task_vsize()
89 vsize += vma->vm_end - vma->vm_start; in task_vsize()
99 struct vm_area_struct *vma; in task_statm() local
106 vma = rb_entry(p, struct vm_area_struct, vm_rb); in task_statm()
107 size += kobjsize(vma); in task_statm()
108 region = vma->vm_region; in task_statm()
127 struct vm_area_struct *vma, bool is_pid) in pid_of_stack() argument
136 task = task_of_stack(task, vma, is_pid); in pid_of_stack()
148 static int nommu_vma_show(struct seq_file *m, struct vm_area_struct *vma, in nommu_vma_show() argument
151 struct mm_struct *mm = vma->vm_mm; in nommu_vma_show()
159 flags = vma->vm_flags; in nommu_vma_show()
160 file = vma->vm_file; in nommu_vma_show()
163 struct inode *inode = file_inode(vma->vm_file); in nommu_vma_show()
166 pgoff = (loff_t)vma->vm_pgoff << PAGE_SHIFT; in nommu_vma_show()
172 vma->vm_start, in nommu_vma_show()
173 vma->vm_end, in nommu_vma_show()
185 pid_t tid = pid_of_stack(priv, vma, is_pid); in nommu_vma_show()
193 if (!is_pid || (vma->vm_start <= mm->start_stack && in nommu_vma_show()
194 vma->vm_end >= mm->start_stack)) in nommu_vma_show()