Home
last modified time | relevance | path

Searched refs:BDRV_REQUEST_MAX_BYTES (Results 1 – 12 of 12) sorted by relevance

/openbmc/qemu/block/export/
H A Dfuse.c45 #define FUSE_MAX_BOUNCE_BYTES (MIN(BDRV_REQUEST_MAX_BYTES, 64 * 1024 * 1024))
391 conn->max_write = MIN_NON_ZERO(BDRV_REQUEST_MAX_BYTES, conn->max_write); in fuse_init()
631 if (size > BDRV_REQUEST_MAX_BYTES) { in fuse_write()
726 int size = MIN(length, BDRV_REQUEST_MAX_BYTES); in fuse_fallocate()
756 int size = MIN(length, BDRV_REQUEST_MAX_BYTES); in fuse_fallocate()
/openbmc/qemu/hw/block/
H A Dblock.c33 bytes = MIN(size - offset, BDRV_REQUEST_MAX_BYTES); in blk_pread_nonzeroes()
90 assert(size <= BDRV_REQUEST_MAX_BYTES); in blk_check_size_and_read_all()
/openbmc/qemu/
H A Dqemu-io-cmds.c515 if (len > BDRV_REQUEST_MAX_BYTES) { in create_iovec()
517 (uint64_t)BDRV_REQUEST_MAX_BYTES); in create_iovec()
521 if (count > BDRV_REQUEST_MAX_BYTES - len) { in create_iovec()
523 "\n", (uint64_t)BDRV_REQUEST_MAX_BYTES); in create_iovec()
598 if (bytes > BDRV_REQUEST_MAX_BYTES) { in do_write_compressed()
788 } else if (count > BDRV_REQUEST_MAX_BYTES) { in read_f()
790 (uint64_t)BDRV_REQUEST_MAX_BYTES, argv[optind]); in read_f()
1154 } else if (count > BDRV_REQUEST_MAX_BYTES && in write_f()
1157 (uint64_t)BDRV_REQUEST_MAX_BYTES, argv[optind]); in write_f()
2197 } else if (bytes > BDRV_REQUEST_MAX_BYTES) { in discard_f()
[all …]
/openbmc/qemu/include/block/
H A Dblock-common.h273 #define BDRV_REQUEST_MAX_BYTES (BDRV_REQUEST_MAX_SECTORS << BDRV_SECTOR_BITS) macro
/openbmc/qemu/hw/block/dataplane/
H A Dxen-block.c342 byte_chunk = byte_remaining > BDRV_REQUEST_MAX_BYTES ? in xen_block_split_discard()
343 BDRV_REQUEST_MAX_BYTES : byte_remaining; in xen_block_split_discard()
/openbmc/qemu/block/
H A Dio.c884 if (bytes > BDRV_REQUEST_MAX_BYTES) { in bdrv_check_request32()
913 bytes = MIN(target_size - offset, BDRV_REQUEST_MAX_BYTES); in bdrv_make_zero()
1029 assert(bytes <= BDRV_REQUEST_MAX_BYTES); in bdrv_driver_preadv()
1107 assert(bytes <= BDRV_REQUEST_MAX_BYTES); in bdrv_driver_pwritev()
1179 BDRV_REQUEST_MAX_BYTES); in bdrv_co_do_copy_on_readv()
H A Dqcow2-cluster.c1522 nb_clusters = MIN(nb_clusters, BDRV_REQUEST_MAX_BYTES >> s->cluster_bits); in handle_copied()
1687 nb_clusters = MIN(nb_clusters, BDRV_REQUEST_MAX_BYTES >> s->cluster_bits); in handle_alloc()
H A Dqcow2-snapshot.c370 assert(unknown_extra_data_size <= BDRV_REQUEST_MAX_BYTES); in qcow2_write_snapshots()
H A Dmirror.c360 assert(op->bytes < BDRV_REQUEST_MAX_BYTES); in mirror_co_read()
H A Discsi.c843 BDRV_REQUEST_MAX_BYTES, &pnum, NULL, NULL); in iscsi_co_readv()
H A Dfile-posix.c1512 if (ret > 0 && ret <= BDRV_REQUEST_MAX_BYTES) { in raw_refresh_limits()
/openbmc/qemu/hw/nvme/
H A Dctrl.c6654 BDRV_REQUEST_MAX_BYTES / nvme_l2b(ns, 1)); in nvme_update_dmrsl()
6830 bytes = MIN(BDRV_REQUEST_MAX_BYTES, ns->size - iocb->offset); in nvme_format_ns_cb()
8821 BDRV_REQUEST_MAX_BYTES / nvme_l2b(ns, 1)); in nvme_attach_ns()