Lines Matching refs:agfl
591 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp);
604 if (!xfs_verify_magic(bp, agfl->agfl_magicnum))
606 if (!uuid_equal(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid))
614 if (bp->b_pag && be32_to_cpu(agfl->agfl_seqno) != bp->b_pag->pag_agno)
2306 * account extra agfl blocks because we are about to defer free them,
2355 * Check the agfl fields of the agf for inconsistency or corruption. The purpose
2356 * is to detect an agfl header padding mismatch between current and early v5
2358 * on-disk flcount and the active [first, last] range of a wrapped agfl. This
2359 * may also catch variants of agfl count corruption unrelated to padding. Either
2360 * way, we'll reset the agfl and warn the user.
2362 * Return true if a reset is required before the agfl can be used, false
2376 /* no agfl header on v4 supers */
2392 * agfl padding mismatch manifests as an inconsistent flcount.
2405 * Reset the agfl to an empty state. Ignore/drop any existing blocks since the
2406 * agfl content cannot be trusted. Warn the user that a repair is required to
2409 * The purpose of this mechanism is to handle filesystems affected by the agfl
2412 * inevitable crash from use of an invalid agfl block.
2539 /* reset a padding mismatched agfl before final free space check */
2552 * agfl buffers on error. This handles the case where we error out and
2583 /* defer agfl frees */