Home
last modified time | relevance | path

Searched refs:iswrite (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_32_mmu.c71 bool iswrite);
129 bool iswrite) in kvmppc_mmu_book3s_32_xlate_bat() argument
170 if (iswrite && !pte->may_write) { in kvmppc_mmu_book3s_32_xlate_bat()
184 bool iswrite, bool primary) in kvmppc_mmu_book3s_32_xlate_pte() argument
266 if (iswrite && pte->may_write && !(pte_r & PTEG_FLAG_DIRTY)) { in kvmppc_mmu_book3s_32_xlate_pte()
270 if (!pte->may_read || (iswrite && !pte->may_write)) in kvmppc_mmu_book3s_32_xlate_pte()
292 bool iswrite) in kvmppc_mmu_book3s_32_xlate() argument
314 r = kvmppc_mmu_book3s_32_xlate_bat(vcpu, eaddr, pte, data, iswrite); in kvmppc_mmu_book3s_32_xlate()
317 data, iswrite, true); in kvmppc_mmu_book3s_32_xlate()
320 data, iswrite, false); in kvmppc_mmu_book3s_32_xlate()
Dbook3s_32_mmu_host.c131 bool iswrite) in kvmppc_mmu_map_page() argument
148 hpaddr = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable); in kvmppc_mmu_map_page()
Dbook3s_64_mmu.c193 bool iswrite) in kvmppc_mmu_book3s_64_xlate() argument
341 if (iswrite && gpte->may_write && !(r & HPTE_R_C)) { in kvmppc_mmu_book3s_64_xlate()
351 if (!gpte->may_read || (iswrite && !gpte->may_write)) in kvmppc_mmu_book3s_64_xlate()
Dbook3s_64_mmu_host.c71 bool iswrite) in kvmppc_mmu_map_page() argument
96 pfn = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable); in kvmppc_mmu_map_page()
Dbook3s_pr.c707 bool iswrite = false; in kvmppc_handle_pagefault() local
718 iswrite = true; in kvmppc_handle_pagefault()
722 page_found = vcpu->arch.mmu.xlate(vcpu, eaddr, &pte, data, iswrite); in kvmppc_handle_pagefault()
796 if (kvmppc_mmu_map_page(vcpu, &pte, iswrite) == -EIO) { in kvmppc_handle_pagefault()
Dbook3s.c428 bool iswrite = (xlrw == XLATE_WRITE); in kvmppc_xlate() local
433 r = vcpu->arch.mmu.xlate(vcpu, eaddr, pte, data, iswrite); in kvmppc_xlate()
Dbook3s_64_mmu_hv.c332 struct kvmppc_pte *gpte, bool data, bool iswrite) in kvmppc_mmu_book3s_64_hv_xlate() argument
344 return kvmppc_mmu_radix_xlate(vcpu, eaddr, gpte, data, iswrite); in kvmppc_mmu_book3s_64_hv_xlate()
Dbook3s_64_mmu_radix.c255 struct kvmppc_pte *gpte, bool data, bool iswrite) in kvmppc_mmu_radix_xlate() argument
/Linux-v5.10/drivers/vfio/pci/
Dvfio_pci_rdwr.c100 size_t x_end, bool iswrite) in do_io_rw() argument
118 if (iswrite) { in do_io_rw()
140 if (iswrite) { in do_io_rw()
162 if (iswrite) { in do_io_rw()
184 if (!iswrite) { in do_io_rw()
228 size_t count, loff_t *ppos, bool iswrite) in vfio_pci_bar_rw() argument
280 count, x_start, x_end, iswrite); in vfio_pci_bar_rw()
292 size_t count, loff_t *ppos, bool iswrite) in vfio_pci_vga_rw() argument
347 done = do_io_rw(vdev, false, iomem, buf, off, count, 0, 0, iswrite); in vfio_pci_vga_rw()
Dvfio_pci_private.h60 size_t count, loff_t *ppos, bool iswrite);
162 loff_t *ppos, bool iswrite);
165 size_t count, loff_t *ppos, bool iswrite);
168 size_t count, loff_t *ppos, bool iswrite);
Dvfio_pci_igd.c25 size_t count, loff_t *ppos, bool iswrite) in vfio_pci_igd_rw() argument
31 if (pos >= vdev->region[i].size || iswrite) in vfio_pci_igd_rw()
112 bool iswrite) in vfio_pci_igd_cfg_rw() argument
120 if (pos >= vdev->region[i].size || iswrite) in vfio_pci_igd_cfg_rw()
Dvfio_pci_nvlink2.c43 char __user *buf, size_t count, loff_t *ppos, bool iswrite) in vfio_pci_nvgpu_rw() argument
75 if (iswrite) { in vfio_pci_nvgpu_rw()
308 char __user *buf, size_t count, loff_t *ppos, bool iswrite) in vfio_pci_npu2_rw() argument
319 if (iswrite) { in vfio_pci_npu2_rw()
Dvfio_pci.c1410 size_t count, loff_t *ppos, bool iswrite) in vfio_pci_rw() argument
1420 return vfio_pci_config_rw(vdev, buf, count, ppos, iswrite); in vfio_pci_rw()
1423 if (iswrite) in vfio_pci_rw()
1428 return vfio_pci_bar_rw(vdev, buf, count, ppos, iswrite); in vfio_pci_rw()
1431 return vfio_pci_vga_rw(vdev, buf, count, ppos, iswrite); in vfio_pci_rw()
1435 count, ppos, iswrite); in vfio_pci_rw()
Dvfio_pci_config.c1806 size_t count, loff_t *ppos, bool iswrite) in vfio_config_do_rw() argument
1865 if (iswrite) { in vfio_config_do_rw()
1889 size_t count, loff_t *ppos, bool iswrite) in vfio_pci_config_rw() argument
1898 ret = vfio_config_do_rw(vdev, buf, count, &pos, iswrite); in vfio_pci_config_rw()
/Linux-v5.10/arch/powerpc/include/asm/
Dkvm_book3s.h153 bool iswrite);
192 struct kvmppc_pte *gpte, bool data, bool iswrite);
Dkvm_host.h411 struct kvmppc_pte *pte, bool data, bool iswrite);
/Linux-v5.10/drivers/gpu/drm/i915/gvt/
Dkvmgt.c67 size_t count, loff_t *ppos, bool iswrite);
450 size_t count, loff_t *ppos, bool iswrite) in intel_vgpu_reg_rw_opregion() argument
459 if (pos >= vdev->region[i].size || iswrite) { in intel_vgpu_reg_rw_opregion()
551 size_t count, loff_t *ppos, bool iswrite) in intel_vgpu_reg_rw_edid() argument
561 ret = handle_edid_regs(vgpu, region, buf, count, pos, iswrite); in intel_vgpu_reg_rw_edid()
564 ret = handle_edid_blob(region, buf, count, pos, iswrite); in intel_vgpu_reg_rw_edid()
/Linux-v5.10/arch/m68k/kernel/
Dtraps.c181 static inline unsigned long probe040(int iswrite, unsigned long addr, int wbs) in probe040() argument
188 if (iswrite) in probe040()