Skip to main content

meta_generation_matches

Function meta_generation_matches 

Source
pub fn meta_generation_matches(phys: PhysAddr, expected: u32) -> bool
Expand description

Returns true if MetaSlot::generation matches expected for phys (epoch check for use-after-free guards).