Home
last modified time | relevance | path

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

/fs/xfs/scrub/
Dagheader_repair.c583 struct xfs_agfl *agfl; in xrep_agfl_init_header() local
593 agfl = XFS_BUF_TO_AGFL(agfl_bp); in xrep_agfl_init_header()
594 memset(agfl, 0xFF, BBTOB(agfl_bp->b_length)); in xrep_agfl_init_header()
595 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); in xrep_agfl_init_header()
596 agfl->agfl_seqno = cpu_to_be32(sc->sa.agno); in xrep_agfl_init_header()
597 uuid_copy(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid); in xrep_agfl_init_header()
Dcommon.h124 struct xfs_buf **agfl);
Dcommon.c407 struct xfs_buf **agfl) in xchk_ag_read_headers() argument
420 error = xfs_alloc_read_agfl(mp, sc->tp, agno, agfl); in xchk_ag_read_headers()
/fs/xfs/libxfs/
Dxfs_ag.c291 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp); in xfs_agflblock_init() local
296 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); in xfs_agflblock_init()
297 agfl->agfl_seqno = cpu_to_be32(id->agno); in xfs_agflblock_init()
298 uuid_copy(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid); in xfs_agflblock_init()
Dxfs_alloc.c555 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp); in xfs_agfl_verify() local
567 if (!xfs_verify_magic(bp, agfl->agfl_magicnum)) in xfs_agfl_verify()
569 if (!uuid_equal(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid)) in xfs_agfl_verify()
577 if (bp->b_pag && be32_to_cpu(agfl->agfl_seqno) != bp->b_pag->pag_agno) in xfs_agfl_verify()
581 if (be32_to_cpu(agfl->agfl_bno[i]) != NULLAGBLOCK && in xfs_agfl_verify()
582 be32_to_cpu(agfl->agfl_bno[i]) >= mp->m_sb.sb_agblocks) in xfs_agfl_verify()