block-io.h (a00e70c01241590b6c80dca4ee39b9de0b10097e) block-io.h (cb2bfaa450dd65b717e27c9090169be05bd73b93)
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 191 unchanged lines hidden (view full) ---

200void *qemu_blockalign(BlockDriverState *bs, size_t size);
201void *qemu_blockalign0(BlockDriverState *bs, size_t size);
202void *qemu_try_blockalign(BlockDriverState *bs, size_t size);
203void *qemu_try_blockalign0(BlockDriverState *bs, size_t size);
204
205void bdrv_enable_copy_on_read(BlockDriverState *bs);
206void bdrv_disable_copy_on_read(BlockDriverState *bs);
207
1/*
2 * QEMU System Emulator block driver
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 191 unchanged lines hidden (view full) ---

200void *qemu_blockalign(BlockDriverState *bs, size_t size);
201void *qemu_blockalign0(BlockDriverState *bs, size_t size);
202void *qemu_try_blockalign(BlockDriverState *bs, size_t size);
203void *qemu_try_blockalign0(BlockDriverState *bs, size_t size);
204
205void bdrv_enable_copy_on_read(BlockDriverState *bs);
206void bdrv_disable_copy_on_read(BlockDriverState *bs);
207
208void coroutine_fn bdrv_co_debug_event(BlockDriverState *bs,
209 BlkdebugEvent event);
210void co_wrapper_mixed bdrv_debug_event(BlockDriverState *bs,
211 BlkdebugEvent event);
208void coroutine_fn GRAPH_RDLOCK
209bdrv_co_debug_event(BlockDriverState *bs, BlkdebugEvent event);
212
210
211void co_wrapper_mixed_bdrv_rdlock
212bdrv_debug_event(BlockDriverState *bs, BlkdebugEvent event);
213
213#define BLKDBG_EVENT(child, evt) \
214 do { \
215 if (child) { \
216 bdrv_debug_event(child->bs, evt); \
217 } \
218 } while (0)
219
220/**

--- 185 unchanged lines hidden ---
214#define BLKDBG_EVENT(child, evt) \
215 do { \
216 if (child) { \
217 bdrv_debug_event(child->bs, evt); \
218 } \
219 } while (0)
220
221/**

--- 185 unchanged lines hidden ---