block-io.h (abb02ce0e76a8e00026699a863ab2d11d88f56d4) | block-io.h (de335638a399b614d510b978b5c6d1b237e0ac79) |
---|---|
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 --- 70 unchanged lines hidden (view full) --- 79 PreallocMode prealloc, BdrvRequestFlags flags, Error **errp); 80 81int64_t coroutine_fn GRAPH_RDLOCK bdrv_co_nb_sectors(BlockDriverState *bs); 82int64_t coroutine_mixed_fn bdrv_nb_sectors(BlockDriverState *bs); 83 84int64_t coroutine_fn GRAPH_RDLOCK bdrv_co_getlength(BlockDriverState *bs); 85int64_t co_wrapper_mixed_bdrv_rdlock bdrv_getlength(BlockDriverState *bs); 86 | 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 --- 70 unchanged lines hidden (view full) --- 79 PreallocMode prealloc, BdrvRequestFlags flags, Error **errp); 80 81int64_t coroutine_fn GRAPH_RDLOCK bdrv_co_nb_sectors(BlockDriverState *bs); 82int64_t coroutine_mixed_fn bdrv_nb_sectors(BlockDriverState *bs); 83 84int64_t coroutine_fn GRAPH_RDLOCK bdrv_co_getlength(BlockDriverState *bs); 85int64_t co_wrapper_mixed_bdrv_rdlock bdrv_getlength(BlockDriverState *bs); 86 |
87int64_t coroutine_fn bdrv_co_get_allocated_file_size(BlockDriverState *bs); 88int64_t co_wrapper bdrv_get_allocated_file_size(BlockDriverState *bs); | 87int64_t coroutine_fn GRAPH_RDLOCK 88bdrv_co_get_allocated_file_size(BlockDriverState *bs); |
89 | 89 |
90int64_t co_wrapper_bdrv_rdlock 91bdrv_get_allocated_file_size(BlockDriverState *bs); 92 |
|
90BlockMeasureInfo *bdrv_measure(BlockDriver *drv, QemuOpts *opts, 91 BlockDriverState *in_bs, Error **errp); 92 93int coroutine_fn GRAPH_RDLOCK 94bdrv_co_delete_file(BlockDriverState *bs, Error **errp); 95 96void coroutine_fn GRAPH_RDLOCK 97bdrv_co_delete_file_noerr(BlockDriverState *bs); --- 302 unchanged lines hidden --- | 93BlockMeasureInfo *bdrv_measure(BlockDriver *drv, QemuOpts *opts, 94 BlockDriverState *in_bs, Error **errp); 95 96int coroutine_fn GRAPH_RDLOCK 97bdrv_co_delete_file(BlockDriverState *bs, Error **errp); 98 99void coroutine_fn GRAPH_RDLOCK 100bdrv_co_delete_file_noerr(BlockDriverState *bs); --- 302 unchanged lines hidden --- |