Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
A Dxfs_trans_space.h70 (M_IGEO(mp)->ialloc_blks + \
71 ((xfs_has_finobt(mp) ? 2 : 1) * M_IGEO(mp)->inobt_maxlevels))
95 (xfs_has_finobt(mp) ? M_IGEO(mp)->inobt_maxlevels : 0)
A Dxfs_ialloc_btree.c33 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()
319 if (level >= M_IGEO(mp)->inobt_maxlevels) in xfs_inobt_verify()
323 M_IGEO(mp)->inobt_mxr[level != 0]); in xfs_inobt_verify()
485 M_IGEO(mp)->inobt_maxlevels, xfs_inobt_cur_cache); in xfs_inobt_init_cursor()
511 M_IGEO(mp)->inobt_maxlevels, xfs_inobt_cur_cache); in xfs_finobt_init_cursor()
722 if (M_IGEO(mp)->inobt_mxr[0] == 0) in xfs_inobt_max_size()
733 return xfs_btree_calc_size(M_IGEO(mp)->inobt_mnr, in xfs_inobt_max_size()
815 return xfs_btree_calc_size(M_IGEO(mp)->inobt_mnr, len); in xfs_iallocbt_calc_size()
A Dxfs_ialloc.c318 nbufs = length / M_IGEO(mp)->blocks_per_cluster; in xfs_ialloc_inode_init()
362 (j * M_IGEO(mp)->blocks_per_cluster)); in xfs_ialloc_inode_init()
364 mp->m_bsize * M_IGEO(mp)->blocks_per_cluster, in xfs_ialloc_inode_init()
1782 ineed = M_IGEO(mp)->ialloc_min_blks; in xfs_dialloc_good_ag()
1784 ineed += M_IGEO(mp)->cluster_align; in xfs_dialloc_good_ag()
1868 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_dialloc()
2506 if (M_IGEO(mp)->blocks_per_cluster == 1) { in xfs_imap()
2522 if (M_IGEO(mp)->inoalign_mask) { in xfs_imap()
2536 M_IGEO(mp)->blocks_per_cluster); in xfs_imap()
2939 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_ialloc_setup_geometry()
[all …]
A Dxfs_trans_resv.c150 return xfs_calc_buf_res(M_IGEO(mp)->inobt_maxlevels, in xfs_calc_inobt_res()
208 res += xfs_calc_buf_res(M_IGEO(mp)->ialloc_blks, size); in xfs_calc_inode_chunk_res()
544 2 * M_IGEO(mp)->inode_cluster_size; in xfs_calc_iunlink_remove_reservation()
608 M_IGEO(mp)->inode_cluster_size; in xfs_calc_iunlink_add_reservation()
A Dxfs_ag.c255 bno = round_up(XFS_AGFL_BLOCK(mp) + 1, M_IGEO(mp)->cluster_align); in __xfs_agino_range()
262 bno = round_down(eoag, M_IGEO(mp)->cluster_align); in __xfs_agino_range()
A Dxfs_bmap.c209 return M_IGEO(ip->i_mount)->attr_fork_offset; in xfs_default_attroffset()
/linux/fs/xfs/scrub/
A Dialloc.c379 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()
A Dialloc_repair.c296 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xrep_ibt_process_cluster()
345 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xrep_ibt_check_inode_ext()
417 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xrep_ibt_record_inode_blocks()
A Dquota.c193 if (dq->q_ino.hardlimit > M_IGEO(mp)->maxicount) in xchk_quota_item()
A Dagheader_repair.c1736 .maxlevels = M_IGEO(sc->mp)->inobt_maxlevels, in xrep_agi()
1741 .maxlevels = M_IGEO(sc->mp)->inobt_maxlevels, in xrep_agi()
A Dagheader.c913 struct xfs_ino_geometry *igeo = M_IGEO(sc->mp); in xchk_agi()
/linux/fs/xfs/
A Dxfs_fsops.c315 M_IGEO(mp)->maxicount = XFS_FSB_TO_INO(mp, icount); in xfs_growfs_data()
317 M_IGEO(mp)->maxicount = 0; in xfs_growfs_data()
A Dxfs_icreate_item.c150 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xlog_recover_icreate_commit_pass2()
A Dxfs_mount.c615 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mount_setup_inode_geom()
630 levels = max(mp->m_alloc_maxlevels, M_IGEO(mp)->inobt_maxlevels); in xfs_agbtree_compute_maxlevels()
651 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_mountfs()
A Dxfs_mount.h265 #define M_IGEO(mp) (&(mp)->m_ino_geo) macro
A Dxfs_iwalk.c102 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_iwalk_ichunk_ra()
A Dxfs_super.c292 if (M_IGEO(mp)->maxicount) { in xfs_set_inode_alloc()
862 if (M_IGEO(mp)->maxicount) in xfs_fs_statfs()
865 M_IGEO(mp)->maxicount); in xfs_fs_statfs()
A Dxfs_buf_item_recover.c1061 (BBTOB(bp->b_length) != M_IGEO(log->l_mp)->inode_cluster_size)) { in xlog_recover_buf_commit_pass2()
A Dxfs_icache.c104 M_IGEO(mp)->min_folio_order); in xfs_inode_alloc()
365 M_IGEO(mp)->min_folio_order); in xfs_reinit_inode()
A Dxfs_inode.c1674 struct xfs_ino_geometry *igeo = M_IGEO(mp); in xfs_ifree_cluster()

Completed in 62 milliseconds