Searched refs:agfl (Results 1 - 3 of 3) sorted by relevance

/linux-master/fs/xfs/scrub/
H A Dagheader_repair.c673 struct xfs_agfl *agfl; local
682 agfl = XFS_BUF_TO_AGFL(agfl_bp);
683 memset(agfl, 0xFF, BBTOB(agfl_bp->b_length));
684 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC);
685 agfl->agfl_seqno = cpu_to_be32(sc->sa.pag->pag_agno);
686 uuid_copy(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid);
/linux-master/fs/xfs/libxfs/
H A Dxfs_ag.c713 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp); local
718 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC);
719 agfl->agfl_seqno = cpu_to_be32(id->agno);
720 uuid_copy(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid);
H A Dxfs_alloc.c667 * This means we can only check that all agfl entries contain valid or null
684 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp); local
691 if (!xfs_verify_magic(bp, agfl->agfl_magicnum))
693 if (!uuid_equal(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid))
701 if (bp->b_pag && be32_to_cpu(agfl->agfl_seqno) != bp->b_pag->pag_agno)
2405 * account extra agfl blocks because we are about to defer free them,
2454 * Check the agfl fields of the agf for inconsistency or corruption.
2456 * The original purpose was to detect an agfl header padding mismatch between
2459 * a wrapped agfl.
2461 * However, we need to use these same checks to catch agfl coun
[all...]

Completed in 121 milliseconds