Revision 72cf2d4f block/qcow2.h
b/block/qcow2.h | ||
---|---|---|
98 | 98 |
uint8_t *cluster_cache; |
99 | 99 |
uint8_t *cluster_data; |
100 | 100 |
uint64_t cluster_cache_offset; |
101 |
LIST_HEAD(QCowClusterAlloc, QCowL2Meta) cluster_allocs; |
|
101 |
QLIST_HEAD(QCowClusterAlloc, QCowL2Meta) cluster_allocs;
|
|
102 | 102 |
|
103 | 103 |
uint64_t *refcount_table; |
104 | 104 |
uint64_t refcount_table_offset; |
... | ... | |
139 | 139 |
int nb_available; |
140 | 140 |
int nb_clusters; |
141 | 141 |
struct QCowL2Meta *depends_on; |
142 |
LIST_HEAD(QCowAioDependencies, QCowAIOCB) dependent_requests; |
|
142 |
QLIST_HEAD(QCowAioDependencies, QCowAIOCB) dependent_requests;
|
|
143 | 143 |
|
144 |
LIST_ENTRY(QCowL2Meta) next_in_flight; |
|
144 |
QLIST_ENTRY(QCowL2Meta) next_in_flight;
|
|
145 | 145 |
} QCowL2Meta; |
146 | 146 |
|
147 | 147 |
static inline int size_to_clusters(BDRVQcowState *s, int64_t size) |
Also available in: Unified diff