Home
last modified time | relevance | path

Searched refs:BlockReq (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/include/block/
H A Dreqlist.h26 typedef struct BlockReq { struct
31 QLIST_ENTRY(BlockReq) list; argument
32 } BlockReq; typedef
34 typedef QLIST_HEAD(, BlockReq) BlockReqList;
40 void reqlist_init_req(BlockReqList *reqs, BlockReq *req, int64_t offset,
43 BlockReq *reqlist_find_conflict(BlockReqList *reqs, int64_t offset,
68 void coroutine_fn reqlist_shrink_req(BlockReq *req, int64_t new_bytes);
73 void coroutine_fn reqlist_remove_req(BlockReq *req);
/openbmc/qemu/block/
H A Dreqlist.c20 void reqlist_init_req(BlockReqList *reqs, BlockReq *req, int64_t offset, in reqlist_init_req()
23 *req = (BlockReq) { in reqlist_init_req()
31 BlockReq *reqlist_find_conflict(BlockReqList *reqs, int64_t offset, in reqlist_find_conflict()
34 BlockReq *r; in reqlist_find_conflict()
48 BlockReq *r = reqlist_find_conflict(reqs, offset, bytes); in reqlist_wait_one()
67 void coroutine_fn reqlist_shrink_req(BlockReq *req, int64_t new_bytes) in reqlist_shrink_req()
79 void coroutine_fn reqlist_remove_req(BlockReq *req) in reqlist_remove_req()
H A Dcopy-before-write.c208 static BlockReq * coroutine_fn GRAPH_RDLOCK
213 BlockReq *req = g_new(BlockReq, 1); in cbw_snapshot_read_lock()
235 *req = (BlockReq) {.offset = -1, .bytes = -1}; in cbw_snapshot_read_lock()
246 cbw_snapshot_read_unlock(BlockDriverState *bs, BlockReq *req) in cbw_snapshot_read_unlock()
265 BlockReq *req; in cbw_co_preadv_snapshot()
300 BlockReq *req; in cbw_co_snapshot_block_status()
H A Dblock-copy.c107 BlockReq req;