Skip to main content

handle_count

Function handle_count 

Source
pub open spec fn handle_count(frames: Map<FrameId, FrameEntry>, idx: int) -> nat
Expand description
{ frames.dom().filter(|fid: FrameId| frame_to_index(frames[fid].paddr) == idx).len() }

Number of outstanding Frame handles whose paddr maps to slot idx.