Lines Matching refs:agbno
31 xfs_agblock_t agbno; in xchk_superblock_xref() local
37 agbno = XFS_SB_BLOCK(mp); in xchk_superblock_xref()
40 if (!xchk_xref_process_error(sc, agno, agbno, &error)) in xchk_superblock_xref()
43 xchk_xref_is_used_space(sc, agbno, 1); in xchk_superblock_xref()
44 xchk_xref_is_not_inode_chunk(sc, agbno, 1); in xchk_superblock_xref()
45 xchk_xref_is_owned_by(sc, agbno, 1, &XFS_RMAP_OINFO_FS); in xchk_superblock_xref()
46 xchk_xref_is_not_shared(sc, agbno, 1); in xchk_superblock_xref()
394 xfs_agblock_t agbno; in xchk_agf_xref_cntbt() local
413 error = xfs_alloc_get_rec(sc->sa.cnt_cur, &agbno, &blocks, &have); in xchk_agf_xref_cntbt()
495 xfs_agblock_t agbno; in xchk_agf_xref() local
500 agbno = XFS_AGF_BLOCK(mp); in xchk_agf_xref()
504 xchk_xref_is_used_space(sc, agbno, 1); in xchk_agf_xref()
507 xchk_xref_is_not_inode_chunk(sc, agbno, 1); in xchk_agf_xref()
508 xchk_xref_is_owned_by(sc, agbno, 1, &XFS_RMAP_OINFO_FS); in xchk_agf_xref()
510 xchk_xref_is_not_shared(sc, agbno, 1); in xchk_agf_xref()
525 xfs_agblock_t agbno; in xchk_agf() local
548 agbno = be32_to_cpu(agf->agf_roots[XFS_BTNUM_BNO]); in xchk_agf()
549 if (!xfs_verify_agbno(pag, agbno)) in xchk_agf()
552 agbno = be32_to_cpu(agf->agf_roots[XFS_BTNUM_CNT]); in xchk_agf()
553 if (!xfs_verify_agbno(pag, agbno)) in xchk_agf()
565 agbno = be32_to_cpu(agf->agf_roots[XFS_BTNUM_RMAP]); in xchk_agf()
566 if (!xfs_verify_agbno(pag, agbno)) in xchk_agf()
575 agbno = be32_to_cpu(agf->agf_refcount_root); in xchk_agf()
576 if (!xfs_verify_agbno(pag, agbno)) in xchk_agf()
622 xfs_agblock_t agbno) in xchk_agfl_block_xref() argument
627 xchk_xref_is_used_space(sc, agbno, 1); in xchk_agfl_block_xref()
628 xchk_xref_is_not_inode_chunk(sc, agbno, 1); in xchk_agfl_block_xref()
629 xchk_xref_is_owned_by(sc, agbno, 1, &XFS_RMAP_OINFO_AG); in xchk_agfl_block_xref()
630 xchk_xref_is_not_shared(sc, agbno, 1); in xchk_agfl_block_xref()
637 xfs_agblock_t agbno, in xchk_agfl_block() argument
643 if (xfs_verify_agbno(sc->sa.pag, agbno) && in xchk_agfl_block()
645 sai->entries[sai->nr_entries++] = agbno; in xchk_agfl_block()
649 xchk_agfl_block_xref(sc, agbno); in xchk_agfl_block()
674 xfs_agblock_t agbno; in xchk_agfl_xref() local
679 agbno = XFS_AGFL_BLOCK(mp); in xchk_agfl_xref()
683 xchk_xref_is_used_space(sc, agbno, 1); in xchk_agfl_xref()
684 xchk_xref_is_not_inode_chunk(sc, agbno, 1); in xchk_agfl_xref()
685 xchk_xref_is_owned_by(sc, agbno, 1, &XFS_RMAP_OINFO_FS); in xchk_agfl_xref()
686 xchk_xref_is_not_shared(sc, agbno, 1); in xchk_agfl_xref()
824 xfs_agblock_t agbno; in xchk_agi_xref() local
829 agbno = XFS_AGI_BLOCK(mp); in xchk_agi_xref()
833 xchk_xref_is_used_space(sc, agbno, 1); in xchk_agi_xref()
834 xchk_xref_is_not_inode_chunk(sc, agbno, 1); in xchk_agi_xref()
836 xchk_xref_is_owned_by(sc, agbno, 1, &XFS_RMAP_OINFO_FS); in xchk_agi_xref()
837 xchk_xref_is_not_shared(sc, agbno, 1); in xchk_agi_xref()
853 xfs_agblock_t agbno; in xchk_agi() local
877 agbno = be32_to_cpu(agi->agi_root); in xchk_agi()
878 if (!xfs_verify_agbno(pag, agbno)) in xchk_agi()
886 agbno = be32_to_cpu(agi->agi_free_root); in xchk_agi()
887 if (!xfs_verify_agbno(pag, agbno)) in xchk_agi()