Searched refs:new_bytes (Results 1 – 3 of 3) sorted by relevance
67 void coroutine_fn reqlist_shrink_req(BlockReq *req, int64_t new_bytes) in reqlist_shrink_req() argument69 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()
233 int64_t new_bytes) in block_copy_task_shrink() argument236 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()
68 void coroutine_fn reqlist_shrink_req(BlockReq *req, int64_t new_bytes);