Searched refs:M_IGEO (Results 1 – 16 of 16) sorted by relevance
/Linux-v5.15/fs/xfs/libxfs/ |
D | xfs_trans_space.h | 59 (M_IGEO(mp)->ialloc_blks + \ 60 ((xfs_has_finobt(mp) ? 2 : 1) * M_IGEO(mp)->inobt_maxlevels)) 96 (xfs_has_finobt(mp) ? M_IGEO(mp)->inobt_maxlevels : 0)
|
D | xfs_ialloc_btree.c | 30 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() 639 if (M_IGEO(mp)->inobt_mxr[0] == 0) in xfs_inobt_max_size() 651 return xfs_btree_calc_size(M_IGEO(mp)->inobt_mnr, in xfs_inobt_max_size() 762 return xfs_btree_calc_size(M_IGEO(mp)->inobt_mnr, len); in xfs_iallocbt_calc_size()
|
D | xfs_ialloc.c | 284 nbufs = length / M_IGEO(mp)->blocks_per_cluster; in xfs_ialloc_inode_init() 328 (j * M_IGEO(mp)->blocks_per_cluster)); in xfs_ialloc_inode_init() 330 mp->m_bsize * M_IGEO(mp)->blocks_per_cluster, in xfs_ialloc_inode_init() 338 for (i = 0; i < M_IGEO(mp)->inodes_per_cluster; i++) { in xfs_ialloc_inode_init() 625 struct xfs_ino_geometry *igeo = M_IGEO(tp->t_mountp); in xfs_ialloc_ag_alloc() 1653 ineed = M_IGEO(mp)->ialloc_min_blks; in xfs_dialloc_good_ag() 1655 ineed += M_IGEO(mp)->cluster_align; in xfs_dialloc_good_ag() 1738 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_dialloc() 1831 M_IGEO(mp)->ialloc_blks, in xfs_difree_inode_chunk() 2248 rec.ir_startino + M_IGEO(mp)->ialloc_inos <= agino) in xfs_imap_lookup() [all …]
|
D | xfs_types.c | 105 bno = round_up(XFS_AGFL_BLOCK(mp) + 1, M_IGEO(mp)->cluster_align); in xfs_agino_range() 112 bno = round_down(eoag, M_IGEO(mp)->cluster_align); in xfs_agino_range()
|
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()
|
D | xfs_bmap.c | 207 return M_IGEO(ip->i_mount)->attr_fork_offset; in xfs_default_attroffset()
|
/Linux-v5.15/fs/xfs/scrub/ |
D | ialloc.c | 225 M_IGEO(mp)->inodes_per_cluster); in xchk_iallocbt_check_cluster() 246 imap.im_len = XFS_FSB_TO_BB(mp, M_IGEO(mp)->blocks_per_cluster); in xchk_iallocbt_check_cluster() 271 M_IGEO(mp)->blocks_per_cluster, in xchk_iallocbt_check_cluster() 276 xchk_xref_is_owned_by(bs->sc, agbno, M_IGEO(mp)->blocks_per_cluster, in xchk_iallocbt_check_cluster() 327 cluster_base += M_IGEO(bs->sc->mp)->inodes_per_cluster) { in xchk_iallocbt_check_clusters() 349 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xchk_iallocbt_rec_alignment()
|
D | quota.c | 112 if (dq->q_ino.hardlimit > M_IGEO(mp)->maxicount) in xchk_quota_item()
|
/Linux-v5.15/fs/xfs/ |
D | xfs_fsops.c | 304 M_IGEO(mp)->maxicount = XFS_FSB_TO_INO(mp, icount); in xfs_growfs_data() 306 M_IGEO(mp)->maxicount = 0; in xfs_growfs_data()
|
D | xfs_icreate_item.c | 149 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xlog_recover_icreate_commit_pass2()
|
D | xfs_mount.c | 562 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mount_setup_inode_geom() 586 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mountfs()
|
D | xfs_mount.h | 244 #define M_IGEO(mp) (&(mp)->m_ino_geo) macro
|
D | xfs_super.c | 277 if (M_IGEO(mp)->maxicount) { in xfs_set_inode_alloc() 813 if (M_IGEO(mp)->maxicount) in xfs_fs_statfs() 816 M_IGEO(mp)->maxicount); in xfs_fs_statfs()
|
D | xfs_iwalk.c | 101 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iwalk_ichunk_ra()
|
D | xfs_buf_item_recover.c | 972 (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { in xlog_recover_buf_commit_pass2()
|
D | xfs_inode.c | 2541 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_ifree_cluster()
|