Home
last modified time | relevance | path

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

/linux-6.6.21/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
340 if (iswrite && gpte->may_write && !(r & HPTE_R_C)) { in kvmppc_mmu_book3s_64_xlate()
350 if (!gpte->may_read || (iswrite && !gpte->may_write)) in kvmppc_mmu_book3s_64_xlate()
Dbook3s_64_mmu_host.c72 bool iswrite) in kvmppc_mmu_map_page() argument
97 pfn = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable); in kvmppc_mmu_map_page()
Dbook3s_pr.c691 bool iswrite = false; in kvmppc_handle_pagefault() local
702 iswrite = true; in kvmppc_handle_pagefault()
706 page_found = vcpu->arch.mmu.xlate(vcpu, eaddr, &pte, data, iswrite); in kvmppc_handle_pagefault()
780 if (kvmppc_mmu_map_page(vcpu, &pte, iswrite) == -EIO) { in kvmppc_handle_pagefault()
Dbook3s.c458 bool iswrite = (xlrw == XLATE_WRITE); in kvmppc_xlate() local
463 r = vcpu->arch.mmu.xlate(vcpu, eaddr, pte, data, iswrite); in kvmppc_xlate()
Dbook3s_64_mmu_hv.c342 struct kvmppc_pte *gpte, bool data, bool iswrite) in kvmppc_mmu_book3s_64_hv_xlate() argument
354 return kvmppc_mmu_radix_xlate(vcpu, eaddr, gpte, data, iswrite); in kvmppc_mmu_book3s_64_hv_xlate()
Dbook3s_64_mmu_radix.c265 struct kvmppc_pte *gpte, bool data, bool iswrite) in kvmppc_mmu_radix_xlate() argument
/linux-6.6.21/drivers/vfio/pci/
Dvfio_pci_priv.h34 size_t count, loff_t *ppos, bool iswrite);
37 size_t count, loff_t *ppos, bool iswrite);
41 size_t count, loff_t *ppos, bool iswrite);
45 loff_t *ppos, bool iswrite) in vfio_pci_vga_rw() argument
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()
293 size_t count, loff_t *ppos, bool iswrite) in vfio_pci_vga_rw() argument
348 done = do_io_rw(vdev, false, iomem, buf, off, count, 0, 0, iswrite); in vfio_pci_vga_rw()
Dvfio_pci_igd.c66 bool iswrite) in vfio_pci_igd_rw() argument
73 if (pos >= vdev->region[i].size || iswrite) in vfio_pci_igd_rw()
283 bool iswrite) in vfio_pci_igd_cfg_rw() argument
291 if (pos >= vdev->region[i].size || iswrite) in vfio_pci_igd_cfg_rw()
Dvfio_pci_core.c1518 size_t count, loff_t *ppos, bool iswrite) in vfio_pci_rw() argument
1535 ret = vfio_pci_config_rw(vdev, buf, count, ppos, iswrite); in vfio_pci_rw()
1539 if (iswrite) in vfio_pci_rw()
1546 ret = vfio_pci_bar_rw(vdev, buf, count, ppos, iswrite); in vfio_pci_rw()
1550 ret = vfio_pci_vga_rw(vdev, buf, count, ppos, iswrite); in vfio_pci_rw()
1556 count, ppos, iswrite); in vfio_pci_rw()
Dvfio_pci_config.c1863 size_t count, loff_t *ppos, bool iswrite) in vfio_config_do_rw() argument
1922 if (iswrite) { in vfio_config_do_rw()
1946 size_t count, loff_t *ppos, bool iswrite) in vfio_pci_config_rw() argument
1955 ret = vfio_config_do_rw(vdev, buf, count, &pos, iswrite); in vfio_pci_config_rw()
/linux-6.6.21/include/linux/
Dvfio_pci_core.h32 size_t count, loff_t *ppos, bool iswrite);
/linux-6.6.21/arch/powerpc/include/asm/
Dkvm_book3s.h153 bool iswrite);
192 struct kvmppc_pte *gpte, bool data, bool iswrite);
Dkvm_host.h402 struct kvmppc_pte *pte, bool data, bool iswrite);
/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Dkvmgt.c72 size_t count, loff_t *ppos, bool iswrite);
400 size_t count, loff_t *ppos, bool iswrite) in intel_vgpu_reg_rw_opregion() argument
408 if (pos >= vgpu->region[i].size || iswrite) { in intel_vgpu_reg_rw_opregion()
500 size_t count, loff_t *ppos, bool iswrite) in intel_vgpu_reg_rw_edid() argument
509 ret = handle_edid_regs(vgpu, region, buf, count, pos, iswrite); in intel_vgpu_reg_rw_edid()
512 ret = handle_edid_blob(region, buf, count, pos, iswrite); in intel_vgpu_reg_rw_edid()
/linux-6.6.21/arch/m68k/kernel/
Dtraps.c183 static inline unsigned long probe040(int iswrite, unsigned long addr, int wbs) in probe040() argument
189 if (iswrite) in probe040()