Home
last modified time | relevance | path

Searched refs:new_bytes (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/block/
H A Dreqlist.c67 void coroutine_fn reqlist_shrink_req(BlockReq *req, int64_t new_bytes) in reqlist_shrink_req() argument
69 if (new_bytes == req->bytes) { in reqlist_shrink_req()
73 assert(new_bytes > 0 && new_bytes < req->bytes); in reqlist_shrink_req()
75 req->bytes = new_bytes; in reqlist_shrink_req()
H A Dblock-copy.c233 int64_t new_bytes) in block_copy_task_shrink() argument
236 if (new_bytes == task->req.bytes) { in block_copy_task_shrink()
240 assert(new_bytes > 0 && new_bytes < task->req.bytes); in block_copy_task_shrink()
242 task->s->in_flight_bytes -= task->req.bytes - new_bytes; in block_copy_task_shrink()
244 task->req.offset + new_bytes, in block_copy_task_shrink()
245 task->req.bytes - new_bytes); in block_copy_task_shrink()
247 reqlist_shrink_req(&task->req, new_bytes); in block_copy_task_shrink()
/openbmc/qemu/include/block/
H A Dreqlist.h68 void coroutine_fn reqlist_shrink_req(BlockReq *req, int64_t new_bytes);