Home
last modified time | relevance | path

Searched refs:M_IGEO (Results 1 – 15 of 15) sorted by relevance

/fs/xfs/libxfs/
Dxfs_ialloc_btree.c29 return M_IGEO(cur->bc_mp)->inobt_mnr[level != 0]; in xfs_inobt_get_minrecs()
165 return M_IGEO(cur->bc_mp)->inobt_mxr[level != 0]; in xfs_inobt_get_maxrecs()
282 if (level >= M_IGEO(mp)->inobt_maxlevels) in xfs_inobt_verify()
286 M_IGEO(mp)->inobt_mxr[level != 0]); in xfs_inobt_verify()
548 if (M_IGEO(mp)->inobt_mxr[0] == 0) in xfs_inobt_max_size()
560 return xfs_btree_calc_size(M_IGEO(mp)->inobt_mnr, in xfs_inobt_max_size()
650 return xfs_btree_calc_size(M_IGEO(mp)->inobt_mnr, len); in xfs_iallocbt_calc_size()
Dxfs_trans_space.h59 (M_IGEO(mp)->ialloc_blks + \
61 (M_IGEO(mp)->inobt_maxlevels - 1)))
98 M_IGEO(mp)->inobt_maxlevels : 0)
Dxfs_ialloc.c285 nbufs = length / M_IGEO(mp)->blocks_per_cluster; in xfs_ialloc_inode_init()
329 (j * M_IGEO(mp)->blocks_per_cluster)); in xfs_ialloc_inode_init()
332 M_IGEO(mp)->blocks_per_cluster, in xfs_ialloc_inode_init()
340 for (i = 0; i < M_IGEO(mp)->inodes_per_cluster; i++) { in xfs_ialloc_inode_init()
621 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc()
1004 ineed = M_IGEO(mp)->ialloc_min_blks; in xfs_ialloc_ag_select()
1006 ineed += M_IGEO(mp)->cluster_align; in xfs_ialloc_ag_select()
1692 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_dialloc()
1842 M_IGEO(mp)->ialloc_blks, in xfs_difree_inode_chunk()
2252 rec.ir_startino + M_IGEO(mp)->ialloc_inos <= agino) in xfs_imap_lookup()
[all …]
Dxfs_types.c81 bno = round_up(XFS_AGFL_BLOCK(mp) + 1, M_IGEO(mp)->cluster_align); in xfs_agino_range()
88 bno = round_down(eoag, M_IGEO(mp)->cluster_align); in xfs_agino_range()
Dxfs_trans_resv.c137 return xfs_calc_buf_res(M_IGEO(mp)->inobt_maxlevels, in xfs_calc_inobt_res()
195 res += xfs_calc_buf_res(M_IGEO(mp)->ialloc_blks, size); in xfs_calc_inode_chunk_res()
309 2 * M_IGEO(mp)->inode_cluster_size; in xfs_calc_iunlink_remove_reservation()
347 M_IGEO(mp)->inode_cluster_size; in xfs_calc_iunlink_add_reservation()
Dxfs_inode_buf.c36 for (i = 0; i < M_IGEO(mp)->inodes_per_cluster; i++) { in xfs_inobp_check()
/fs/xfs/scrub/
Dialloc.c226 M_IGEO(mp)->inodes_per_cluster); in xchk_iallocbt_check_cluster()
247 imap.im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster); in xchk_iallocbt_check_cluster()
272 M_IGEO(mp)->blocks_per_cluster, in xchk_iallocbt_check_cluster()
277 xchk_xref_is_owned_by(bs->sc, agbno, M_IGEO(mp)->blocks_per_cluster, in xchk_iallocbt_check_cluster()
329 cluster_base += M_IGEO(bs->sc->mp)->inodes_per_cluster) { in xchk_iallocbt_check_clusters()
351 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xchk_iallocbt_rec_alignment()
Dquota.c136 if (ihard > M_IGEO(mp)->maxicount) in xchk_quota_item()
/fs/xfs/
Dxfs_fsops.c250 M_IGEO(mp)->maxicount = XFS_FSB_TO_INO(mp, icount); in xfs_growfs_data()
252 M_IGEO(mp)->maxicount = 0; in xfs_growfs_data()
Dxfs_mount.h213 #define M_IGEO(mp) (&(mp)->m_ino_geo) macro
Dxfs_super.c572 if (M_IGEO(mp)->maxicount) { in xfs_set_inode_alloc()
1113 if (M_IGEO(mp)->maxicount) in xfs_fs_statfs()
1116 M_IGEO(mp)->maxicount); in xfs_fs_statfs()
Dxfs_iwalk.c93 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iwalk_ichunk_ra()
Dxfs_mount.c635 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mountfs()
Dxfs_inode.c2534 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_ifree_cluster()
3474 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iflush_cluster()
Dxfs_log_recover.c2817 (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { in xlog_recover_buffer_pass2()
3772 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xlog_recover_do_icreate_pass2()