Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloud-hypervisor/cloud-hypervisor
/ as_raw_fd
Method
as_raw_fd
block/src/async_io.rs:56–58 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
54
55
impl AsRawFd for BorrowedDiskFd<'_> {
56
fn as_raw_fd(&self) -> RawFd {
57
self.raw_fd
58
}
59
}
60
61
#[derive(Error, Debug)]
Callers
15
fd
Method · 0.45
create_async_io
Method · 0.45
fd
Method · 0.45
probe_sparse_support
Function · 0.45
preallocate_disk
Function · 0.45
query_device_size
Function · 0.45
is_block_device
Method · 0.45
query_block_size
Method · 0.45
query_file_alignment
Method · 0.45
probe
Method · 0.45
test_dio_write_read_with_probed_alignment
Function · 0.45
test_query_device_size_sparse_file_punch_hole
Function · 0.45
Calls
no outgoing calls
Tested by
9
test_dio_write_read_with_probed_alignment
Function · 0.36
test_query_device_size_sparse_file_punch_hole
Function · 0.36
test_punch_hole
Function · 0.36
test_write_zeroes
Function · 0.36
test_punch_hole_multiple_operations
Function · 0.36
test_pread_alloc
Function · 0.36
test_punch_hole
Function · 0.36
test_write_zeroes
Function · 0.36
test_punch_hole_multiple_operations
Function · 0.36