/openbmc/linux/arch/mips/kvm/ |
H A D | mmu.c | 511 bool write_fault, in _kvm_mips_map_page_fast() argument 537 if (write_fault && !pte_dirty(*ptep)) { in _kvm_mips_map_page_fast() 587 bool write_fault, in kvm_mips_map_page() argument 602 err = _kvm_mips_map_page_fast(vcpu, gpa, write_fault, out_entry, in kvm_mips_map_page() 632 pfn = gfn_to_pfn_prot(kvm, gfn, write_fault, &writeable); in kvm_mips_map_page() 658 if (write_fault) { in kvm_mips_map_page() 685 bool write_fault) in kvm_mips_handle_vz_root_tlb_fault() argument 689 ret = kvm_mips_map_page(vcpu, badvaddr, write_fault, NULL, NULL); in kvm_mips_handle_vz_root_tlb_fault()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_file.c | 1329 bool write_fault, in xfs_dax_fault() argument 1333 (write_fault && !vmf->cow_page) ? in xfs_dax_fault() 1342 bool write_fault, in xfs_dax_fault() argument 1364 bool write_fault) in __xfs_filemap_fault() argument 1371 trace_xfs_filemap_fault(ip, order, write_fault); in __xfs_filemap_fault() 1373 if (write_fault) { in __xfs_filemap_fault() 1378 if (IS_DAX(inode) || write_fault) in __xfs_filemap_fault() 1384 ret = xfs_dax_fault(vmf, order, write_fault, &pfn); in __xfs_filemap_fault() 1387 } else if (write_fault) { in __xfs_filemap_fault() 1396 if (write_fault) in __xfs_filemap_fault()
|
H A D | xfs_trace.h | 807 TP_PROTO(struct xfs_inode *ip, unsigned int order, bool write_fault), 808 TP_ARGS(ip, order, write_fault), 813 __field(bool, write_fault) 819 __entry->write_fault = write_fault; 825 __entry->write_fault)
|
/openbmc/linux/arch/x86/kvm/mmu/ |
H A D | paging_tmpl.h | 200 gpa_t addr, int write_fault) in FNAME() 221 if (level == walker->level && write_fault && in FNAME() 317 const int write_fault = access & PFERR_WRITE_MASK; in FNAME() local 454 if (!write_fault) in FNAME() 467 addr, write_fault); in FNAME() 477 errcode |= write_fault | user_fault; in FNAME() 502 if (write_fault) in FNAME()
|
H A D | mmu.c | 2915 bool write_fault = fault && fault->write; in mmu_set_spte() local 2953 if (write_fault) in mmu_set_spte()
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_svm.h | 176 bool write_fault); 226 uint64_t addr, bool write_fault) in svm_range_restore_pages() argument
|
H A D | kfd_smi_events.h | 33 unsigned long address, bool write_fault,
|
H A D | kfd_smi_events.c | 254 unsigned long address, bool write_fault, in kfd_smi_event_page_fault_start() argument 259 address, node->id, write_fault ? 'W' : 'R'); in kfd_smi_event_page_fault_start()
|
H A D | kfd_svm.c | 2900 svm_fault_allowed(struct vm_area_struct *vma, bool write_fault) in svm_fault_allowed() argument 2904 if (write_fault) in svm_fault_allowed() 2915 uint64_t addr, bool write_fault) in svm_range_restore_pages() argument 3030 if (!svm_fault_allowed(vma, write_fault)) { in svm_range_restore_pages() 3032 write_fault ? "write" : "read"); in svm_range_restore_pages() 3050 write_fault, timestamp); in svm_range_restore_pages()
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | mmu.c | 1399 bool write_fault, writable, force_pte = false; in user_mem_abort() local 1416 write_fault = kvm_is_write_fault(vcpu); in user_mem_abort() 1418 VM_BUG_ON(write_fault && exec_fault); in user_mem_abort() 1420 if (fault_status == ESR_ELx_FSC_PERM && !write_fault && !exec_fault) { in user_mem_abort() 1432 (logging_active && write_fault)) { in user_mem_abort() 1508 write_fault, &writable, NULL); in user_mem_abort() 1528 } else if (logging_active && !write_fault) { in user_mem_abort() 1644 bool is_iabt, write_fault, writable; in kvm_handle_guest_abort() local 1703 write_fault = kvm_is_write_fault(vcpu); in kvm_handle_guest_abort() 1704 if (kvm_is_error_hva(hva) || (write_fault && !writable)) { in kvm_handle_guest_abort()
|
/openbmc/linux/virt/kvm/ |
H A D | kvm_mm.h | 24 bool *async, bool write_fault, bool *writable);
|
H A D | kvm_main.c | 2515 static bool hva_to_pfn_fast(unsigned long addr, bool write_fault, in hva_to_pfn_fast() argument 2525 if (!(write_fault || writable)) in hva_to_pfn_fast() 2543 static int hva_to_pfn_slow(unsigned long addr, bool *async, bool write_fault, in hva_to_pfn_slow() argument 2564 *writable = write_fault; in hva_to_pfn_slow() 2566 if (write_fault) in hva_to_pfn_slow() 2578 if (unlikely(!write_fault) && writable) { in hva_to_pfn_slow() 2591 static bool vma_is_valid(struct vm_area_struct *vma, bool write_fault) in vma_is_valid() argument 2596 if (write_fault && (unlikely(!(vma->vm_flags & VM_WRITE)))) in vma_is_valid() 2613 unsigned long addr, bool write_fault, in hva_to_pfn_remapped() argument 2630 (write_fault ? FAULT_FLAG_WRITE : 0), in hva_to_pfn_remapped() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm.h | 473 bool write_fault);
|
H A D | gmc_v10_0.c | 109 bool write_fault = !!(entry->src_data[1] & 0x20); in gmc_v10_0_process_interrupt() local 137 if (amdgpu_vm_handle_fault(adev, entry->pasid, 0, 0, addr, write_fault)) in gmc_v10_0_process_interrupt()
|
H A D | gmc_v9_0.c | 551 bool write_fault = !!(entry->src_data[1] & 0x20); in gmc_v9_0_process_interrupt() local 597 addr, write_fault); in gmc_v9_0_process_interrupt() 620 addr, write_fault)) in gmc_v9_0_process_interrupt()
|
H A D | amdgpu_vm.c | 2574 bool write_fault) in amdgpu_vm_handle_fault() argument 2599 node_id, addr, write_fault)) { in amdgpu_vm_handle_fault()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-iommu.c | 1146 bool read_fault, write_fault; in virtio_iommu_translate() local 1240 write_fault = (flag & IOMMU_WO) && in virtio_iommu_translate() 1244 flags |= write_fault ? VIRTIO_IOMMU_FAULT_F_WRITE : 0; in virtio_iommu_translate()
|
/openbmc/linux/tools/testing/selftests/user_events/ |
H A D | ftrace_test.c | 389 TEST_F(user, write_fault) { in TEST_F() argument
|
/openbmc/linux/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 514 bool write_fault) in follow_fault_pfn() argument 527 (write_fault ? FAULT_FLAG_WRITE : 0), in follow_fault_pfn() 542 if (write_fault && !pte_write(pte)) in follow_fault_pfn()
|
/openbmc/linux/include/linux/ |
H A D | kvm_host.h | 1181 kvm_pfn_t gfn_to_pfn_prot(struct kvm *kvm, gfn_t gfn, bool write_fault, 1187 bool write_fault, bool *writable, hva_t *hva);
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | kvm_host.h | 790 struct kvm_vcpu *vcpu, bool write_fault);
|