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

Method max_valid_cluster_offset

block/src/qcow/refcount.rs:103–105  ·  view source on GitHub ↗

Returns the maximum valid cluster offset in the raw file for this refcount table.

(&self)

Source from the content-addressed store, hash-verified

101
102 /// Returns the maximum valid cluster offset in the raw file for this refcount table.
103 pub fn max_valid_cluster_offset(&self) -> u64 {
104 self.max_valid_cluster_offset
105 }
106
107 /// Returns `NeedNewCluster` if a new cluster needs to be allocated for refcounts. If an
108 /// existing cluster needs to be read, `NeedCluster(addr)` is returned. The Caller should

Callers 2

get_new_clusterMethod · 0.80
get_new_clusterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected