Home
last modified time | relevance | path

Searched refs:FAULT_FLAG_WRITE (Results 1 – 25 of 31) sorted by relevance

12

/linux-3.4.99/arch/powerpc/platforms/cell/
Dspu_fault.c73 *flt = handle_mm_fault(mm, vma, ea, is_write ? FAULT_FLAG_WRITE : 0); in spu_handle_mm_fault()
/linux-3.4.99/mm/
Dmemory.c1767 fault_flags |= FAULT_FLAG_WRITE; in __get_user_pages()
1882 vm_flags = (fault_flags & FAULT_FLAG_WRITE) ? VM_WRITE : VM_READ; in fixup_user_fault()
2622 vmf.flags = FAULT_FLAG_WRITE|FAULT_FLAG_MKWRITE; in do_wp_page()
3062 if ((flags & FAULT_FLAG_WRITE) && reuse_swap_page(page)) { in do_swap_page()
3064 flags &= ~FAULT_FLAG_WRITE; in do_swap_page()
3091 if (flags & FAULT_FLAG_WRITE) { in do_swap_page()
3172 if (!(flags & FAULT_FLAG_WRITE)) { in do_anonymous_page()
3252 if ((flags & FAULT_FLAG_WRITE) && !(vma->vm_flags & VM_SHARED)) { in __do_fault()
3298 if (flags & FAULT_FLAG_WRITE) { in __do_fault()
3314 vmf.flags = FAULT_FLAG_WRITE|FAULT_FLAG_MKWRITE; in __do_fault()
[all …]
Dhugetlb.c2764 if ((flags & FAULT_FLAG_WRITE) && !(vma->vm_flags & VM_SHARED)) in hugetlb_no_page()
2787 if ((flags & FAULT_FLAG_WRITE) && !(vma->vm_flags & VM_SHARED)) { in hugetlb_no_page()
2855 if ((flags & FAULT_FLAG_WRITE) && !pte_write(entry)) { in hugetlb_fault()
2884 if (flags & FAULT_FLAG_WRITE) { in hugetlb_fault()
2894 flags & FAULT_FLAG_WRITE)) in hugetlb_fault()
2976 (flags & FOLL_WRITE) ? FAULT_FLAG_WRITE : 0); in follow_hugetlb_page()
/linux-3.4.99/arch/m68k/mm/
Dfault.c142 fault = handle_mm_fault(mm, vma, address, write ? FAULT_FLAG_WRITE : 0); in do_page_fault()
/linux-3.4.99/arch/microblaze/mm/
Dfault.c213 fault = handle_mm_fault(mm, vma, address, is_write ? FAULT_FLAG_WRITE : 0); in do_page_fault()
/linux-3.4.99/arch/parisc/mm/
Dfault.c204 fault = handle_mm_fault(mm, vma, address, (acc_type & VM_WRITE) ? FAULT_FLAG_WRITE : 0); in do_page_fault()
/linux-3.4.99/arch/alpha/mm/
Dfault.c147 fault = handle_mm_fault(mm, vma, address, cause > 0 ? FAULT_FLAG_WRITE : 0); in do_page_fault()
/linux-3.4.99/arch/avr32/mm/
Dfault.c135 fault = handle_mm_fault(mm, vma, address, writeaccess ? FAULT_FLAG_WRITE : 0); in do_page_fault()
/linux-3.4.99/arch/sparc/mm/
Dfault_32.c229 (write ? FAULT_FLAG_WRITE : 0)); in do_sparc_fault()
543 switch (handle_mm_fault(mm, vma, address, write ? FAULT_FLAG_WRITE : 0)) { in force_user_fault()
Dfault_64.c429 flags |= ((fault_code & FAULT_CODE_WRITE) ? FAULT_FLAG_WRITE : 0); in do_sparc64_fault()
/linux-3.4.99/arch/xtensa/mm/
Dfault.c107 fault = handle_mm_fault(mm, vma, address, is_write ? FAULT_FLAG_WRITE : 0); in do_page_fault()
/linux-3.4.99/arch/cris/mm/
Dfault.c166 fault = handle_mm_fault(mm, vma, address, (writeaccess & 1) ? FAULT_FLAG_WRITE : 0); in do_page_fault()
/linux-3.4.99/arch/ia64/mm/
Dfault.c156 fault = handle_mm_fault(mm, vma, address, (mask & VM_WRITE) ? FAULT_FLAG_WRITE : 0); in ia64_do_page_fault()
/linux-3.4.99/arch/mips/mm/
Dfault.c45 (write ? FAULT_FLAG_WRITE : 0); in do_page_fault()
/linux-3.4.99/arch/frv/mm/
Dfault.c165 fault = handle_mm_fault(mm, vma, ear0, write ? FAULT_FLAG_WRITE : 0); in do_page_fault()
/linux-3.4.99/arch/um/kernel/
Dtrap.c68 fault = handle_mm_fault(mm, vma, address, is_write ? FAULT_FLAG_WRITE : 0); in handle_page_fault()
/linux-3.4.99/arch/powerpc/mm/
Dfault.c226 flags |= FAULT_FLAG_WRITE; in do_page_fault()
/linux-3.4.99/arch/sh/mm/
Dfault_32.c203 fault = handle_mm_fault(mm, vma, address, writeaccess ? FAULT_FLAG_WRITE : 0); in do_page_fault()
Dtlbflush_64.c191 fault = handle_mm_fault(mm, vma, address, writeaccess ? FAULT_FLAG_WRITE : 0); in do_page_fault()
/linux-3.4.99/arch/mn10300/mm/
Dfault.c254 fault = handle_mm_fault(mm, vma, address, write ? FAULT_FLAG_WRITE : 0); in do_page_fault()
/linux-3.4.99/arch/unicore32/mm/
Dfault.c198 (!(fsr ^ 0x12)) ? FAULT_FLAG_WRITE : 0); in __do_pf()
/linux-3.4.99/arch/m32r/mm/
Dfault.c197 fault = handle_mm_fault(mm, vma, addr, write ? FAULT_FLAG_WRITE : 0); in do_page_fault()
/linux-3.4.99/arch/arm/mm/
Dfault.c266 (write ? FAULT_FLAG_WRITE : 0); in do_page_fault()
/linux-3.4.99/arch/s390/mm/
Dfault.c293 flags |= FAULT_FLAG_WRITE; in do_exception()
/linux-3.4.99/arch/x86/mm/
Dfault.c1017 (write ? FAULT_FLAG_WRITE : 0); in do_page_fault()

12