Home
last modified time | relevance | path

Searched refs:is_write (Results 26 – 50 of 196) sorted by relevance

12345678

/openbmc/qemu/hw/remote/
H A Dvfio-user-obj.c266 const bool is_write) in vfu_object_cfg_access() argument
283 if (is_write) { in vfu_object_cfg_access()
352 hwaddr size, const bool is_write) in vfu_object_mr_rw() argument
361 if (memory_access_is_direct(mr, is_write)) { in vfu_object_mr_rw()
370 if (is_write) { in vfu_object_mr_rw()
388 if (is_write) { in vfu_object_mr_rw()
421 hwaddr len, const bool is_write) in vfu_object_bar_rw() argument
443 if (is_write && section_mr->readonly) { in vfu_object_bar_rw()
453 section_size, is_write)) { in vfu_object_bar_rw()
456 is_write ? "write to" : "read from", bar_offset, in vfu_object_bar_rw()
[all …]
/openbmc/u-boot/drivers/ata/
H A Dfsl_sata.c548 cfis->command = (is_write) ? ATA_CMD_WRITE : ATA_CMD_READ; in fsl_sata_rw_cmd()
588 cfis->command = (is_write) ? ATA_CMD_WRITE_EXT in fsl_sata_rw_cmd_ext()
606 int is_write) in fsl_sata_rw_ncq_cmd() argument
625 cfis->command = (is_write) ? ATA_CMD_FPDMA_WRITE in fsl_sata_rw_ncq_cmd()
694 const void *buffer, int is_write) in ata_low_level_rw_lba48() argument
708 fsl_sata_rw_cmd_ext(dev, start, max_blks, addr, is_write); in ata_low_level_rw_lba48()
716 fsl_sata_rw_cmd_ext(dev, start, blks, addr, is_write); in ata_low_level_rw_lba48()
718 fsl_sata_rw_ncq_cmd(dev, start, blks, addr, is_write); in ata_low_level_rw_lba48()
729 const void *buffer, int is_write) in ata_low_level_rw_lba28() argument
742 fsl_sata_rw_cmd(dev, start, max_blks, addr, is_write); in ata_low_level_rw_lba28()
[all …]
H A Ddwc_ahsata.c370 s32 is_write) in ahci_exec_ata_cmd() argument
394 if (is_write) { in ahci_exec_ata_cmd()
412 if (!is_write) in ahci_exec_ata_cmd()
550 u32 blkcnt, u8 *buffer, int is_write) in dwc_ahsata_rw_cmd() argument
573 ATA_SECT_SIZE * blkcnt, is_write) > 0) in dwc_ahsata_rw_cmd()
656 int is_write) in ata_low_level_rw_lba48() argument
672 is_write)) in ata_low_level_rw_lba48()
679 addr, is_write)) in ata_low_level_rw_lba48()
692 int is_write) in ata_low_level_rw_lba28() argument
707 is_write)) in ata_low_level_rw_lba28()
[all …]
H A Dsata_sil.c267 u8 *buffer, int is_write) in sil_sata_rw_cmd() argument
280 if (is_write) { in sil_sata_rw_cmd()
312 u8 *buffer, int is_write) in sil_sata_rw_cmd_ext() argument
325 if (is_write) { in sil_sata_rw_cmd_ext()
360 const void *buffer, int is_write) in sil_sata_rw_lba28() argument
372 sil_sata_rw_cmd(dev, start, max_blks, addr, is_write); in sil_sata_rw_lba28()
377 sil_sata_rw_cmd(dev, start, blks, addr, is_write); in sil_sata_rw_lba28()
388 const void *buffer, int is_write) in sil_sata_rw_lba48() argument
401 addr, is_write); in sil_sata_rw_lba48()
407 addr, is_write); in sil_sata_rw_lba48()
H A Dsata_mv.c658 u8 *buffer, int is_write) in mv_sata_rw_cmd_ext() argument
669 cfis.command = (is_write) ? ATA_CMD_WRITE_EXT : ATA_CMD_READ_EXT; in mv_sata_rw_cmd_ext()
682 is_write); in mv_sata_rw_cmd_ext()
688 int is_write) in mv_sata_rw_cmd() argument
699 cfis.command = (is_write) ? ATA_CMD_WRITE : ATA_CMD_READ; in mv_sata_rw_cmd()
709 is_write); in mv_sata_rw_cmd()
715 void *buffer, int is_write) in ata_low_level_rw() argument
732 is_write); in ata_low_level_rw()
735 is_write); in ata_low_level_rw()
743 is_write); in ata_low_level_rw()
[all …]
/openbmc/qemu/block/export/
H A Dvirtio-blk-handler.c176 bool is_write = type & VIRTIO_BLK_T_OUT; in virtio_blk_process_req() local
179 if (is_write && !handler->writable) { in virtio_blk_process_req()
184 if (is_write) { in virtio_blk_process_req()
199 if (is_write) { in virtio_blk_process_req()
/openbmc/qemu/hw/fsi/
H A Daspeed-apb2opb.c162 bool is_write; in fsi_aspeed_apb2opb_write() local
196 is_write = !(op_mode & APB2OPB_OPB_MODE_RD); in fsi_aspeed_apb2opb_write()
201 &op_data, op_size, is_write); in fsi_aspeed_apb2opb_write()
204 __func__, is_write ? "write" : "read", op_addr); in fsi_aspeed_apb2opb_write()
208 if (!is_write) { in fsi_aspeed_apb2opb_write()
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic.h203 int vgic_v2_dist_uaccess(struct kvm_vcpu *vcpu, bool is_write,
205 int vgic_v2_cpuif_uaccess(struct kvm_vcpu *vcpu, bool is_write,
257 int vgic_v3_dist_uaccess(struct kvm_vcpu *vcpu, bool is_write,
259 int vgic_v3_redist_uaccess(struct kvm_vcpu *vcpu, bool is_write,
262 struct kvm_device_attr *attr, bool is_write);
264 int vgic_v3_line_level_info_uaccess(struct kvm_vcpu *vcpu, bool is_write,
/openbmc/linux/mm/kfence/
H A Dkfence_test.c86 bool is_write; /* Is access a write. */ member
91 return r->is_write ? "write" : "read"; in get_access_type()
324 .is_write = false, in test_out_of_bounds_read()
358 .is_write = true, in test_out_of_bounds_write()
376 .is_write = false, in test_use_after_free_read()
461 .is_write = false, in test_kmalloc_aligned_oob_read()
560 .is_write = false, in test_init_on_free()
648 .is_write = false, in test_invalid_access()
662 .is_write = false, in test_memcache_typesafe_by_rcu()
699 .is_write = false, in test_krealloc()
/openbmc/linux/drivers/tty/
H A Dgoldfish.c56 int is_write) in do_rw_io() argument
66 if (is_write) in do_rw_io()
79 int is_write) in goldfish_tty_rw() argument
84 dma_dir = (is_write ? DMA_TO_DEVICE : DMA_FROM_DEVICE); in goldfish_tty_rw()
109 do_rw_io(qtty, dma_handle, avail, is_write); in goldfish_tty_rw()
124 do_rw_io(qtty, addr, count, is_write); in goldfish_tty_rw()
/openbmc/qemu/include/exec/
H A Dmemory.h303 unsigned size, bool is_write,
2563 unsigned size, bool is_write,
2644 hwaddr len, bool is_write);
2726 bool is_write; member
2815 bool is_write);
2872 hwaddr *len, bool is_write,
2881 addr, xlat, len, is_write, attrs); in address_space_translate()
2901 bool is_write, MemTxAttrs attrs);
2919 hwaddr *plen, bool is_write, MemTxAttrs attrs);
2933 bool is_write, hwaddr access_len);
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dsys_regs.c253 if (!p->is_write) in pvm_access_raz_wi()
269 if (p->is_write) { in pvm_access_id_aarch32()
295 if (p->is_write) { in pvm_access_id_aarch64()
309 if (!p->is_write) in pvm_gic_read_sre()
500 if (!params.is_write) in kvm_handle_pvm_sysreg()
/openbmc/qemu/hw/net/
H A Dvmware_utils.h43 vmw_shmem_rw(PCIDevice *d, hwaddr addr, void *buf, int len, int is_write) in vmw_shmem_rw() argument
46 addr, len, buf, is_write); in vmw_shmem_rw()
48 if (is_write) in vmw_shmem_rw()
/openbmc/linux/kernel/kcsan/
H A Dselftest.c35 bool is_write = !!get_random_u32_below(2); in test_encode_decode() local
49 encoded_watchpoint = encode_watchpoint(addr, size, is_write); in test_encode_decode()
64 if (WARN_ON(is_write != verif_is_write)) in test_encode_decode()
70 __func__, is_write ? "write" : "read", size, addr, encoded_watchpoint, in test_encode_decode()
/openbmc/linux/arch/arm64/kvm/
H A Dsys_regs.h27 bool is_write; member
43 .is_write = !((esr) & 1) })
50 .is_write = !((esr) & 1) })
112 p->Op0, p->Op1, p->CRn, p->CRm, p->Op2, p->is_write ? "write" : "read"); in print_sys_reg_msg()
/openbmc/qemu/target/arm/tcg/
H A Dtranslate-a64.h32 uint32_t msz, bool is_write, uint32_t data);
53 TCGv_i64 gen_mte_check1(DisasContext *s, TCGv_i64 addr, bool is_write,
55 TCGv_i64 gen_mte_checkN(DisasContext *s, TCGv_i64 addr, bool is_write,
/openbmc/qemu/target/s390x/kvm/
H A Dkvm_s390x.h21 int len, bool is_write);
23 bool is_write);
/openbmc/linux/include/linux/
H A Dkfence.h206 bool __must_check kfence_handle_page_fault(unsigned long addr, bool is_write, struct pt_regs *regs);
235 static inline bool __must_check kfence_handle_page_fault(unsigned long addr, bool is_write, in kfence_handle_page_fault() argument
/openbmc/qemu/hw/sd/
H A Dbcm2835_sdhost.c187 int is_write; in bcm2835_sdhost_fifo_run() local
190 is_write = (s->cmd & SDCMD_WRITE_CMD) != 0; in bcm2835_sdhost_fifo_run()
191 if (s->datacnt != 0 && (is_write || sdbus_data_ready(&s->sdbus))) { in bcm2835_sdhost_fifo_run()
215 } else if (is_write) { /* write */ in bcm2835_sdhost_fifo_run()
237 if (is_write) { in bcm2835_sdhost_fifo_run()
/openbmc/qemu/hw/arm/
H A Dtrace-events37 …ar *n, uint16_t sid, uint64_t addr, bool is_write) "%s sid=0x%x bypass (smmu disabled) iova:0x%"PR…
38 …nst char *n, uint16_t sid, uint64_t addr, bool is_write) "%s sid=0x%x STE bypass iova:0x%"PRIx64"
39 …onst char *n, uint16_t sid, uint64_t addr, bool is_write) "%s sid=0x%x abort on iova:0x%"PRIx64" i…
/openbmc/linux/arch/csky/mm/
H A Dfault.c23 static inline bool is_write(struct pt_regs *regs) in is_write() function
173 if (is_write(regs)) { in access_error()
237 if (is_write(regs)) in do_page_fault()
/openbmc/linux/arch/s390/mm/
H A Dfault.c251 bool is_write; in do_no_context() local
258 is_write = fault_is_write(regs); in do_no_context()
259 if (kfence_handle_page_fault(address, is_write, regs)) in do_no_context()
367 bool is_write; in do_exception() local
381 is_write = fault_is_write(regs); in do_exception()
404 if (is_write) in do_exception()
/openbmc/linux/drivers/nvmem/
H A Drave-sp-eeprom.c95 const bool is_write = type == RAVE_SP_EEPROM_WRITE; in rave_sp_eeprom_io() local
96 const unsigned int data_size = is_write ? sizeof(page->data) : 0; in rave_sp_eeprom_io()
99 is_write ? sizeof(*page) - sizeof(page->data) : sizeof(*page); in rave_sp_eeprom_io()
/openbmc/linux/arch/powerpc/include/asm/book3s/32/
H A Dkup.h146 __bad_kuap_fault(struct pt_regs *regs, unsigned long address, bool is_write) in __bad_kuap_fault() argument
150 if (!is_write) in __bad_kuap_fault()
/openbmc/linux/drivers/target/
H A Dtarget_core_file.c269 int is_write = !(data_direction == DMA_FROM_DEVICE); in fd_execute_rw_aio() local
289 iov_iter_bvec(&iter, is_write, aio_cmd->bvecs, sgl_nents, len); in fd_execute_rw_aio()
298 if (is_write && (cmd->se_cmd_flags & SCF_FUA)) in fd_execute_rw_aio()
301 if (is_write) in fd_execute_rw_aio()
314 u32 sgl_nents, u32 data_length, int is_write) in fd_do_rw() argument
334 iov_iter_bvec(&iter, is_write, bvec, sgl_nents, len); in fd_do_rw()
335 if (is_write) { in fd_do_rw()
342 if (is_write) { in fd_do_rw()

12345678