Lines Matching refs:bytes
21 int64_t bytes) in reqlist_init_req() argument
25 .bytes = bytes, in reqlist_init_req()
32 int64_t bytes) in reqlist_find_conflict() argument
37 if (ranges_overlap(offset, bytes, r->offset, r->bytes)) { in reqlist_find_conflict()
46 int64_t bytes, CoMutex *lock) in reqlist_wait_one() argument
48 BlockReq *r = reqlist_find_conflict(reqs, offset, bytes); in reqlist_wait_one()
60 int64_t bytes, CoMutex *lock) in reqlist_wait_all() argument
62 while (reqlist_wait_one(reqs, offset, bytes, lock)) { in reqlist_wait_all()
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()