Searched refs:BDRV_REQUEST_MAX_BYTES (Results 1 – 12 of 12) sorted by relevance
/openbmc/qemu/block/export/ |
H A D | fuse.c | 45 #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 D | block.c | 33 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 D | qemu-io-cmds.c | 515 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 D | block-common.h | 273 #define BDRV_REQUEST_MAX_BYTES (BDRV_REQUEST_MAX_SECTORS << BDRV_SECTOR_BITS) macro
|
/openbmc/qemu/hw/block/dataplane/ |
H A D | xen-block.c | 342 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 D | io.c | 884 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 D | qcow2-cluster.c | 1522 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 D | qcow2-snapshot.c | 370 assert(unknown_extra_data_size <= BDRV_REQUEST_MAX_BYTES); in qcow2_write_snapshots()
|
H A D | mirror.c | 360 assert(op->bytes < BDRV_REQUEST_MAX_BYTES); in mirror_co_read()
|
H A D | iscsi.c | 843 BDRV_REQUEST_MAX_BYTES, &pnum, NULL, NULL); in iscsi_co_readv()
|
H A D | file-posix.c | 1512 if (ret > 0 && ret <= BDRV_REQUEST_MAX_BYTES) { in raw_refresh_limits()
|
/openbmc/qemu/hw/nvme/ |
H A D | ctrl.c | 6654 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()
|