Skip to main content

live_allocations_snapshot

Function live_allocations_snapshot 

Source
pub fn live_allocations_snapshot(
    out: &mut [VmallocLiveAllocationSnapshot],
) -> usize
Expand description

Copy live vmalloc allocations into out, in allocation-address order.

Returns the number of entries written. If out is too small, the snapshot is truncated; callers can compare the returned length with allocator totals to detect truncation.