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

Method as_mut_ptr

block/src/aligned_operation.rs:49–51  ·  view source on GitHub ↗

Gets the raw pointer to the aligned buffer.

(&mut self)

Source from the content-addressed store, hash-verified

47
48 /// Gets the raw pointer to the aligned buffer.
49 pub fn as_mut_ptr(&mut self) -> *mut u8 {
50 self.aligned_ptr
51 }
52
53 /// Returns the aligned buffer as a slice.
54 pub fn as_bytes(&self) -> &[u8] {

Callers 15

parse_tdvf_sectionsFunction · 0.80
unblock_all_signalsFunction · 0.80
start_sigwinch_listenerFunction · 0.80
statfs_get_bsizeFunction · 0.80
is_hardlinkMethod · 0.80
wait_for_readableFunction · 0.80
load_igvmFunction · 0.80
rate_limited_copyFunction · 0.80
read_fromMethod · 0.80
micro_bench_aio_drainFunction · 0.80
read_iovecFunction · 0.80
probe_sparse_supportFunction · 0.80

Calls

no outgoing calls