MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / next_completed_request

Method next_completed_request

block/src/raw_sync.rs:106–108  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

104 }
105
106 fn next_completed_request(&mut self) -> Option<(u64, i32)> {
107 self.completion_list.pop_front()
108 }
109
110 fn punch_hole(&mut self, offset: u64, length: u64, user_data: u64) -> AsyncIoResult<()> {
111 let mode = FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE;

Callers 7

micro_bench_aio_drainFunction · 0.45
drain_completionsFunction · 0.45
drain_async_completionsFunction · 0.45
test_punch_holeFunction · 0.45
test_write_zeroesFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_punch_holeFunction · 0.36
test_write_zeroesFunction · 0.36