Searched refs:vmf (Results 1 – 6 of 6) sorted by relevance
/mm/ |
D | memory.c | 2047 struct vm_fault vmf; in do_page_mkwrite() local 2050 vmf.virtual_address = (void __user *)(address & PAGE_MASK); in do_page_mkwrite() 2051 vmf.pgoff = page->index; in do_page_mkwrite() 2052 vmf.flags = FAULT_FLAG_WRITE|FAULT_FLAG_MKWRITE; in do_page_mkwrite() 2053 vmf.gfp_mask = __get_fault_gfp_mask(vma); in do_page_mkwrite() 2054 vmf.page = page; in do_page_mkwrite() 2055 vmf.cow_page = NULL; in do_page_mkwrite() 2057 ret = vma->vm_ops->page_mkwrite(vma, &vmf); in do_page_mkwrite() 2282 struct vm_fault vmf = { in wp_pfn_shared() local 2291 ret = vma->vm_ops->pfn_mkwrite(vma, &vmf); in wp_pfn_shared() [all …]
|
D | filemap.c | 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() [all …]
|
D | shmem.c | 1289 static int shmem_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in shmem_fault() argument 1319 vmf->pgoff >= shmem_falloc->start && in shmem_fault() 1320 vmf->pgoff < shmem_falloc->next) { in shmem_fault() 1325 if ((vmf->flags & FAULT_FLAG_ALLOW_RETRY) && in shmem_fault() 1326 !(vmf->flags & FAULT_FLAG_RETRY_NOWAIT)) { in shmem_fault() 1353 error = shmem_getpage(inode, vmf->pgoff, &vmf->page, SGP_CACHE, &ret); in shmem_fault()
|
D | mmap.c | 3120 struct vm_fault *vmf); 3146 struct vm_fault *vmf) in special_mapping_fault() argument 3157 for (pgoff = vmf->pgoff; pgoff && *pages; ++pages) in special_mapping_fault() 3163 vmf->page = page; in special_mapping_fault()
|
D | nommu.c | 1922 int filemap_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in filemap_fault() argument 1929 void filemap_map_pages(struct vm_area_struct *vma, struct vm_fault *vmf) in filemap_map_pages() argument
|
D | hugetlb.c | 3103 static int hugetlb_vm_op_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in hugetlb_vm_op_fault() argument
|