Lines Matching refs:agfl
638 * This means we can only check that all agfl entries contain valid or null
655 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp);
662 if (!xfs_verify_magic(bp, agfl->agfl_magicnum))
664 if (!uuid_equal(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid))
672 if (bp->b_pag && be32_to_cpu(agfl->agfl_seqno) != bp->b_pag->pag_agno)
2344 * account extra agfl blocks because we are about to defer free them,
2393 * Check the agfl fields of the agf for inconsistency or corruption.
2395 * The original purpose was to detect an agfl header padding mismatch between
2398 * a wrapped agfl.
2400 * However, we need to use these same checks to catch agfl count corruptions
2402 * way, we need to reset the agfl and warn the user.
2404 * Return true if a reset is required before the agfl can be used, false
2430 * agfl padding mismatch manifests as an inconsistent flcount.
2443 * Reset the agfl to an empty state. Ignore/drop any existing blocks since the
2444 * agfl content cannot be trusted. Warn the user that a repair is required to
2447 * The purpose of this mechanism is to handle filesystems affected by the agfl
2450 * inevitable crash from use of an invalid agfl block.
2688 /* reset a padding mismatched agfl before final free space check */
2710 * agfl buffers on error. This handles the case where we error out and
2742 /* defer agfl frees */
3026 * the agfl indexes for consistency when we initialise the perag from the AGF