Searched refs:write_fault (Results 1 – 15 of 15) sorted by relevance
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_svm.h | 178 bool write_fault); 228 uint64_t addr, uint64_t ts, bool write_fault) in svm_range_restore_pages() argument
|
H A D | kfd_smi_events.c | 265 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 D | kfd_svm.c | 2936 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 D | kvm_mm.h |
|
H A D | kvm_main.c | 2845 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 D | gmc_v10_0.c | 107 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 D | amdgpu_vm.h | 572 bool write_fault);
|
H A D | gmc_v9_0.c | 550 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 D | amdgpu_vm.c | 2794 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 D | nested.c | 724 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 D | xfs_file.c | 1426 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 D | ftrace_test.c | 397 TEST_F(user, write_fault) { in TEST_F() argument
|
/linux/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 513 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 D | kvm_host.h | 790 struct kvm_vcpu *vcpu, bool write_fault);
|
/linux/arch/x86/kvm/mmu/ |
H A D | mmu.c | 2833 bool write_fault = fault && fault->write; in mmu_set_spte() local 2873 if (wrprot && write_fault) in mmu_set_spte()
|