Searched refs:sb_agblocks (Results 1 – 14 of 14) sorted by relevance
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_sb.c | 607 if (sbp->sb_agblocks) { in xfs_validate_sb_common() 608 agcount = div_u64_rem(sbp->sb_dblocks, sbp->sb_agblocks, &rem); in xfs_validate_sb_common() 636 XFS_FSB_TO_B(mp, sbp->sb_agblocks) < XFS_MIN_AG_BYTES || in xfs_validate_sb_common() 637 XFS_FSB_TO_B(mp, sbp->sb_agblocks) > XFS_MAX_AG_BYTES || in xfs_validate_sb_common() 638 sbp->sb_agblklog != xfs_highbit32(sbp->sb_agblocks - 1) + 1 || in xfs_validate_sb_common() 824 to->sb_agblocks = be32_to_cpu(from->sb_agblocks); in __xfs_sb_from_disk() 1004 to->sb_agblocks = cpu_to_be32(from->sb_agblocks); in xfs_sb_to_disk() 1273 ags->blocks = mp->m_sb.sb_agblocks; in xfs_sb_mount_common() 1518 geo->agblocks = sbp->sb_agblocks; in xfs_fs_geometry()
|
| H A D | xfs_ag.c | 144 return mp->m_sb.sb_agblocks; in __xfs_ag_block_count() 145 return dblocks - (agno * mp->m_sb.sb_agblocks); in __xfs_ag_block_count() 878 nb_mod = do_div(nb_div, mp->m_sb.sb_agblocks); in xfs_growfs_compute_deltas() 882 nb = nb_div * mp->m_sb.sb_agblocks; in xfs_growfs_compute_deltas() 886 nb = nb_div * mp->m_sb.sb_agblocks; in xfs_growfs_compute_deltas()
|
| H A D | xfs_format.h | 107 xfs_agblock_t sb_agblocks; /* size of an allocation group */ member 205 __be32 sb_agblocks; /* size of an allocation group */ member 710 (xfs_fsblock_t)(agno) * (mp)->m_sb.sb_agblocks + (agbno)))
|
| H A D | xfs_inode_buf.c | 898 if (!rt_flag && extsize > mp->m_sb.sb_agblocks / 2) in xfs_inode_validate_extsize() 970 if (!rt_flag && cowextsize > mp->m_sb.sb_agblocks / 2) in xfs_inode_validate_cowextsize()
|
| H A D | xfs_ondisk.h | 239 XFS_CHECK_SB_OFFSET(sb_agblocks, 84); in xfs_check_ondisk_structs()
|
| /linux/fs/xfs/ |
| H A D | xfs_fsops.c | 67 (xfs_rfsblock_t)mp->m_sb.sb_agblocks); in xfs_resizefs_init_new_ags() 69 id->agsize = mp->m_sb.sb_agblocks; in xfs_resizefs_init_new_ags()
|
| H A D | xfs_mount.h | 688 do_div(ld, mp->m_sb.sb_agblocks); in xfs_daddr_to_agno() 696 return (xfs_agblock_t) do_div(ld, mp->m_sb.sb_agblocks); in xfs_daddr_to_agbno()
|
| H A D | xfs_filestream.c | 72 minfree = mp->m_sb.sb_agblocks / 50; in xfs_filestream_pick_ag()
|
| H A D | xfs_mount.c | 323 if (mp->m_dalign && (mp->m_sb.sb_agblocks % mp->m_dalign)) { in xfs_validate_new_dalign() 326 mp->m_sb.sb_agblocks); in xfs_validate_new_dalign()
|
| H A D | xfs_super.c | 327 icount += sbp->sb_agblocks - 1; in xfs_set_inode_alloc() 328 do_div(icount, sbp->sb_agblocks); in xfs_set_inode_alloc() 335 agino = XFS_AGB_TO_AGINO(mp, sbp->sb_agblocks - 1); in xfs_set_inode_alloc()
|
| /linux/fs/xfs/scrub/ |
| H A D | refcount_repair.c | 713 error = xfarray_create("reference count records", mp->m_sb.sb_agblocks, in xrep_refcountbt()
|
| H A D | agheader.c | 193 if (sb->sb_agblocks != cpu_to_be32(mp->m_sb.sb_agblocks)) in xchk_superblock()
|
| H A D | refcount.c | 541 xchk_refcountbt_xref_gaps(sc, &rrc, sc->mp->m_sb.sb_agblocks); in xchk_refcountbt()
|
| H A D | alloc_repair.c | 878 error = xfarray_create("free space records", mp->m_sb.sb_agblocks / 2, in xrep_allocbt()
|