Lines Matching refs:vm_page_prot
125 pgprot_t vm_page_prot; in vma_set_page_prot() local
127 vm_page_prot = vm_pgprot_modify(vma->vm_page_prot, vm_flags); in vma_set_page_prot()
128 if (vma_wants_writenotify(vma, vm_page_prot)) { in vma_set_page_prot()
130 vm_page_prot = vm_pgprot_modify(vm_page_prot, vm_flags); in vma_set_page_prot()
133 WRITE_ONCE(vma->vm_page_prot, vm_page_prot); in vma_set_page_prot()
1672 int vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot) in vma_wants_writenotify() argument
1687 if (pgprot_val(vm_page_prot) != in vma_wants_writenotify()
1688 pgprot_val(vm_pgprot_modify(vm_page_prot, vm_flags))) in vma_wants_writenotify()
1788 vma->vm_page_prot = vm_get_page_prot(vm_flags); in mmap_region()
3087 vma->vm_page_prot = vm_get_page_prot(flags); in do_brk_flags()
3446 vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); in __install_special_mapping()