Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/kvm/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dbook3s_64_mmu_radix.c265 struct kvmppc_pte *gpte, bool data, bool iswrite) in kvmppc_mmu_radix_xlate() argument
/openbmc/linux/drivers/vfio/pci/
H A 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
H A 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()
H A 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()
H A Dvfio_pci_core.c1538 size_t count, loff_t *ppos, bool iswrite) in vfio_pci_rw() argument
1555 ret = vfio_pci_config_rw(vdev, buf, count, ppos, iswrite); in vfio_pci_rw()
1559 if (iswrite) in vfio_pci_rw()
1566 ret = vfio_pci_bar_rw(vdev, buf, count, ppos, iswrite); in vfio_pci_rw()
1570 ret = vfio_pci_vga_rw(vdev, buf, count, ppos, iswrite); in vfio_pci_rw()
1576 count, ppos, iswrite); in vfio_pci_rw()
H A 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()
/openbmc/qemu/target/arm/hvf/
H A Dtrace-events5 …l isv, bool iswrite, bool s1ptw, uint32_t len, uint32_t srt) "data abort: [pc=0x%"PRIx64" va=0x%01…
H A Dhvf.c1900 bool iswrite = (syndrome >> 6) & 1; in hvf_vcpu_exec() local
1910 iswrite, s1ptw, len, srt); in hvf_vcpu_exec()
1920 if (iswrite) { in hvf_vcpu_exec()
/openbmc/linux/include/linux/
H A Dvfio_pci_core.h32 size_t count, loff_t *ppos, bool iswrite);
/openbmc/u-boot/drivers/ata/
H A Dsata_mv.c569 u8 *buffer, u32 len, u32 iswrite) in mv_ata_exec_ata_cmd() argument
590 req->control_flags |= iswrite ? 0 : CRQB_CNTRLFLAGS_DIR; in mv_ata_exec_ata_cmd()
759 u32 len, u32 iswrite) in mv_ata_exec_ata_cmd_nondma() argument
784 if (iswrite) in mv_ata_exec_ata_cmd_nondma()
/openbmc/linux/arch/powerpc/include/asm/
H A Dkvm_book3s.h153 bool iswrite);
192 struct kvmppc_pte *gpte, bool data, bool iswrite);
H A Dkvm_host.h402 struct kvmppc_pte *pte, bool data, bool iswrite);
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A 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()
/openbmc/linux/arch/m68k/kernel/
H A Dtraps.c183 static inline unsigned long probe040(int iswrite, unsigned long addr, int wbs) in probe040() argument
189 if (iswrite) in probe040()