Searched refs:M_IGEO (Results 1 – 20 of 20) sorted by relevance
| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_ialloc_btree.c | 33 return M_IGEO(cur->bc_mp)->inobt_mnr[level != 0]; in xfs_inobt_get_minrecs() 199 return M_IGEO(cur->bc_mp)->inobt_mxr[level != 0]; in xfs_inobt_get_maxrecs() 320 if (level >= M_IGEO(mp)->inobt_maxlevels) in xfs_inobt_verify() 324 M_IGEO(mp)->inobt_mxr[level != 0]); in xfs_inobt_verify() 486 M_IGEO(mp)->inobt_maxlevels, xfs_inobt_cur_cache); in xfs_inobt_init_cursor() 512 M_IGEO(mp)->inobt_maxlevels, xfs_inobt_cur_cache); in xfs_finobt_init_cursor() 723 if (M_IGEO(mp)->inobt_mxr[0] == 0) in xfs_inobt_max_size() 734 return xfs_btree_calc_size(M_IGEO(mp)->inobt_mnr, in xfs_inobt_max_size() 818 return xfs_btree_calc_size(M_IGEO(mp)->inobt_mnr, len); in xfs_iallocbt_calc_size()
|
| H A D | xfs_trans_space.h | 83 (M_IGEO(mp)->ialloc_blks + \ 84 ((xfs_has_finobt(mp) ? 2 : 1) * M_IGEO(mp)->inobt_maxlevels)) 108 (xfs_has_finobt(mp) ? M_IGEO(mp)->inobt_maxlevels : 0)
|
| H A D | xfs_ialloc.c | 320 nbufs = length / M_IGEO(mp)->blocks_per_cluster; in xfs_ialloc_inode_init() 364 (j * M_IGEO(mp)->blocks_per_cluster)); in xfs_ialloc_inode_init() 366 mp->m_bsize * M_IGEO(mp)->blocks_per_cluster, in xfs_ialloc_inode_init() 1780 ineed = M_IGEO(mp)->ialloc_min_blks; in xfs_dialloc_good_ag() 1782 ineed += M_IGEO(mp)->cluster_align; in xfs_dialloc_good_ag() 1895 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_dialloc() 2525 if (M_IGEO(mp)->blocks_per_cluster == 1) { in xfs_imap() 2541 if (M_IGEO(mp)->inoalign_mask) { in xfs_imap() 2555 M_IGEO(mp)->blocks_per_cluster); in xfs_imap() 2958 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_ialloc_setup_geometry() [all …]
|
| H A D | xfs_trans_resv.c | 158 return xfs_calc_buf_res(M_IGEO(mp)->inobt_maxlevels, in xfs_calc_inobt_res() 216 res += xfs_calc_buf_res(M_IGEO(mp)->ialloc_blks, size); in xfs_calc_inode_chunk_res() 571 2 * M_IGEO(mp)->inode_cluster_size; in xfs_calc_iunlink_remove_reservation() 635 M_IGEO(mp)->inode_cluster_size; in xfs_calc_iunlink_add_reservation()
|
| H A D | xfs_ag.c | 174 bno = round_up(XFS_AGFL_BLOCK(mp) + 1, M_IGEO(mp)->cluster_align); in __xfs_agino_range() 181 bno = round_down(eoag, M_IGEO(mp)->cluster_align); in __xfs_agino_range()
|
| H A D | xfs_bmap.c | 208 return M_IGEO(ip->i_mount)->attr_fork_offset; in xfs_default_attroffset()
|
| /linux-6.15/fs/xfs/scrub/ |
| H A D | ialloc.c | 377 M_IGEO(mp)->inodes_per_cluster); in xchk_iallocbt_check_cluster() 398 imap.im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster); in xchk_iallocbt_check_cluster() 423 M_IGEO(mp)->blocks_per_cluster, in xchk_iallocbt_check_cluster() 428 xchk_xref_is_only_owned_by(bs->sc, agbno, M_IGEO(mp)->blocks_per_cluster, in xchk_iallocbt_check_cluster() 479 cluster_base += M_IGEO(bs->sc->mp)->inodes_per_cluster) { in xchk_iallocbt_check_clusters() 501 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xchk_iallocbt_rec_alignment()
|
| H A D | ialloc_repair.c | 294 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xrep_ibt_process_cluster() 343 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xrep_ibt_check_inode_ext() 415 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xrep_ibt_record_inode_blocks()
|
| H A D | quota.c | 193 if (dq->q_ino.hardlimit > M_IGEO(mp)->maxicount) in xchk_quota_item()
|
| H A D | agheader_repair.c | 1728 .maxlevels = M_IGEO(sc->mp)->inobt_maxlevels, in xrep_agi() 1733 .maxlevels = M_IGEO(sc->mp)->inobt_maxlevels, in xrep_agi()
|
| H A D | agheader.c | 980 struct xfs_ino_geometry *igeo = M_IGEO(sc->mp); in xchk_agi()
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_fsops.c | 334 M_IGEO(mp)->maxicount = XFS_FSB_TO_INO(mp, icount); in xfs_growfs_data() 336 M_IGEO(mp)->maxicount = 0; in xfs_growfs_data()
|
| H A D | xfs_icreate_item.c | 150 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xlog_recover_icreate_commit_pass2()
|
| H A D | xfs_mount.c | 633 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mount_setup_inode_geom() 664 levels = max(mp->m_alloc_maxlevels, M_IGEO(mp)->inobt_maxlevels); in xfs_agbtree_compute_maxlevels() 694 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mountfs()
|
| H A D | xfs_iwalk.c | 102 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iwalk_ichunk_ra()
|
| H A D | xfs_mount.h | 338 #define M_IGEO(mp) (&(mp)->m_ino_geo) macro
|
| H A D | xfs_super.c | 305 if (M_IGEO(mp)->maxicount) { in xfs_set_inode_alloc() 905 if (M_IGEO(mp)->maxicount) in xfs_statfs_inodes() 907 M_IGEO(mp)->maxicount); in xfs_statfs_inodes()
|
| H A D | xfs_icache.c | 107 M_IGEO(mp)->min_folio_order); in xfs_inode_alloc() 350 M_IGEO(mp)->min_folio_order); in xfs_reinit_inode()
|
| H A D | xfs_buf_item_recover.c | 1127 (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { in xlog_recover_buf_commit_pass2()
|
| H A D | xfs_inode.c | 1688 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_ifree_cluster()
|