Function check_table

Source
fn check_table(
    name: &str,
    offset: u64,
    entries: usize,
    entry_size: usize,
    max_entries: usize,
    cluster_size: usize,
) -> Result<()>
Expand description

Check whether the given table offset/size is valid.

Also works for refcount blocks (with cheating, because their entry size can be less than a byte), which is why it is outside of Table.