Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/scrub/
Dagheader_repair.c589 struct xfs_agfl *agfl; in xrep_agfl_init_header() local
599 agfl = XFS_BUF_TO_AGFL(agfl_bp); in xrep_agfl_init_header()
600 memset(agfl, 0xFF, BBTOB(agfl_bp->b_length)); in xrep_agfl_init_header()
601 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); in xrep_agfl_init_header()
602 agfl->agfl_seqno = cpu_to_be32(sc->sa.pag->pag_agno); in xrep_agfl_init_header()
603 uuid_copy(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid); in xrep_agfl_init_header()
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_ag.c623 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp); in xfs_agflblock_init() local
628 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); in xfs_agflblock_init()
629 agfl->agfl_seqno = cpu_to_be32(id->agno); in xfs_agflblock_init()
630 uuid_copy(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid); in xfs_agflblock_init()
Dxfs_alloc.c606 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp); in xfs_agfl_verify() local
619 if (!xfs_verify_magic(bp, agfl->agfl_magicnum)) in xfs_agfl_verify()
621 if (!uuid_equal(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid)) in xfs_agfl_verify()
629 if (bp->b_pag && be32_to_cpu(agfl->agfl_seqno) != bp->b_pag->pag_agno) in xfs_agfl_verify()