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

Method read_vectored

block/src/vhdx_sync.rs:127–140  ·  view source on GitHub ↗
(
        &mut self,
        offset: libc::off_t,
        iovecs: &[libc::iovec],
        user_data: u64,
    )

Source from the content-addressed store, hash-verified

125 }
126
127 fn read_vectored(
128 &mut self,
129 offset: libc::off_t,
130 iovecs: &[libc::iovec],
131 user_data: u64,
132 ) -> AsyncIoResult<()> {
133 self.vhdx_file.lock().unwrap().read_vectored_sync(
134 offset,
135 iovecs,
136 user_data,
137 &self.eventfd,
138 &mut self.completion_list,
139 )
140 }
141
142 fn write_vectored(
143 &mut self,

Callers

nothing calls this directly

Calls 1

read_vectored_syncMethod · 0.80

Tested by

no test coverage detected