/openbmc/linux/drivers/scsi/cxlflash/ |
H A D | superpipe.c | 1103 static vm_fault_t cxlflash_mmap_fault(struct vm_fault *vmf) in cxlflash_mmap_fault() argument 1105 struct vm_area_struct *vma = vmf->vma; in cxlflash_mmap_fault() 1134 rc = ctxi->cxl_mmap_vmops->fault(vmf); in cxlflash_mmap_fault() 1147 vmf->page = err_page; in cxlflash_mmap_fault()
|
/openbmc/linux/drivers/hsi/clients/ |
H A D | cmt_speech.c | 1087 static vm_fault_t cs_char_vma_fault(struct vm_fault *vmf) in cs_char_vma_fault() argument 1089 struct cs_char *csdata = vmf->vma->vm_private_data; in cs_char_vma_fault() 1094 vmf->page = page; in cs_char_vma_fault()
|
/openbmc/linux/drivers/misc/sgi-gru/ |
H A D | grutables.h | 649 extern vm_fault_t gru_fault(struct vm_fault *vmf);
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | pgtable.h | 398 #define update_mmu_cache_range(vmf, vma, address, ptep, nr) do { } while (0) argument
|
/openbmc/linux/virt/kvm/ |
H A D | kvm_main.c | 3839 static vm_fault_t kvm_vcpu_fault(struct vm_fault *vmf) in kvm_vcpu_fault() argument 3841 struct kvm_vcpu *vcpu = vmf->vma->vm_file->private_data; in kvm_vcpu_fault() 3844 if (vmf->pgoff == 0) in kvm_vcpu_fault() 3847 else if (vmf->pgoff == KVM_PIO_PAGE_OFFSET) in kvm_vcpu_fault() 3851 else if (vmf->pgoff == KVM_COALESCED_MMIO_PAGE_OFFSET) in kvm_vcpu_fault() 3854 else if (kvm_page_in_dirty_ring(vcpu->kvm, vmf->pgoff)) in kvm_vcpu_fault() 3857 vmf->pgoff - KVM_DIRTY_LOG_PAGE_OFFSET); in kvm_vcpu_fault() 3859 return kvm_arch_vcpu_fault(vcpu, vmf); in kvm_vcpu_fault() 3861 vmf->page = page; in kvm_vcpu_fault()
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_bo.c | 716 static vm_fault_t vc4_fault(struct vm_fault *vmf) in vc4_fault() argument 718 struct vm_area_struct *vma = vmf->vma; in vc4_fault()
|
/openbmc/linux/include/linux/ |
H A D | buffer_head.h | 281 int block_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf,
|
H A D | mm_types.h | 1235 struct vm_fault *vmf);
|
/openbmc/linux/arch/arc/mm/ |
H A D | tlb.c | 472 void update_mmu_cache_range(struct vm_fault *vmf, struct vm_area_struct *vma, in update_mmu_cache_range() argument
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | pgtable.h | 406 #define update_mmu_cache_range(vmf, vma, addr, ptep, nr) __update_cache(*ptep) argument
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_drv.h | 1406 vm_fault_t vmw_bo_vm_fault(struct vm_fault *vmf); 1407 vm_fault_t vmw_bo_vm_mkwrite(struct vm_fault *vmf);
|
/openbmc/linux/ipc/ |
H A D | shm.c | 534 static vm_fault_t shm_fault(struct vm_fault *vmf) in shm_fault() argument 536 struct file *file = vmf->vma->vm_file; in shm_fault() 539 return sfd->vm_ops->fault(vmf); in shm_fault()
|
/openbmc/linux/fs/f2fs/ |
H A D | file.c | 39 static vm_fault_t f2fs_filemap_fault(struct vm_fault *vmf) in f2fs_filemap_fault() argument 41 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_filemap_fault() 44 ret = filemap_fault(vmf); in f2fs_filemap_fault() 49 trace_f2fs_filemap_fault(inode, vmf->pgoff, (unsigned long)ret); in f2fs_filemap_fault() 54 static vm_fault_t f2fs_vm_page_mkwrite(struct vm_fault *vmf) in f2fs_vm_page_mkwrite() argument 56 struct page *page = vmf->page; in f2fs_vm_page_mkwrite() 57 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_vm_page_mkwrite() 103 file_update_time(vmf->vma->vm_file); in f2fs_vm_page_mkwrite()
|
/openbmc/linux/drivers/target/ |
H A D | target_core_user.c | 1882 static vm_fault_t tcmu_vma_fault(struct vm_fault *vmf) in tcmu_vma_fault() argument 1884 struct tcmu_dev *udev = vmf->vma->vm_private_data; in tcmu_vma_fault() 1891 int mi = tcmu_find_mem_index(vmf->vma); in tcmu_vma_fault() 1899 offset = (vmf->pgoff - mi) << PAGE_SHIFT; in tcmu_vma_fault() 1917 vmf->page = page; in tcmu_vma_fault()
|
/openbmc/linux/fs/iomap/ |
H A D | buffered-io.c | 1438 vm_fault_t iomap_page_mkwrite(struct vm_fault *vmf, const struct iomap_ops *ops) in iomap_page_mkwrite() argument 1441 .inode = file_inode(vmf->vma->vm_file), in iomap_page_mkwrite() 1444 struct folio *folio = page_folio(vmf->page); in iomap_page_mkwrite()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | pgtable.h | 458 static inline void update_mmu_cache_range(struct vm_fault *vmf, in update_mmu_cache_range() argument
|
/openbmc/linux/mm/ |
H A D | nommu.c | 1639 vm_fault_t filemap_fault(struct vm_fault *vmf) in filemap_fault() argument 1646 vm_fault_t filemap_map_pages(struct vm_fault *vmf, in filemap_map_pages() argument
|
/openbmc/linux/drivers/scsi/ |
H A D | sg.c | 1222 sg_vma_fault(struct vm_fault *vmf) in sg_vma_fault() argument 1224 struct vm_area_struct *vma = vmf->vma; in sg_vma_fault() 1233 offset = vmf->pgoff << PAGE_SHIFT; in sg_vma_fault() 1248 vmf->page = page; in sg_vma_fault()
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | vcpu.c | 209 vm_fault_t kvm_arch_vcpu_fault(struct kvm_vcpu *vcpu, struct vm_fault *vmf) in kvm_arch_vcpu_fault() argument
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | pgtable.h | 581 static inline void update_mmu_cache_range(struct vm_fault *vmf, argument
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 874 static vm_fault_t qib_file_vma_fault(struct vm_fault *vmf) in qib_file_vma_fault() argument 878 page = vmalloc_to_page((void *)(vmf->pgoff << PAGE_SHIFT)); in qib_file_vma_fault() 883 vmf->page = page; in qib_file_vma_fault()
|
/openbmc/linux/kernel/events/ |
H A D | core.c | 6187 static vm_fault_t perf_mmap_fault(struct vm_fault *vmf) in perf_mmap_fault() argument 6189 struct perf_event *event = vmf->vma->vm_file->private_data; in perf_mmap_fault() 6193 if (vmf->flags & FAULT_FLAG_MKWRITE) { in perf_mmap_fault() 6194 if (vmf->pgoff == 0) in perf_mmap_fault() 6204 if (vmf->pgoff && (vmf->flags & FAULT_FLAG_WRITE)) in perf_mmap_fault() 6207 vmf->page = perf_mmap_to_page(rb, vmf->pgoff); in perf_mmap_fault() 6208 if (!vmf->page) in perf_mmap_fault() 6211 get_page(vmf->page); in perf_mmap_fault() 6212 vmf->page->mapping = vmf->vma->vm_file->f_mapping; in perf_mmap_fault() 6213 vmf->page->index = vmf->pgoff; in perf_mmap_fault()
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | pgtable.h | 477 static inline void update_mmu_cache_range(struct vm_fault *vmf, in update_mmu_cache_range() argument
|
/openbmc/linux/Documentation/core-api/ |
H A D | cachetlb.rst | 91 5) ``void update_mmu_cache_range(struct vm_fault *vmf, 101 a NULL "vmf".
|
/openbmc/linux/fs/fuse/ |
H A D | file.c | 2443 static vm_fault_t fuse_page_mkwrite(struct vm_fault *vmf) in fuse_page_mkwrite() argument 2445 struct page *page = vmf->page; in fuse_page_mkwrite() 2446 struct inode *inode = file_inode(vmf->vma->vm_file); in fuse_page_mkwrite() 2448 file_update_time(vmf->vma->vm_file); in fuse_page_mkwrite()
|