Searched refs:oldflags (Results 1 – 1 of 1) sorted by relevance
377 unsigned long oldflags = vma->vm_flags; in mprotect_fixup() local384 if (newflags == oldflags) { in mprotect_fixup()414 may_expand_vm(mm, oldflags, nrpages)) in mprotect_fixup()416 if (!(oldflags & (VM_ACCOUNT|VM_WRITE|VM_HUGETLB| in mprotect_fixup()468 if ((oldflags & (VM_WRITE | VM_SHARED | VM_LOCKED)) == VM_LOCKED && in mprotect_fixup()473 vm_stat_account(mm, oldflags, -nrpages); in mprotect_fixup()