/qemu/block/ |
H A D | win32-aio.c | 55 bool is_read; member 74 if (waiocb->is_read) { in win32_aio_process_completion() 84 if (ret == 0 && waiocb->is_read) { in win32_aio_process_completion() 125 waiocb->is_read = (type == QEMU_AIO_READ); in win32_aio_submit()
|
H A D | io_uring.c | 34 bool is_read; member 194 if (luringcb->is_read) { in luring_process_completions() 392 .is_read = (type == QEMU_AIO_READ), in luring_co_submit()
|
H A D | linux-aio.c | 46 bool is_read; member 90 if (laiocb->is_read) { in qemu_laio_process_completion() 418 .is_read = (type == QEMU_AIO_READ), in laio_co_submit()
|
H A D | block-backend.c | 2106 BlockdevOnError blk_get_on_error(BlockBackend *blk, bool is_read) in blk_get_on_error() argument 2109 return is_read ? blk->on_read_error : blk->on_write_error; in blk_get_on_error() 2112 BlockErrorAction blk_get_error_action(BlockBackend *blk, bool is_read, in blk_get_error_action() argument 2115 BlockdevOnError on_err = blk_get_on_error(blk, is_read); in blk_get_error_action() 2136 bool is_read, int error) in send_qmp_error_event() argument 2141 optype = is_read ? IO_OPERATION_TYPE_READ : IO_OPERATION_TYPE_WRITE; in send_qmp_error_event() 2153 bool is_read, int error) in blk_error_action() argument 2174 send_qmp_error_event(blk, action, is_read, error); in blk_error_action() 2177 send_qmp_error_event(blk, action, is_read, error); in blk_error_action()
|
H A D | quorum.c | 138 bool is_read; member 251 QuorumOpType type = acb->is_read ? QUORUM_OP_TYPE_READ : QUORUM_OP_TYPE_WRITE; in quorum_report_bad_acb() 680 acb->is_read = true; in quorum_co_preadv()
|
/qemu/hw/sd/ |
H A D | pl181.c | 219 int is_read; in pl181_fifo_run() local 221 is_read = (s->datactrl & PL181_DATA_DIRECTION) != 0; in pl181_fifo_run() 222 if (s->datacnt != 0 && (!is_read || sdbus_data_ready(&s->sdbus)) in pl181_fifo_run() 224 if (is_read) { in pl181_fifo_run()
|
H A D | bcm2835_sdhost.c | 186 int is_read; in bcm2835_sdhost_fifo_run() local 189 is_read = (s->cmd & SDCMD_READ_CMD) != 0; in bcm2835_sdhost_fifo_run() 192 if (is_read) { in bcm2835_sdhost_fifo_run()
|
/qemu/include/qemu/ |
H A D | selfmap.h | 18 bool is_read; member
|
/qemu/include/sysemu/ |
H A D | block-backend-io.h | 94 BlockdevOnError blk_get_on_error(BlockBackend *blk, bool is_read); 95 BlockErrorAction blk_get_error_action(BlockBackend *blk, bool is_read, 98 bool is_read, int error);
|
/qemu/include/block/ |
H A D | blockjob_int.h | 166 int is_read, int error);
|
/qemu/target/hexagon/ |
H A D | gen_idef_parser_funcs.py | 137 prefix = "in " if reg.is_read() else ""
|
H A D | gen_op_regs.py | 85 if reg.is_read():
|
H A D | hex_common.py | 382 def is_read(self): member in Dest 392 def is_read(self): member in Source 412 def is_read(self): member in ReadWrite 1085 if reg.is_read() and not (reg.is_hvx_reg() and reg.is_readwrite()):
|
/qemu/util/ |
H A D | selfmap.c | 65 e->is_read = fields[1][0] == 'r'; in read_self_maps()
|
/qemu/ |
H A D | blockjob.c | 581 int is_read, int error) in block_job_error_action() argument 606 is_read ? IO_OPERATION_TYPE_READ : in block_job_error_action()
|
H A D | blockdev.c | 319 static int parse_block_error_action(const char *buf, bool is_read, Error **errp) in parse_block_error_action() argument 323 } else if (!is_read && !strcmp(buf, "enospc")) { in parse_block_error_action() 331 buf, is_read ? "read" : "write"); in parse_block_error_action()
|
/qemu/hw/ide/ |
H A D | core.c | 859 bool is_read = (op & IDE_RETRY_READ) != 0; in ide_handle_rw_error() local 860 BlockErrorAction action = blk_get_error_action(s->blk, is_read, error); in ide_handle_rw_error() 875 blk_error_action(s->blk, action, is_read, error); in ide_handle_rw_error() 2727 bool is_read; in ide_restart_bh() local 2739 is_read = (bus->error_status & IDE_RETRY_READ) != 0; in ide_restart_bh() 2755 ide_restart_dma(s, is_read ? IDE_DMA_READ : IDE_DMA_WRITE); in ide_restart_bh() 2758 if (is_read) { in ide_restart_bh()
|
H A D | ahci.c | 1053 bool is_read = ncq_tfs->cmd == READ_FPDMA_QUEUED; in ncq_cb() local 1055 is_read, -ret); in ncq_cb() 1062 blk_error_action(ide_state->blk, action, is_read, -ret); in ncq_cb()
|
/qemu/hw/block/ |
H A D | virtio-blk.c | 77 bool is_read, bool acct_failed) in virtio_blk_handle_rw_error() argument 80 BlockErrorAction action = blk_get_error_action(s->blk, is_read, error); in virtio_blk_handle_rw_error() 99 blk_error_action(s->blk, action, is_read, error); in virtio_blk_handle_rw_error() 123 bool is_read = !(p & VIRTIO_BLK_T_OUT); in virtio_blk_rw_complete() local 132 if (virtio_blk_handle_rw_error(req, -ret, is_read, true)) { in virtio_blk_rw_complete()
|
/qemu/target/m68k/ |
H A D | helper.c | 1454 void HELPER(ptest)(CPUM68KState *env, uint32_t addr, uint32_t is_read) in HELPER() 1469 if (!is_read) { in HELPER()
|
H A D | translate.c | 4638 TCGv is_read; in DISAS_INSN() local 4644 is_read = tcg_constant_i32((insn >> 5) & 1); in DISAS_INSN() 4645 gen_helper_ptest(tcg_env, AREG(insn, 0), is_read); in DISAS_INSN()
|
/qemu/hw/scsi/ |
H A D | scsi-disk.c | 194 bool is_read = (r->req.cmd.mode == SCSI_XFER_FROM_DEV); in scsi_handle_rw_error() local 228 action = blk_get_error_action(s->qdev.conf.blk, is_read, error); in scsi_handle_rw_error() 229 blk_error_action(s->qdev.conf.blk, action, is_read, error); in scsi_handle_rw_error()
|