Searched refs:agfl (Results 1 – 3 of 3) sorted by relevance
589 struct xfs_agfl *agfl; in xrep_agfl_init_header() local599 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()
623 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp); in xfs_agflblock_init() local628 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()
606 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp); in xfs_agfl_verify() local619 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()