block_int.h (8e77e0bceb4de0fe5cc912d5865b28a703f0f041) | block_int.h (d736f119dae6d292e8d60f2e02fa51a79524113e) |
---|---|
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 --- 703 unchanged lines hidden (view full) --- 712 */ 713 unsigned io_plugged; 714 715 /* do we need to tell the quest if we have a volatile write cache? */ 716 int enable_write_cache; 717 718 /* Accessed with atomic ops. */ 719 int quiesce_counter; | 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 --- 703 unchanged lines hidden (view full) --- 712 */ 713 unsigned io_plugged; 714 715 /* do we need to tell the quest if we have a volatile write cache? */ 716 int enable_write_cache; 717 718 /* Accessed with atomic ops. */ 719 int quiesce_counter; |
720 int recursive_quiesce_counter; 721 |
|
720 unsigned int write_gen; /* Current data generation */ 721 722 /* Protected by reqs_lock. */ 723 CoMutex reqs_lock; 724 QLIST_HEAD(, BdrvTrackedRequest) tracked_requests; 725 CoQueue flush_queue; /* Serializing flush queue */ 726 bool active_flush_req; /* Flush request in flight? */ 727 --- 35 unchanged lines hidden (view full) --- 763 764int coroutine_fn bdrv_co_preadv(BdrvChild *child, 765 int64_t offset, unsigned int bytes, QEMUIOVector *qiov, 766 BdrvRequestFlags flags); 767int coroutine_fn bdrv_co_pwritev(BdrvChild *child, 768 int64_t offset, unsigned int bytes, QEMUIOVector *qiov, 769 BdrvRequestFlags flags); 770 | 722 unsigned int write_gen; /* Current data generation */ 723 724 /* Protected by reqs_lock. */ 725 CoMutex reqs_lock; 726 QLIST_HEAD(, BdrvTrackedRequest) tracked_requests; 727 CoQueue flush_queue; /* Serializing flush queue */ 728 bool active_flush_req; /* Flush request in flight? */ 729 --- 35 unchanged lines hidden (view full) --- 765 766int coroutine_fn bdrv_co_preadv(BdrvChild *child, 767 int64_t offset, unsigned int bytes, QEMUIOVector *qiov, 768 BdrvRequestFlags flags); 769int coroutine_fn bdrv_co_pwritev(BdrvChild *child, 770 int64_t offset, unsigned int bytes, QEMUIOVector *qiov, 771 BdrvRequestFlags flags); 772 |
773void bdrv_apply_subtree_drain(BdrvChild *child, BlockDriverState *new_parent); 774void bdrv_unapply_subtree_drain(BdrvChild *child, BlockDriverState *old_parent); 775 |
|
771int get_tmp_filename(char *filename, int size); 772BlockDriver *bdrv_probe_all(const uint8_t *buf, int buf_size, 773 const char *filename); 774 775void bdrv_parse_filename_strip_prefix(const char *filename, const char *prefix, 776 QDict *options); 777 778 --- 279 unchanged lines hidden --- | 776int get_tmp_filename(char *filename, int size); 777BlockDriver *bdrv_probe_all(const uint8_t *buf, int buf_size, 778 const char *filename); 779 780void bdrv_parse_filename_strip_prefix(const char *filename, const char *prefix, 781 QDict *options); 782 783 --- 279 unchanged lines hidden --- |