/qemu/hw/scsi/ |
H A D | emulation.c | 11 outbuf[0] = bl->wsnz; /* wsnz */ in scsi_emulate_block_limits() 13 if (bl->max_io_sectors) { in scsi_emulate_block_limits() 17 stw_be_p(outbuf + 2, MIN(bl->min_io_size, bl->max_io_sectors)); in scsi_emulate_block_limits() 20 stl_be_p(outbuf + 4, bl->max_io_sectors); in scsi_emulate_block_limits() 23 stl_be_p(outbuf + 8, MIN(bl->opt_io_size, bl->max_io_sectors)); in scsi_emulate_block_limits() 25 stw_be_p(outbuf + 2, bl->min_io_size); in scsi_emulate_block_limits() 26 stl_be_p(outbuf + 8, bl->opt_io_size); in scsi_emulate_block_limits() 30 stl_be_p(outbuf + 16, bl->max_unmap_sectors); in scsi_emulate_block_limits() 33 stl_be_p(outbuf + 20, bl->max_unmap_descr); in scsi_emulate_block_limits() 36 stl_be_p(outbuf + 24, bl->unmap_sectors); in scsi_emulate_block_limits() [all …]
|
/qemu/block/ |
H A D | blkio.c | 992 bs->bl.request_alignment = value; in blkio_refresh_limits() 993 if (bs->bl.request_alignment < 1 || in blkio_refresh_limits() 1008 bs->bl.opt_transfer = value; in blkio_refresh_limits() 1010 (bs->bl.opt_transfer % bs->bl.request_alignment)) { in blkio_refresh_limits() 1023 bs->bl.max_transfer = value; in blkio_refresh_limits() 1024 if ((bs->bl.max_transfer % bs->bl.request_alignment) || in blkio_refresh_limits() 1025 (bs->bl.opt_transfer && (bs->bl.max_transfer % bs->bl.opt_transfer))) { in blkio_refresh_limits() 1028 bs->bl.max_transfer, bs->bl.request_alignment, in blkio_refresh_limits() 1044 bs->bl.min_mem_alignment = value; in blkio_refresh_limits() 1058 bs->bl.opt_mem_alignment = value; in blkio_refresh_limits() [all …]
|
H A D | blkdebug.c | 642 if (bs->bl.max_transfer) { in blkdebug_co_preadv() 643 assert(bytes <= bs->bl.max_transfer); in blkdebug_co_preadv() 663 if (bs->bl.max_transfer) { in blkdebug_co_pwritev() 664 assert(bytes <= bs->bl.max_transfer); in blkdebug_co_pwritev() 707 if (bs->bl.max_pwrite_zeroes) { in blkdebug_co_pwrite_zeroes() 728 if (bytes < bs->bl.request_alignment) { in blkdebug_co_pdiscard() 741 if (bs->bl.max_pdiscard) { in blkdebug_co_pdiscard() 742 assert(bytes <= bs->bl.max_pdiscard); in blkdebug_co_pdiscard() 1015 bs->bl.request_alignment = s->align; in blkdebug_refresh_limits() 1018 bs->bl.max_transfer = s->max_transfer; in blkdebug_refresh_limits() [all …]
|
H A D | io.c | 160 s->bs->bl = s->old_bl; in bdrv_refresh_limits_abort() 182 .old_bl = bs->bl, in bdrv_refresh_limits() 187 memset(&bs->bl, 0, sizeof(bs->bl)); in bdrv_refresh_limits() 203 bdrv_merge_limits(&bs->bl, &c->bs->bl); in bdrv_refresh_limits() 208 bs->bl.has_variable_length |= c->bs->bl.has_variable_length; in bdrv_refresh_limits() 213 bs->bl.min_mem_alignment = 512; in bdrv_refresh_limits() 217 bs->bl.max_iov = IOV_MAX; in bdrv_refresh_limits() 759 return bs->bl.request_alignment; in bdrv_get_cluster_size() 1476 int64_t align = bs->bl.request_alignment; in bdrv_init_padding() 2441 align = bs->bl.request_alignment; in bdrv_co_do_block_status() [all …]
|
H A D | file-posix.c | 404 bs->bl.request_alignment = 1; in raw_probe_alignment() 409 bs->bl.request_alignment = 0; in raw_probe_alignment() 413 bs->bl.request_alignment = 0; in raw_probe_alignment() 442 if (!bs->bl.request_alignment) { in raw_probe_alignment() 1405 bs->bl.zoned = zoned; in raw_refresh_zoned_limits() 1409 bs->bl.max_open_zones = ret; in raw_refresh_zoned_limits() 1440 bs->bl.nr_zones = ret; in raw_refresh_zoned_limits() 1465 bs->bl.zoned = BLK_Z_NONE; in raw_refresh_zoned_limits() 1473 bs->bl.zoned = BLK_Z_NONE; in raw_refresh_zoned_limits() 1515 bs->bl.max_hw_iov = ret; in raw_refresh_limits() [all …]
|
H A D | iscsi.c | 78 struct scsi_inquiry_block_limits bl; member 621 if (bs->bl.max_transfer) { in iscsi_co_writev() 813 if (bs->bl.max_transfer) { in iscsi_co_readv() 1986 memcpy(&iscsilun->bl, inq_bl, in iscsi_open() 2080 if (iscsilun->bl.max_xfer_len) { in iscsi_refresh_limits() 2089 bs->bl.max_pdiscard = in iscsi_refresh_limits() 2092 bs->bl.pdiscard_alignment = in iscsi_refresh_limits() 2098 bs->bl.max_pwrite_zeroes = in iscsi_refresh_limits() 2103 bs->bl.pwrite_zeroes_alignment = in iscsi_refresh_limits() 2108 if (iscsilun->bl.opt_xfer_len && in iscsi_refresh_limits() [all …]
|
H A D | file-win32.c | 239 bs->bl.request_alignment = 2048; in raw_probe_alignment() 246 bs->bl.request_alignment = dg.Geometry.BytesPerSector; in raw_probe_alignment() 256 bs->bl.request_alignment = dg.Geometry.BytesPerSector; in raw_probe_alignment() 261 bs->bl.request_alignment = 512; in raw_probe_alignment() 838 bs->bl.request_alignment = 512; in hdev_refresh_limits() 839 bs->bl.has_variable_length = true; in hdev_refresh_limits()
|
H A D | nvme.c | 804 bs->bl.opt_mem_alignment = s->page_size; in nvme_init() 805 bs->bl.request_alignment = s->page_size; in nvme_init() 1529 bs->bl.opt_mem_alignment = s->page_size; in nvme_refresh_limits() 1530 bs->bl.request_alignment = s->page_size; in nvme_refresh_limits() 1531 bs->bl.max_transfer = s->max_transfer; in nvme_refresh_limits() 1537 bs->bl.max_pwrite_zeroes = 1ULL << (s->blkshift + 16); in nvme_refresh_limits() 1538 bs->bl.pwrite_zeroes_alignment = MAX(bs->bl.request_alignment, in nvme_refresh_limits() 1541 bs->bl.max_pdiscard = (uint64_t)UINT32_MAX << s->blkshift; in nvme_refresh_limits() 1542 bs->bl.pdiscard_alignment = MAX(bs->bl.request_alignment, in nvme_refresh_limits()
|
H A D | blklogwrites.c | 331 bs->bl.request_alignment = s->sectorsize; in blk_log_writes_refresh_limits() 500 assert(bs->bl.request_alignment == s->sectorsize); in blk_log_writes_co_log() 501 assert(QEMU_IS_ALIGNED(offset, bs->bl.request_alignment)); in blk_log_writes_co_log() 502 assert(QEMU_IS_ALIGNED(bytes, bs->bl.request_alignment)); in blk_log_writes_co_log()
|
/qemu/pc-bios/optionrom/ |
H A D | kvmvapic.S | 192 mov 24(%esp), %bl 200 cmp %bh, %bl 203 mov %bh, %bl 208 cmp %bh, %bl 286 mov 16(%esp), %bl 294 cmp %bh, %bl 297 mov %bh, %bl 302 cmp %bh, %bl
|
/qemu/tests/tcg/ppc64/ |
H A D | non_signalling_xscv.c | 8 uint64_t th, tl, bh = B_HI, bl = B_LO; \ 17 : "r" (bh), "r" (bl) \ 20 "%016" PRIx64 "\n", bh, bl, th, tl); \
|
/qemu/hw/block/ |
H A D | block.c | 149 conf->opt_io_size = bs->bl.opt_transfer; in blkconf_blocksizes() 152 if (bs->bl.pdiscard_alignment) { in blkconf_blocksizes() 153 conf->discard_granularity = bs->bl.pdiscard_alignment; in blkconf_blocksizes() 154 } else if (bs->bl.request_alignment != 1) { in blkconf_blocksizes() 155 conf->discard_granularity = bs->bl.request_alignment; in blkconf_blocksizes()
|
/qemu/tests/migration/i386/ |
H A D | a-b-bootblock.S | 62 # bl keeps a counter so we limit the output speed 63 mov $0, %bl 81 inc %bl 82 andb $0x3f,%bl
|
/qemu/target/ppc/ |
H A D | mmu_common.c | 255 target_ulong bl; in bat_size_prot() local 258 bl = (*BATu & 0x00001FFC) << 15; in bat_size_prot() 272 *blp = bl; in bat_size_prot() 281 target_ulong BEPIl, BEPIu, bl; in get_bat_6xx_tlb() local 300 bat_size_prot(env, &bl, &valid, &prot, BATu, BATl); in get_bat_6xx_tlb() 305 ((virtual & 0x0FFE0000) & ~bl) == BEPIl) { in get_bat_6xx_tlb() 310 ((virtual & 0x0FFE0000 & bl) | (*BATl & 0x0FFE0000)) | in get_bat_6xx_tlb() 336 bl = (*BATu & 0x00001FFC) << 15; in get_bat_6xx_tlb() 575 target_ulong BEPIl, BEPIu, bl; in mmu6xx_dump_BATs() local 594 bl = (*BATu & 0x00001FFC) << 15; in mmu6xx_dump_BATs() [all …]
|
/qemu/docs/devel/ |
H A D | loads-stores.rst | 124 - ``\<cpu_ld[bwlq]\(_[bl]e\)\?_mmu\>`` 125 - ``\<cpu_st[bwlq]\(_[bl]e\)\?_mmu\>`` 159 - ``\<cpu_st[bwlq]\(_[bl]e\)\?_mmuidx_ra\>`` 197 - ``\<cpu_st[bwlq]\(_[bl]e\)\?_data_ra\>`` 236 - ``\<cpu_st[bwlq]\(_[bl]e\)\?_data\+\>`` 442 - ``\<ldu\?[bwlq]\(_[bl]e\)\?_phys\>`` 443 - ``\<st[bwlq]\(_[bl]e\)\?_phys\>`` 502 - ``\<ldu\?[bwlq]\(_[bl]e\)\?_dma\>`` 503 - ``\<st[bwlq]\(_[bl]e\)\?_dma\>`` 543 - ``\<ldu\?[bwlq]\(_[bl]e\)\?_pci_dma\>`` [all …]
|
/qemu/tests/tcg/loongarch64/system/ |
H A D | boot.S | 15 bl main 29 bl 2b
|
/qemu/target/alpha/ |
H A D | int_helper.c | 66 uint64_t al, ah, bl, bh, cl, ch; in helper_cmpbge() local 70 bl = b & mask; in helper_cmpbge() 76 cl = ((al | test) - bl) & test; in helper_cmpbge()
|
/qemu/hw/hyperv/ |
H A D | hv-balloon.c | 604 struct dm_balloon bl; in hv_balloon_balloon_posting() local 605 size_t bl_size = sizeof(bl); in hv_balloon_balloon_posting() 611 memset(&bl, 0, sizeof(bl)); in hv_balloon_balloon_posting() 612 bl.hdr.type = DM_BALLOON_REQUEST; in hv_balloon_balloon_posting() 613 bl.hdr.size = bl_size; in hv_balloon_balloon_posting() 614 bl.hdr.trans_id = balloon->trans_id; in hv_balloon_balloon_posting() 615 bl.num_pages = MIN(balloon->balloon_diff, HV_BALLOON_HR_CHUNK_PAGES); in hv_balloon_balloon_posting() 617 trace_hv_balloon_outgoing_balloon(bl.hdr.trans_id, bl.num_pages, in hv_balloon_balloon_posting() 621 NULL, 0, &bl, bl_size, false, in hv_balloon_balloon_posting() 622 bl.hdr.trans_id); in hv_balloon_balloon_posting()
|
/qemu/include/hw/scsi/ |
H A D | emulation.h | 14 int scsi_emulate_block_limits(uint8_t *outbuf, const SCSIBlockLimits *bl);
|
/qemu/target/hppa/ |
H A D | insns.decode | 442 @bl ...... l:5 ..... ... ........... n:1 . &BL disp=%assemble_17 445 bl 111010 ..... ..... 000 ........... . . @bl 446 bl 111010 ..... ..... 100 ........... . . @bl 448 bl 111010 ..... ..... 101 ........... n:1 . &BL l=2 \ 450 b_gate 111010 ..... ..... 001 ........... . . @bl
|
/qemu/tests/tcg/arm/system/ |
H A D | boot.S | 50 bl mmu_setup /* Set up the MMU */ 51 bl main /* Jump to main */
|
/qemu/target/s390x/tcg/ |
H A D | translate_vx.c.inc | 264 TCGv_i64 bl = tcg_temp_new_i64(); 269 read_vec_element_i64(bl, b, 1, ES_64); 270 fn(dl, dh, al, ah, bl, bh); 286 TCGv_i64 bl = tcg_temp_new_i64(); 293 read_vec_element_i64(bl, b, 1, ES_64); 296 fn(dl, dh, al, ah, bl, bh, cl, ch); 304 TCGv_i64 bl = tcg_constant_i64(b); 307 tcg_gen_add2_i64(dl, dh, al, ah, bl, bh); 1471 tcg_gen_extract_i64(bh, bl, 63, 1); 2355 tcg_gen_not_i64(tl, bl); [all …]
|
/qemu/tcg/mips/ |
H A D | tcg-target.c.inc | 834 if (cbl && cbh && bh == -1 && bl != 0) { 835 bl = -bl; 854 tcg_out_opc_imm(s, OPC_ADDIU, rl, al, -bl); 856 tcg_out_opc_reg(s, OPC_SLTU, TCG_TMP0, al, bl); 857 tcg_out_opc_reg(s, OPC_SUBU, rl, al, bl); 862 tcg_out_opc_imm(s, OPC_ADDIU, rl, al, bl); 864 } else if (rl == al && rl == bl) { 866 tcg_out_opc_reg(s, OPC_ADDU, rl, al, bl); 868 tcg_out_opc_reg(s, OPC_ADDU, rl, al, bl); 869 tcg_out_opc_reg(s, OPC_SLTU, TCG_TMP0, rl, (rl == bl ? al : bl)); [all …]
|
/qemu/tcg/ |
H A D | optimize.c | 851 TCGArg al, ah, bl, bh; in do_constant_folding_cond2() local 864 bl = args[2]; in do_constant_folding_cond2() 867 if (arg_is_const(bl) && arg_is_const(bh)) { in do_constant_folding_cond2() 868 tcg_target_ulong blv = arg_info(bl)->val; in do_constant_folding_cond2() 906 args[3] = bl; in do_constant_folding_cond2() 935 op1->args[2] = bl; in do_constant_folding_cond2() 1213 uint64_t bl = arg_info(op->args[4])->val; in fold_addsub2() local 1232 Int128 b = int128_make128(bl, bh); in fold_addsub2() 1261 bl = -bl; in fold_addsub2() 1262 bh = ~bh + !bl; in fold_addsub2() [all …]
|
/qemu/pc-bios/vof/ |
H A D | entry.S | 28 bl prom_entry
|