Searched refs:agfl (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | agheader_repair.c | 575 struct xfs_agfl *agfl; in xrep_agfl_init_header() local 585 agfl = XFS_BUF_TO_AGFL(agfl_bp); in xrep_agfl_init_header() 586 memset(agfl, 0xFF, BBTOB(agfl_bp->b_length)); in xrep_agfl_init_header() 587 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); in xrep_agfl_init_header() 588 agfl->agfl_seqno = cpu_to_be32(sc->sa.agno); in xrep_agfl_init_header() 589 uuid_copy(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid); in xrep_agfl_init_header()
|
H A D | common.h | 124 struct xfs_buf **agfl);
|
H A D | common.c | 407 struct xfs_buf **agfl) in xchk_ag_read_headers() 420 error = xfs_alloc_read_agfl(mp, sc->tp, agno, agfl); in xchk_ag_read_headers() 402 xchk_ag_read_headers( struct xfs_scrub *sc, xfs_agnumber_t agno, struct xfs_buf **agi, struct xfs_buf **agf, struct xfs_buf **agfl) xchk_ag_read_headers() argument
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | agheader_repair.c | 687 struct xfs_agfl *agfl; in xrep_agfl_init_header() local 696 agfl = XFS_BUF_TO_AGFL(agfl_bp); in xrep_agfl_init_header() 697 memset(agfl, 0xFF, BBTOB(agfl_bp->b_length)); in xrep_agfl_init_header() 698 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); in xrep_agfl_init_header() 699 agfl->agfl_seqno = cpu_to_be32(sc->sa.pag->pag_agno); in xrep_agfl_init_header() 700 uuid_copy(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid); in xrep_agfl_init_header()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_ag.c | 294 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp); in xfs_agflblock_init() local 299 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); in xfs_agflblock_init() 300 agfl->agfl_seqno = cpu_to_be32(id->agno); in xfs_agflblock_init() 301 uuid_copy(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid); in xfs_agflblock_init()
|
H A D | xfs_alloc.c | 591 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp); in xfs_agfl_verify() local 604 if (!xfs_verify_magic(bp, agfl->agfl_magicnum)) in xfs_agfl_verify() 606 if (!uuid_equal(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid)) in xfs_agfl_verify() 614 if (bp->b_pag && be32_to_cpu(agfl->agfl_seqno) != bp->b_pag->pag_agno) in xfs_agfl_verify() 2306 * account extra agfl blocks because we are about to defer free them, in xfs_alloc_space_available() 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 an [all...] |
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_ag.c | 702 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp); in xfs_agflblock_init() local 707 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); in xfs_agflblock_init() 708 agfl->agfl_seqno = cpu_to_be32(id->agno); in xfs_agflblock_init() 709 uuid_copy(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid); in xfs_agflblock_init()
|
H A D | xfs_alloc.c | 638 * This means we can only check that all agfl entries contain valid or null 655 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp); in xfs_agfl_verify() local 662 if (!xfs_verify_magic(bp, agfl->agfl_magicnum)) in xfs_agfl_verify() 664 if (!uuid_equal(&agfl->agfl_uuid, &mp->m_sb.sb_meta_uuid)) in xfs_agfl_verify() 672 if (bp->b_pag && be32_to_cpu(agfl->agfl_seqno) != bp->b_pag->pag_agno) in xfs_agfl_verify() 2344 * account extra agfl blocks because we are about to defer free them, in xfs_alloc_space_available() 2393 * Check the agfl fields of the agf for inconsistency or corruption. 2395 * The original purpose was to detect an agfl header padding mismatch between 2398 * a wrapped agfl. 2400 * However, we need to use these same checks to catch agfl coun [all...] |
Completed in 17 milliseconds