Home
last modified time | relevance | path

Searched refs:write_fault (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.h178 bool write_fault);
228 uint64_t addr, uint64_t ts, bool write_fault) in svm_range_restore_pages() argument
H A Dkfd_smi_events.c265 unsigned long address, bool write_fault, in kfd_smi_event_page_fault_start() argument
270 address, node->id, write_fault ? 'W' : 'R')); in kfd_smi_event_page_fault_start()
H A Dkfd_svm.c2936 svm_fault_allowed(struct vm_area_struct *vma, bool write_fault) in svm_fault_allowed() argument
2940 if (write_fault) in svm_fault_allowed()
2951 uint64_t addr, uint64_t ts, bool write_fault) in svm_range_restore_pages() argument
3087 if (!svm_fault_allowed(vma, write_fault)) { in svm_range_restore_pages()
3089 write_fault ? "write" : "read"); in svm_range_restore_pages()
3107 write_fault, timestamp); in svm_range_restore_pages()
/linux/virt/kvm/
H A Dkvm_mm.h
H A Dkvm_main.c2845 static bool vma_is_valid(struct vm_area_struct *vma, bool write_fault) in vma_is_valid() argument
2850 if (write_fault && (unlikely(!(vma->vm_flags & VM_WRITE)))) in vma_is_valid()
2860 bool write_fault = kfp->flags & FOLL_WRITE; in hva_to_pfn_remapped() local
2879 (write_fault ? FAULT_FLAG_WRITE : 0), in hva_to_pfn_remapped()
2891 if (write_fault && !args.writable) { in hva_to_pfn_remapped()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgmc_v10_0.c107 bool write_fault = !!(entry->src_data[1] & 0x20); in gmc_v10_0_process_interrupt() local
136 entry->timestamp, write_fault)) in gmc_v10_0_process_interrupt()
H A Damdgpu_vm.h572 bool write_fault);
H A Dgmc_v9_0.c550 bool write_fault = !!(entry->src_data[1] & 0x20); in gmc_v9_0_process_interrupt() local
598 addr, entry->timestamp, write_fault); in gmc_v9_0_process_interrupt()
621 addr, entry->timestamp, write_fault)) in gmc_v9_0_process_interrupt()
H A Damdgpu_vm.c2794 bool write_fault) in amdgpu_vm_handle_fault() argument
2819 node_id, addr, ts, write_fault)) { in amdgpu_vm_handle_fault()
/linux/arch/arm64/kvm/
H A Dnested.c724 bool write_fault = kvm_is_write_fault(vcpu); in kvm_s2_handle_perm_fault() local
726 forward_fault = ((write_fault && !trans->writable) || in kvm_s2_handle_perm_fault()
727 (!write_fault && !trans->readable)); in kvm_s2_handle_perm_fault()
/linux/fs/xfs/
H A Dxfs_file.c1426 bool write_fault) in xfs_dax_fault_locked() argument
1436 (write_fault && !vmf->cow_page) ? in xfs_dax_fault_locked()
/linux/tools/testing/selftests/user_events/
H A Dftrace_test.c397 TEST_F(user, write_fault) { in TEST_F() argument
/linux/drivers/vfio/
H A Dvfio_iommu_type1.c513 bool write_fault) in follow_fault_pfn() argument
524 (write_fault ? FAULT_FLAG_WRITE : 0), in follow_fault_pfn()
537 if (write_fault && !args.writable) in follow_fault_pfn()
/linux/arch/mips/include/asm/
H A Dkvm_host.h790 struct kvm_vcpu *vcpu, bool write_fault);
/linux/arch/x86/kvm/mmu/
H A Dmmu.c2833 bool write_fault = fault && fault->write; in mmu_set_spte() local
2873 if (wrprot && write_fault) in mmu_set_spte()