/openbmc/linux/fs/ceph/ |
H A D | addr.c | 1589 static vm_fault_t ceph_filemap_fault(struct vm_fault *vmf) in ceph_filemap_fault() argument 1591 struct vm_area_struct *vma = vmf->vma; in ceph_filemap_fault() 1595 loff_t off = (loff_t)vmf->pgoff << PAGE_SHIFT; in ceph_filemap_fault() 1624 ret = filemap_fault(vmf); in ceph_filemap_fault() 1664 vmf->page = page; in ceph_filemap_fault() 1679 static vm_fault_t ceph_page_mkwrite(struct vm_fault *vmf) in ceph_page_mkwrite() argument 1681 struct vm_area_struct *vma = vmf->vma; in ceph_page_mkwrite() 1686 struct page *page = vmf->page; in ceph_page_mkwrite()
|
/openbmc/linux/mm/ |
H A D | shmem.c | 1615 struct vm_fault vmf = { in shmem_swapin() local 1620 page = swap_cluster_readahead(swap, gfp, &vmf); in shmem_swapin() 1951 struct vm_area_struct *vma, struct vm_fault *vmf, in shmem_get_folio_gfp() argument 1980 *fault_type = handle_userfault(vmf, VM_UFFD_MINOR); in shmem_get_folio_gfp() 2181 static vm_fault_t shmem_fault(struct vm_fault *vmf) in shmem_fault() argument 2183 struct vm_area_struct *vma = vmf->vma; in shmem_fault() 2214 vmf->pgoff >= shmem_falloc->start && in shmem_fault() 2215 vmf->pgoff < shmem_falloc->next) { in shmem_fault() 2221 fpin = maybe_unlock_mmap_for_io(vmf, NULL); in shmem_fault() 2250 gfp, vma, vmf, &ret); in shmem_fault() [all …]
|
H A D | mmap.c | 3451 static vm_fault_t special_mapping_fault(struct vm_fault *vmf); 3504 static vm_fault_t special_mapping_fault(struct vm_fault *vmf) in special_mapping_fault() argument 3506 struct vm_area_struct *vma = vmf->vma; in special_mapping_fault() 3516 return sm->fault(sm, vmf->vma, vmf); in special_mapping_fault() 3521 for (pgoff = vmf->pgoff; pgoff && *pages; ++pages) in special_mapping_fault() 3527 vmf->page = page; in special_mapping_fault()
|
/openbmc/linux/drivers/scsi/cxlflash/ |
H A D | ocxl_hw.c | 1125 static vm_fault_t ocxlflash_mmap_fault(struct vm_fault *vmf) in ocxlflash_mmap_fault() argument 1127 struct vm_area_struct *vma = vmf->vma; in ocxlflash_mmap_fault() 1132 offset = vmf->pgoff << PAGE_SHIFT; in ocxlflash_mmap_fault() 1148 return vmf_insert_pfn(vma, vmf->address, mmio_area >> PAGE_SHIFT); in ocxlflash_mmap_fault()
|
/openbmc/linux/drivers/usb/mon/ |
H A D | mon_bin.c | 1248 static vm_fault_t mon_bin_vma_fault(struct vm_fault *vmf) in mon_bin_vma_fault() argument 1250 struct mon_reader_bin *rp = vmf->vma->vm_private_data; in mon_bin_vma_fault() 1256 offset = vmf->pgoff << PAGE_SHIFT; in mon_bin_vma_fault() 1264 vmf->page = pageptr; in mon_bin_vma_fault()
|
/openbmc/linux/fs/proc/ |
H A D | vmcore.c | 424 static vm_fault_t mmap_vmcore_fault(struct vm_fault *vmf) in mmap_vmcore_fault() argument 427 struct address_space *mapping = vmf->vma->vm_file->f_mapping; in mmap_vmcore_fault() 428 pgoff_t index = vmf->pgoff; in mmap_vmcore_fault() 453 vmf->page = page; in mmap_vmcore_fault()
|
/openbmc/linux/arch/nios2/include/asm/ |
H A D | pgtable.h | 283 void update_mmu_cache_range(struct vm_fault *vmf, struct vm_area_struct *vma,
|
/openbmc/linux/arch/xtensa/mm/ |
H A D | cache.c | 214 void update_mmu_cache_range(struct vm_fault *vmf, struct vm_area_struct *vma, in update_mmu_cache_range() argument
|
/openbmc/linux/sound/core/ |
H A D | pcm_native.c | 3653 static vm_fault_t snd_pcm_mmap_status_fault(struct vm_fault *vmf) in snd_pcm_mmap_status_fault() argument 3655 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_status_fault() 3661 vmf->page = virt_to_page(runtime->status); in snd_pcm_mmap_status_fault() 3662 get_page(vmf->page); in snd_pcm_mmap_status_fault() 3693 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_control_fault() 3699 vmf->page = virt_to_page(runtime->control); in snd_pcm_mmap_control_fault() 3700 get_page(vmf->page); in snd_pcm_mmap_control_fault() 3780 static vm_fault_t snd_pcm_mmap_data_fault(struct vm_fault *vmf) in snd_pcm_mmap_data_fault() argument 3782 struct snd_pcm_substream *substream = vmf->vma->vm_private_data; in snd_pcm_mmap_data_fault() 3791 offset = vmf->pgoff << PAGE_SHIFT; in snd_pcm_mmap_data_fault() [all …]
|
/openbmc/linux/drivers/misc/sgi-gru/ |
H A D | grumain.c | 925 vm_fault_t gru_fault(struct vm_fault *vmf) in gru_fault() argument 927 struct vm_area_struct *vma = vmf->vma; in gru_fault() 932 vaddr = vmf->address; in gru_fault()
|
/openbmc/linux/arch/x86/kernel/cpu/sgx/ |
H A D | encl.c | 430 static vm_fault_t sgx_vma_fault(struct vm_fault *vmf) in sgx_vma_fault() argument 432 unsigned long addr = (unsigned long)vmf->address; in sgx_vma_fault() 433 struct vm_area_struct *vma = vmf->vma; in sgx_vma_fault()
|
/openbmc/linux/include/linux/ |
H A D | pagemap.h | 1019 vm_fault_t __folio_lock_or_retry(struct folio *folio, struct vm_fault *vmf); 1124 struct vm_fault *vmf) in folio_lock_or_retry() argument 1128 return __folio_lock_or_retry(folio, vmf); in folio_lock_or_retry()
|
H A D | iomap.h | 278 vm_fault_t iomap_page_mkwrite(struct vm_fault *vmf,
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | pgtable.h | 266 void update_mmu_cache_range(struct vm_fault *vmf, struct vm_area_struct *vma,
|
/openbmc/linux/fs/afs/ |
H A D | write.c | 910 vm_fault_t afs_page_mkwrite(struct vm_fault *vmf) in afs_page_mkwrite() argument 912 struct folio *folio = page_folio(vmf->page); in afs_page_mkwrite() 913 struct file *file = vmf->vma->vm_file; in afs_page_mkwrite()
|
/openbmc/linux/arch/nios2/mm/ |
H A D | cacheflush.c | 209 void update_mmu_cache_range(struct vm_fault *vmf, struct vm_area_struct *vma, in update_mmu_cache_range() argument
|
/openbmc/linux/arch/um/include/asm/ |
H A D | pgtable.h | 289 #define update_mmu_cache_range(vmf, vma, address, ptep, nr) do {} while (0) argument
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | pgtable.h | 306 static inline void update_mmu_cache_range(struct vm_fault *vmf, in update_mmu_cache_range() argument
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | pgtable_32.h | 320 #define update_mmu_cache_range(vmf, vma, address, ptep, nr) do { } while (0) argument
|
/openbmc/linux/arch/openrisc/include/asm/ |
H A D | pgtable.h | 383 static inline void update_mmu_cache_range(struct vm_fault *vmf, in update_mmu_cache_range() argument
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | pgtable.h | 406 void update_mmu_cache_range(struct vm_fault *vmf, struct vm_area_struct *vma,
|
/openbmc/linux/fs/ubifs/ |
H A D | file.c | 1493 static vm_fault_t ubifs_vm_page_mkwrite(struct vm_fault *vmf) in ubifs_vm_page_mkwrite() argument 1495 struct page *page = vmf->page; in ubifs_vm_page_mkwrite() 1496 struct inode *inode = file_inode(vmf->vma->vm_file); in ubifs_vm_page_mkwrite()
|
/openbmc/linux/drivers/vhost/ |
H A D | vdpa.c | 1380 static vm_fault_t vhost_vdpa_fault(struct vm_fault *vmf) in vhost_vdpa_fault() argument 1382 struct vhost_vdpa *v = vmf->vma->vm_file->private_data; in vhost_vdpa_fault() 1386 struct vm_area_struct *vma = vmf->vma; in vhost_vdpa_fault() 1391 return vmf_insert_pfn(vma, vmf->address & PAGE_MASK, PFN_DOWN(notify.addr)); in vhost_vdpa_fault()
|
/openbmc/linux/security/selinux/ |
H A D | selinuxfs.c | 445 static vm_fault_t sel_mmap_policy_fault(struct vm_fault *vmf) in sel_mmap_policy_fault() argument 447 struct policy_load_memory *plm = vmf->vma->vm_file->private_data; in sel_mmap_policy_fault() 451 if (vmf->flags & (FAULT_FLAG_MKWRITE | FAULT_FLAG_WRITE)) in sel_mmap_policy_fault() 454 offset = vmf->pgoff << PAGE_SHIFT; in sel_mmap_policy_fault() 461 vmf->page = page; in sel_mmap_policy_fault()
|
/openbmc/linux/fs/btrfs/ |
H A D | btrfs_inode.h | 474 vm_fault_t btrfs_page_mkwrite(struct vm_fault *vmf);
|