Lines Matching refs:vmf
1954 int filemap_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in filemap_fault() argument
1961 pgoff_t offset = vmf->pgoff; in filemap_fault()
1974 if (likely(page) && !(vmf->flags & FAULT_FLAG_TRIED)) { in filemap_fault()
1992 if (!lock_page_or_retry(page, vma->vm_mm, vmf->flags)) { in filemap_fault()
2023 vmf->page = page; in filemap_fault()
2031 error = page_cache_read(file, offset, vmf->gfp_mask); in filemap_fault()
2075 void filemap_map_pages(struct vm_area_struct *vma, struct vm_fault *vmf) in filemap_map_pages() argument
2083 unsigned long address = (unsigned long) vmf->virtual_address; in filemap_map_pages()
2088 radix_tree_for_each_slot(slot, &mapping->page_tree, &iter, vmf->pgoff) { in filemap_map_pages()
2089 if (iter.index > vmf->max_pgoff) in filemap_map_pages()
2125 pte = vmf->pte + page->index - vmf->pgoff; in filemap_map_pages()
2131 addr = address + (page->index - vmf->pgoff) * PAGE_SIZE; in filemap_map_pages()
2140 if (iter.index == vmf->max_pgoff) in filemap_map_pages()
2147 int filemap_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) in filemap_page_mkwrite() argument
2149 struct page *page = vmf->page; in filemap_page_mkwrite()