Home
last modified time | relevance | path

Searched refs:vmf (Results 126 – 150 of 171) sorted by relevance

1234567

/openbmc/linux/drivers/scsi/cxlflash/
H A Dsuperpipe.c1103 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 Dcmt_speech.c1087 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 Dgrutables.h649 extern vm_fault_t gru_fault(struct vm_fault *vmf);
/openbmc/linux/arch/ia64/include/asm/
H A Dpgtable.h398 #define update_mmu_cache_range(vmf, vma, address, ptep, nr) do { } while (0) argument
/openbmc/linux/virt/kvm/
H A Dkvm_main.c3839 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 Dvc4_bo.c716 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 Dbuffer_head.h281 int block_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf,
H A Dmm_types.h1235 struct vm_fault *vmf);
/openbmc/linux/arch/arc/mm/
H A Dtlb.c472 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 Dpgtable.h406 #define update_mmu_cache_range(vmf, vma, addr, ptep, nr) __update_cache(*ptep) argument
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_drv.h1406 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 Dshm.c534 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 Dfile.c39 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 Dtarget_core_user.c1882 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 Dbuffered-io.c1438 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 Dpgtable.h458 static inline void update_mmu_cache_range(struct vm_fault *vmf, in update_mmu_cache_range() argument
/openbmc/linux/mm/
H A Dnommu.c1639 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 Dsg.c1222 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 Dvcpu.c209 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 Dpgtable.h581 static inline void update_mmu_cache_range(struct vm_fault *vmf, argument
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_file_ops.c874 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 Dcore.c6187 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 Dpgtable.h477 static inline void update_mmu_cache_range(struct vm_fault *vmf, in update_mmu_cache_range() argument
/openbmc/linux/Documentation/core-api/
H A Dcachetlb.rst91 5) ``void update_mmu_cache_range(struct vm_fault *vmf,
101 a NULL "vmf".
/openbmc/linux/fs/fuse/
H A Dfile.c2443 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()

1234567