Lines Matching refs:vmf
1866 int filemap_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in filemap_fault() argument
1873 pgoff_t offset = vmf->pgoff; in filemap_fault()
1886 if (likely(page) && !(vmf->flags & FAULT_FLAG_TRIED)) { in filemap_fault()
1904 if (!lock_page_or_retry(page, vma->vm_mm, vmf->flags)) { in filemap_fault()
1935 vmf->page = page; in filemap_fault()
1987 void filemap_map_pages(struct vm_area_struct *vma, struct vm_fault *vmf) in filemap_map_pages() argument
1995 unsigned long address = (unsigned long) vmf->virtual_address; in filemap_map_pages()
2000 radix_tree_for_each_slot(slot, &mapping->page_tree, &iter, vmf->pgoff) { in filemap_map_pages()
2001 if (iter.index > vmf->max_pgoff) in filemap_map_pages()
2037 pte = vmf->pte + page->index - vmf->pgoff; in filemap_map_pages()
2043 addr = address + (page->index - vmf->pgoff) * PAGE_SIZE; in filemap_map_pages()
2052 if (iter.index == vmf->max_pgoff) in filemap_map_pages()
2059 int filemap_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) in filemap_page_mkwrite() argument
2061 struct page *page = vmf->page; in filemap_page_mkwrite()