Lines Matching refs:vm_flags
254 unsigned long vm_flags = vma->vm_flags; in move_vma() local
278 MADV_UNMERGEABLE, &vm_flags); in move_vma()
314 if (vm_flags & VM_ACCOUNT) { in move_vma()
315 vma->vm_flags &= ~VM_ACCOUNT; in move_vma()
332 vm_stat_account(mm, vma->vm_flags, vma->vm_file, new_len>>PAGE_SHIFT); in move_vma()
343 vma->vm_flags |= VM_ACCOUNT; in move_vma()
345 vma->vm_next->vm_flags |= VM_ACCOUNT; in move_vma()
348 if (vm_flags & VM_LOCKED) { in move_vma()
382 if (vma->vm_flags & (VM_DONTEXPAND | VM_PFNMAP)) in vma_to_resize()
385 if (vma->vm_flags & VM_LOCKED) { in vma_to_resize()
397 if (vma->vm_flags & VM_ACCOUNT) { in vma_to_resize()
444 if (vma->vm_flags & VM_MAYSHARE) in mremap_to()
556 vm_stat_account(mm, vma->vm_flags, vma->vm_file, pages); in SYSCALL_DEFINE5()
557 if (vma->vm_flags & VM_LOCKED) { in SYSCALL_DEFINE5()
574 if (vma->vm_flags & VM_MAYSHARE) in SYSCALL_DEFINE5()