You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/block
Nguyen Dinh Phi 0c9f429ec8 util: Move qemu_ftruncate64 from block/file-win32.c to oslib-win32.c
qemu_ftruncate64() is a general-purpose utility function that may be
used outside of the block layer. Move it to util/oslib-win32.c where
other Windows-specific utility functions reside.

Signed-off-by: Nguyen Dinh Phi <phind.uet@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20251218085446.462827-3-phind.uet@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
5 days ago
..
export block: rename block/aio.h to qemu/aio.h 1 week ago
monitor include: move hw/boards.h to hw/core/ 1 week ago
accounting.c block: enable stats-intervals for storage devices 2 months ago
aio_task.c block: rename block/aio.h to qemu/aio.h 1 week ago
amend.c block: Mark BlockDriver callbacks for amend job GRAPH_RDLOCK 3 years ago
backup.c block: add bdrv_graph_wrlock_drained() convenience wrapper 6 months ago
blkdebug.c block: Expand block status mode from bool to flags 8 months ago
blkio.c include: reorganize memory API headers 1 week ago
blklogwrites.c block: add bdrv_graph_wrlock_drained() convenience wrapper 6 months ago
blkreplay.c blkreplay: Run BH in coroutine’s AioContext 2 months ago
blkverify.c block: add bdrv_graph_wrlock_drained() convenience wrapper 6 months ago
block-backend.c include: move hw/qdev-core.h to hw/core/, rename 1 week ago
block-copy.c include: Rename sysemu/ -> system/ 1 year ago
block-gen.h block-coroutine-wrapper.py: support also basic return types 3 years ago
block-ram-registrar.c include: Rename sysemu/ -> system/ 1 year ago
bochs.c block: replace TABs with space 2 months ago
cloop.c block: Take graph lock for most of .bdrv_open 2 years ago
commit.c block/commit: mark commit_abort() as GRAPH_UNLOCKED 6 months ago
copy-before-write.c block: Expand block status mode from bool to flags 8 months ago
copy-before-write.h blockdev-backup: Add error handling option for copy-before-write jobs 8 months ago
copy-on-read.c qapi: Move include/qapi/qmp/ to include/qobject/ 11 months ago
copy-on-read.h block: Mark bdrv_(un)freeze_backing_chain() and callers GRAPH_RDLOCK 2 years ago
coroutines.h block: Expand block status mode from bool to flags 8 months ago
create.c qemu/compiler: Absorb 'clang-tsa.h' 10 months ago
crypto.c block: Allow drivers to control protocol prefix at creation 2 months ago
crypto.h block: Support detached LUKS header creation using qemu-img 2 years ago
curl.c curl: Fix coroutine waking 2 months ago
dirty-bitmap.c block: Mark bdrv_*_dirty_bitmap() and callers GRAPH_RDLOCK 3 years ago
dmg-bz2.c Include qemu-common.h exactly where needed 7 years ago
dmg-lzfse.c block/dmg: Ignore C99 prototype declaration mismatch from <lzfse.h> 3 years ago
dmg.c block: Protect bs->file with graph_lock 2 years ago
dmg.h block/dmg: Declare a type definition for DMG uncompress function 3 years ago
file-posix.c file-posix: Handle suspended dm-multipath better for SG_IO 1 month ago
file-win32.c util: Move qemu_ftruncate64 from block/file-win32.c to oslib-win32.c 5 days ago
filter-compress.c block: Take graph lock for most of .bdrv_open 2 years ago
gluster.c gluster: Do not move coroutine into BDS context 2 months ago
graph-lock.c block: add bdrv_graph_wrlock_drained() convenience wrapper 6 months ago
io.c block: rename block/aio-wait.h to qemu/aio-wait.h 1 week ago
io_uring.c block: rename block/aio.h to qemu/aio.h 1 week ago
iscsi-opts.c modules: add block module annotations 5 years ago
iscsi.c iscsi: Create AIO BH in original AioContext 2 months ago
linux-aio.c block: rename block/aio.h to qemu/aio.h 1 week ago
meson.build include: Rename sysemu/ -> system/ 1 year ago
mirror.c block: drop wrapper for bdrv_set_backing_hd_drained() 6 months ago
nbd.c treewide: handle result of qio_channel_set_blocking() 4 months ago
nfs.c nfs: Run co BH CB in the coroutine’s AioContext 2 months ago
null.c null-aio: Run CB in original AioContext 2 months ago
nvme.c Revert "nvme: Fix coroutine waking" 3 weeks ago
parallels-ext.c qapi/crypto: Rename QCryptoHashAlgorithm to *Algo, and drop prefix 1 year ago
parallels.c block: Allow drivers to control protocol prefix at creation 2 months ago
parallels.h block: Protect bs->file with graph_lock 2 years ago
preallocate.c block: Protect bs->file with graph_lock 2 years ago
progress_meter.c coroutine: Clean up superfluous inclusion of qemu/lockable.h 3 years ago
qapi-system.c qapi: Move include/qapi/qmp/ to include/qobject/ 11 months ago
qapi.c qemu-img info: Optionally show block limits 2 months ago
qcow.c block: Allow drivers to control protocol prefix at creation 2 months ago
qcow2-bitmap.c block/qcow2-bitmap: Replace g_memdup() by g_memdup2() 2 years ago
qcow2-cache.c qcow2: Mark qcow2_signal_corruption() and callers GRAPH_RDLOCK 2 years ago
qcow2-cluster.c qcow2: put discards in discard queue when discard-no-unref is enabled 2 months ago
qcow2-refcount.c qcow2: put discards in discard queue when discard-no-unref is enabled 2 months ago
qcow2-snapshot.c include: Rename sysemu/ -> system/ 1 year ago
qcow2-threads.c thread-pool: avoid passing the pool parameter every time 3 years ago
qcow2.c qcow2: Schedule cache-clean-timer in realtime 2 months ago
qcow2.h qcow2: Fix cache_clean_timer 2 months ago
qed-check.c qed: mark more functions as coroutine_fns and GRAPH_RDLOCK 3 years ago
qed-cluster.c qed: protect table cache with CoMutex 9 years ago
qed-l2-cache.c osdep: Move memalign-related functions to their own header 4 years ago
qed-table.c block: use bdrv_co_debug_event in coroutine context 3 years ago
qed.c block: Allow drivers to control protocol prefix at creation 2 months ago
qed.h block: Protect bs->file with graph_lock 2 years ago
quorum.c block: add bdrv_graph_wrlock_drained() convenience wrapper 6 months ago
raw-format.c block: Allow drivers to control protocol prefix at creation 2 months ago
rbd.c rbd: Run co BH CB in the coroutine’s AioContext 2 months ago
replication.c block: mark bdrv_reopen_queue() and bdrv_reopen_multiple() as GRAPH_UNLOCKED 6 months ago
reqlist.c block/reqlist: allow adding overlapping requests 1 year ago
snapshot-access.c block: Expand block status mode from bool to flags 8 months ago
snapshot.c block: add bdrv_graph_wrlock_drained() convenience wrapper 6 months ago
ssh.c ssh: Run restart_coroutine in current AioContext 2 months ago
stream.c block/stream: mark stream_prepare() as GRAPH_UNLOCKED 6 months ago
throttle-groups.c qom: Make InterfaceInfo[] uses const 8 months ago
throttle.c block: Take graph lock for most of .bdrv_open 2 years ago
trace-events block/io_uring: use aio_add_sqe() 2 months ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
vdi.c block: Allow drivers to control protocol prefix at creation 2 months ago
vhdx-endian.c Include qemu-common.h exactly where needed 7 years ago
vhdx-log.c vhdx: Take locks for accessing bs->file 2 years ago
vhdx.c block: Allow drivers to control protocol prefix at creation 2 months ago
vhdx.h vhdx: Take locks for accessing bs->file 2 years ago
vmdk.c Fix const qualifier build errors with recent glibc 4 weeks ago
vpc.c block: Allow drivers to control protocol prefix at creation 2 months ago
vvfat.c Fix const qualifier build errors with recent glibc 4 weeks ago
win32-aio.c block: rename block/aio.h to qemu/aio.h 1 week ago
write-threshold.c block: remove AioContext locking 2 years ago