qemu-e2k/hw/block
Alberto Faria a9262f551e block: Change blk_{pread,pwrite}() param order
Swap 'buf' and 'bytes' around for consistency with
blk_co_{pread,pwrite}(), and in preparation to implement these functions
using generated_co_wrapper.

Callers were updated using this Coccinelle script:

    @@ expression blk, offset, buf, bytes, flags; @@
    - blk_pread(blk, offset, buf, bytes, flags)
    + blk_pread(blk, offset, bytes, buf, flags)

    @@ expression blk, offset, buf, bytes, flags; @@
    - blk_pwrite(blk, offset, buf, bytes, flags)
    + blk_pwrite(blk, offset, bytes, buf, flags)

It had no effect on hw/block/nand.c, presumably due to the #if, so that
file was updated manually.

Overly-long lines were then fixed by hand.

Signed-off-by: Alberto Faria <afaria@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220705161527.1054072-4-afaria@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
2022-07-12 12:14:56 +02:00
..
dataplane osdep: Move memalign-related functions to their own header 2022-03-07 13:16:49 +00:00
block.c block: Change blk_{pread,pwrite}() param order 2022-07-12 12:14:56 +02:00
cdrom.c
ecc.c
fdc-internal.h
fdc-isa.c acpi: fdc-isa: replace ISADeviceClass::build_aml with AcpiDevAmlIfClass:build_dev_aml 2022-06-09 19:32:48 -04:00
fdc-sysbus.c hw/block/fdc-sysbus: Always mark sysbus floppy controllers as not having DMA 2022-06-11 11:36:14 +02:00
fdc.c block: Change blk_{pread,pwrite}() param order 2022-07-12 12:14:56 +02:00
hd-geometry.c block: Change blk_{pread,pwrite}() param order 2022-07-12 12:14:56 +02:00
Kconfig
m25p80.c block: Change blk_{pread,pwrite}() param order 2022-07-12 12:14:56 +02:00
meson.build
nand.c block: Change blk_{pread,pwrite}() param order 2022-07-12 12:14:56 +02:00
onenand.c block: Change blk_{pread,pwrite}() param order 2022-07-12 12:14:56 +02:00
pflash_cfi01.c block: Change blk_{pread,pwrite}() param order 2022-07-12 12:14:56 +02:00
pflash_cfi02.c block: Change blk_{pread,pwrite}() param order 2022-07-12 12:14:56 +02:00
swim.c
tc58128.c
trace-events
trace.h
vhost-user-blk.c hw/vhost-user-scsi|blk: set supports_config flag correctly 2022-06-09 19:32:49 -04:00
virtio-blk.c block: get rid of blk->guest_block_size 2022-06-24 17:07:06 +02:00
xen_blkif.h
xen-block.c block: get rid of blk->guest_block_size 2022-06-24 17:07:06 +02:00