Lines Matching refs:BlockDriverState

41     BlockDriverState *bs, bool want_zero, int64_t offset, int64_t bytes,
42 int64_t *pnum, int64_t *map, BlockDriverState **file);
43 int coroutine_fn GRAPH_RDLOCK bdrv_co_pdiscard_snapshot(BlockDriverState *bs,
82 BdrvTrackedRequest *coroutine_fn bdrv_co_get_self_request(BlockDriverState *bs);
100 void bdrv_wakeup(BlockDriverState *bs);
102 const char * GRAPH_RDLOCK bdrv_get_parent_name(const BlockDriverState *bs);
106 void bdrv_set_dirty(BlockDriverState *bs, int64_t offset, int64_t bytes);
113 void bdrv_inc_in_flight(BlockDriverState *bs);
114 void bdrv_dec_in_flight(BlockDriverState *bs);
128 bdrv_co_refresh_total_sectors(BlockDriverState *bs, int64_t hint);
131 bdrv_refresh_total_sectors(BlockDriverState *bs, int64_t hint);
133 BdrvChild * GRAPH_RDLOCK bdrv_cow_child(BlockDriverState *bs);
134 BdrvChild * GRAPH_RDLOCK bdrv_filter_child(BlockDriverState *bs);
135 BdrvChild * GRAPH_RDLOCK bdrv_filter_or_cow_child(BlockDriverState *bs);
136 BdrvChild * GRAPH_RDLOCK bdrv_primary_child(BlockDriverState *bs);
137 BlockDriverState * GRAPH_RDLOCK bdrv_skip_filters(BlockDriverState *bs);
138 BlockDriverState * GRAPH_RDLOCK bdrv_backing_chain_next(BlockDriverState *bs);
140 static inline BlockDriverState * GRAPH_RDLOCK
141 bdrv_cow_bs(BlockDriverState *bs) in bdrv_cow_bs()
147 static inline BlockDriverState * GRAPH_RDLOCK
148 bdrv_filter_bs(BlockDriverState *bs) in bdrv_filter_bs()
154 static inline BlockDriverState * GRAPH_RDLOCK
155 bdrv_filter_or_cow_bs(BlockDriverState *bs) in bdrv_filter_or_cow_bs()
161 static inline BlockDriverState * GRAPH_RDLOCK
162 bdrv_primary_bs(BlockDriverState *bs) in bdrv_primary_bs()
177 bool bdrv_bsc_is_data(BlockDriverState *bs, int64_t offset, int64_t *pnum);
186 void bdrv_bsc_invalidate_range(BlockDriverState *bs,
192 void bdrv_bsc_fill(BlockDriverState *bs, int64_t offset, int64_t bytes);