M_IGEO
bno = round_up(XFS_AGFL_BLOCK(mp) + 1, M_IGEO(mp)->cluster_align);
bno = round_down(eoag, M_IGEO(mp)->cluster_align);
return M_IGEO(ip->i_mount)->attr_fork_offset;
ineed = M_IGEO(mp)->ialloc_min_blks;
ineed += M_IGEO(mp)->cluster_align;
struct xfs_ino_geometry *igeo = M_IGEO(mp);
M_IGEO(mp)->ialloc_blks, &XFS_RMAP_OINFO_INODES,
rec.ir_startino + M_IGEO(mp)->ialloc_inos <= agino)
if (M_IGEO(mp)->blocks_per_cluster == 1) {
if (M_IGEO(mp)->inoalign_mask) {
offset_agbno = agbno & M_IGEO(mp)->inoalign_mask;
((offset_agbno / M_IGEO(mp)->blocks_per_cluster) *
M_IGEO(mp)->blocks_per_cluster);
if (imap->im_agbno + M_IGEO(mp)->blocks_per_cluster >
imap->im_agbno, M_IGEO(mp)->blocks_per_cluster,
be32_to_cpu(agi->agi_level) > M_IGEO(mp)->inobt_maxlevels)
be32_to_cpu(agi->agi_free_level) > M_IGEO(mp)->inobt_maxlevels))
struct xfs_ino_geometry *igeo = M_IGEO(mp);
struct xfs_ino_geometry *igeo = M_IGEO(mp);
nbufs = length / M_IGEO(mp)->blocks_per_cluster;
(j * M_IGEO(mp)->blocks_per_cluster));
mp->m_bsize * M_IGEO(mp)->blocks_per_cluster,
for (i = 0; i < M_IGEO(mp)->inodes_per_cluster; i++) {
struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp);
return M_IGEO(cur->bc_mp)->inobt_mxr[level != 0];
if (level >= M_IGEO(mp)->inobt_maxlevels)
M_IGEO(mp)->inobt_mxr[level != 0]);
return M_IGEO(cur->bc_mp)->inobt_mnr[level != 0];
M_IGEO(mp)->inobt_maxlevels, xfs_inobt_cur_cache);
M_IGEO(mp)->inobt_maxlevels, xfs_inobt_cur_cache);
if (M_IGEO(mp)->inobt_mxr[0] == 0)
return xfs_btree_calc_size(M_IGEO(mp)->inobt_mnr,
return xfs_btree_calc_size(M_IGEO(mp)->inobt_mnr, len);
XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster),
return xfs_calc_buf_res(M_IGEO(mp)->inobt_maxlevels,
res += xfs_calc_buf_res(M_IGEO(mp)->ialloc_blks, size);
2 * M_IGEO(mp)->inode_cluster_size;
M_IGEO(mp)->inode_cluster_size;
(xfs_has_finobt(mp) ? M_IGEO(mp)->inobt_maxlevels : 0)
(M_IGEO(mp)->ialloc_blks + \
((xfs_has_finobt(mp) ? 2 : 1) * M_IGEO(mp)->inobt_maxlevels))
struct xfs_ino_geometry *igeo = M_IGEO(sc->mp);
.maxlevels = M_IGEO(sc->mp)->inobt_maxlevels,
.maxlevels = M_IGEO(sc->mp)->inobt_maxlevels,
M_IGEO(mp)->inodes_per_cluster);
XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster),
M_IGEO(mp)->blocks_per_cluster,
xchk_xref_is_only_owned_by(bs->sc, agbno, M_IGEO(mp)->blocks_per_cluster,
cluster_base += M_IGEO(bs->sc->mp)->inodes_per_cluster) {
struct xfs_ino_geometry *igeo = M_IGEO(mp);
struct xfs_ino_geometry *igeo = M_IGEO(mp);
struct xfs_ino_geometry *igeo = M_IGEO(mp);
struct xfs_ino_geometry *igeo = M_IGEO(mp);
XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster),
if (dq->q_ino.hardlimit > M_IGEO(mp)->maxicount)
(BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) {
M_IGEO(mp)->maxicount = XFS_FSB_TO_INO(mp, icount);
M_IGEO(mp)->maxicount = 0;
M_IGEO(mp)->min_folio_order);
M_IGEO(mp)->min_folio_order);
struct xfs_ino_geometry *igeo = M_IGEO(mp);
struct xfs_ino_geometry *igeo = M_IGEO(mp);
ilf->ilf_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster);
struct xfs_ino_geometry *igeo = M_IGEO(mp);
struct xfs_ino_geometry *igeo = M_IGEO(mp);
levels = max(mp->m_alloc_maxlevels, M_IGEO(mp)->inobt_maxlevels);
struct xfs_ino_geometry *igeo = M_IGEO(mp);
if (M_IGEO(mp)->maxicount) {
if (M_IGEO(mp)->maxicount)
M_IGEO(mp)->maxicount);