/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_trans_space.h | 59 (M_IGEO(mp)->ialloc_blks + \ 61 M_IGEO(mp)->inobt_maxlevels)) 98 M_IGEO(mp)->inobt_maxlevels : 0)
|
H A D | xfs_ialloc_btree.c | 29 return M_IGEO(cur->bc_mp)->inobt_mnr[level != 0]; in xfs_inobt_get_minrecs() 186 return M_IGEO(cur->bc_mp)->inobt_mxr[level != 0]; in xfs_inobt_get_maxrecs() 303 if (level >= M_IGEO(mp)->inobt_maxlevels) in xfs_inobt_verify() 307 M_IGEO(mp)->inobt_mxr[level != 0]); in xfs_inobt_verify() 637 if (M_IGEO(mp)->inobt_mxr[0] == 0) in xfs_inobt_max_size() 649 return xfs_btree_calc_size(M_IGEO(mp)->inobt_mnr, in xfs_inobt_max_size() 765 return xfs_btree_calc_size(M_IGEO(mp)->inobt_mnr, len); in xfs_iallocbt_calc_size()
|
H A D | xfs_types.c | 81 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()
|
H A D | xfs_ialloc.c | 286 nbufs = length / M_IGEO(mp)->blocks_per_cluster; in xfs_ialloc_inode_init() 330 (j * M_IGEO(mp)->blocks_per_cluster)); in xfs_ialloc_inode_init() 332 mp->m_bsize * 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() 630 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc() 1012 ineed = M_IGEO(mp)->ialloc_min_blks; in xfs_ialloc_ag_select() 1014 ineed += M_IGEO(mp)->cluster_align; in xfs_ialloc_ag_select() 1722 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_dialloc() 1872 M_IGEO(mp)->ialloc_blks, in xfs_difree_inode_chunk() 2294 rec.ir_startino + M_IGEO(m in xfs_imap_lookup() [all...] |
H A D | xfs_trans_resv.c | 137 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() 367 2 * M_IGEO(mp)->inode_cluster_size; in xfs_calc_iunlink_remove_reservation() 405 M_IGEO(mp)->inode_cluster_size; in xfs_calc_iunlink_add_reservation()
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_trans_space.h | 66 (M_IGEO(mp)->ialloc_blks + \ 67 ((xfs_has_finobt(mp) ? 2 : 1) * M_IGEO(mp)->inobt_maxlevels)) 103 (xfs_has_finobt(mp) ? M_IGEO(mp)->inobt_maxlevels : 0)
|
H A D | xfs_ialloc_btree.c | 32 return M_IGEO(cur->bc_mp)->inobt_mnr[level != 0]; in xfs_inobt_get_minrecs() 190 return M_IGEO(cur->bc_mp)->inobt_mxr[level != 0]; in xfs_inobt_get_maxrecs() 310 if (level >= M_IGEO(mp)->inobt_maxlevels) in xfs_inobt_verify() 314 M_IGEO(mp)->inobt_mxr[level != 0]); in xfs_inobt_verify() 458 M_IGEO(mp)->inobt_maxlevels, xfs_inobt_cur_cache); in xfs_inobt_init_common() 708 if (M_IGEO(mp)->inobt_mxr[0] == 0) in xfs_inobt_max_size() 719 return xfs_btree_calc_size(M_IGEO(mp)->inobt_mnr, in xfs_inobt_max_size() 826 return xfs_btree_calc_size(M_IGEO(mp)->inobt_mnr, len); in xfs_iallocbt_calc_size()
|
H A D | xfs_ialloc.c | 309 nbufs = length / M_IGEO(mp)->blocks_per_cluster; in xfs_ialloc_inode_init() 353 (j * M_IGEO(mp)->blocks_per_cluster)); in xfs_ialloc_inode_init() 355 mp->m_bsize * M_IGEO(mp)->blocks_per_cluster, in xfs_ialloc_inode_init() 363 for (i = 0; i < M_IGEO(mp)->inodes_per_cluster; i++) { in xfs_ialloc_inode_init() 650 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc() 1661 ineed = M_IGEO(mp)->ialloc_min_blks; in xfs_dialloc_good_ag() 1663 ineed += M_IGEO(mp)->cluster_align; in xfs_dialloc_good_ag() 1746 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_dialloc() 1856 M_IGEO(mp)->ialloc_blks, &XFS_RMAP_OINFO_INODES, in xfs_difree_inode_chunk() 2278 rec.ir_startino + M_IGEO(m in xfs_imap_lookup() [all...] |
H A D | xfs_trans_resv.c | 147 return xfs_calc_buf_res(M_IGEO(mp)->inobt_maxlevels, in xfs_calc_inobt_res() 205 res += xfs_calc_buf_res(M_IGEO(mp)->ialloc_blks, size); in xfs_calc_inode_chunk_res() 459 2 * M_IGEO(mp)->inode_cluster_size; in xfs_calc_iunlink_remove_reservation() 497 M_IGEO(mp)->inode_cluster_size; in xfs_calc_iunlink_add_reservation()
|
H A D | xfs_ag.c | 314 bno = round_up(XFS_AGFL_BLOCK(mp) + 1, M_IGEO(mp)->cluster_align); in __xfs_agino_range() 321 bno = round_down(eoag, M_IGEO(mp)->cluster_align); in __xfs_agino_range()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | ialloc.c | 226 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() 328 cluster_base += M_IGEO(bs->sc->mp)->inodes_per_cluster) { in xchk_iallocbt_check_clusters() 350 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xchk_iallocbt_rec_alignment()
|
H A D | quota.c | 113 if (dq->q_ino.hardlimit > M_IGEO(mp)->maxicount) in xchk_quota_item()
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | ialloc.c | 379 M_IGEO(mp)->inodes_per_cluster); in xchk_iallocbt_check_cluster() 400 imap.im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster); in xchk_iallocbt_check_cluster() 425 M_IGEO(mp)->blocks_per_cluster, in xchk_iallocbt_check_cluster() 430 xchk_xref_is_only_owned_by(bs->sc, agbno, M_IGEO(mp)->blocks_per_cluster, in xchk_iallocbt_check_cluster() 481 cluster_base += M_IGEO(bs->sc->mp)->inodes_per_cluster) { in xchk_iallocbt_check_clusters() 503 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xchk_iallocbt_rec_alignment()
|
H A D | quota.c | 119 if (dq->q_ino.hardlimit > M_IGEO(mp)->maxicount) in xchk_quota_item()
|
H A D | agheader_repair.c | 977 .maxlevels = M_IGEO(sc->mp)->inobt_maxlevels, in xrep_agi() 982 .maxlevels = M_IGEO(sc->mp)->inobt_maxlevels, in xrep_agi()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_icreate_item.c | 149 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xlog_recover_icreate_commit_pass2()
|
H A D | xfs_fsops.c | 250 M_IGEO(mp)->maxicount = XFS_FSB_TO_INO(mp, icount); in xfs_growfs_data() 252 M_IGEO(mp)->maxicount = 0; in xfs_growfs_data()
|
H A D | xfs_mount.h | 222 #define M_IGEO(mp) (&(mp)->m_ino_geo) macro
|
H A D | xfs_iwalk.c | 96 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iwalk_ichunk_ra()
|
H A D | xfs_super.c | 259 if (M_IGEO(mp)->maxicount) { in xfs_set_inode_alloc() 821 if (M_IGEO(mp)->maxicount) in xfs_fs_statfs() 824 M_IGEO(mp)->maxicount); in xfs_fs_statfs()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_fsops.c | 312 M_IGEO(mp)->maxicount = XFS_FSB_TO_INO(mp, icount); in xfs_growfs_data() 314 M_IGEO(mp)->maxicount = 0; in xfs_growfs_data()
|
H A D | xfs_mount.c | 603 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mount_setup_inode_geom() 618 levels = max(mp->m_alloc_maxlevels, M_IGEO(mp)->inobt_maxlevels); in xfs_agbtree_compute_maxlevels() 639 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mountfs()
|
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.h | 255 #define M_IGEO(mp) (&(mp)->m_ino_geo) macro
|
H A D | xfs_iwalk.c | 101 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iwalk_ichunk_ra()
|