Lines Matching defs:write
297 * on to call TestClearPageDirty(), and write the page
385 * FOLL_FORCE can write to even unwritable pte's, but only
911 * userspace may also be wanting to write to the gotten user page,
913 * reCOWed by userspace write).
923 int write = (gup_flags & FOLL_WRITE);
932 if (write) {
937 * We used to let the write,force case do COW in a
962 if (!arch_vma_access_permitted(vma, write, false, foreign))
1155 bool write = !!(fault_flags & FAULT_FLAG_WRITE);
1157 vm_flags_t vm_flags = write ? VM_WRITE : VM_READ;
1164 * mechanism other than read/write that can deny access.
1169 if (!arch_vma_access_permitted(vma, write, false, foreign))
1395 * If @locked is NULL, it may be held for read or write and will
1418 * We want to touch writable mappings with a write fault in order
1509 /* calculate required read or write permissions.
1848 * Must be called with mmap_lock held for read or write.
2720 * When pinning pages for DMA there could be a concurrent write protect
2796 * Careful, careful! COW breaking can go either way, so a non-write
2798 * 'write' set, you'd better be sure that you're ok with that ambiguity.