Lines Matching refs:bc_mp
64 struct xfs_mount *mp = cur->bc_mp; in __xfs_btree_check_lblock()
105 struct xfs_mount *mp = cur->bc_mp; in xfs_btree_check_lblock()
129 struct xfs_mount *mp = cur->bc_mp; in __xfs_btree_check_sblock()
168 struct xfs_mount *mp = cur->bc_mp; in xfs_btree_check_sblock()
206 return xfs_verify_fsbno(cur->bc_mp, fsbno); in xfs_btree_check_lptr()
218 return xfs_verify_agbno(cur->bc_mp, cur->bc_ag.agno, agbno); in xfs_btree_check_sptr()
236 xfs_err(cur->bc_mp, in xfs_btree_check_ptr()
245 xfs_err(cur->bc_mp, in xfs_btree_check_ptr()
382 XFS_FORCED_SHUTDOWN(cur->bc_mp) || error != 0); in xfs_btree_del_cursor()
405 mp = cur->bc_mp; in xfs_btree_dup_cursor()
868 xfs_btree_reada_bufl(cur->bc_mp, left, 1, in xfs_btree_readahead_lblock()
874 xfs_btree_reada_bufl(cur->bc_mp, right, 1, in xfs_btree_readahead_lblock()
894 xfs_btree_reada_bufs(cur->bc_mp, cur->bc_ag.agno, in xfs_btree_readahead_sblock()
900 xfs_btree_reada_bufs(cur->bc_mp, cur->bc_ag.agno, in xfs_btree_readahead_sblock()
955 *daddr = XFS_FSB_TO_DADDR(cur->bc_mp, fsbno); in xfs_btree_ptr_to_daddr()
958 *daddr = XFS_AGB_TO_DADDR(cur->bc_mp, cur->bc_ag.agno, in xfs_btree_ptr_to_daddr()
981 xfs_buf_readahead(cur->bc_mp->m_ddev_targp, daddr, in xfs_btree_readahead_ptr()
982 cur->bc_mp->m_bsize * count, cur->bc_ops->buf_ops); in xfs_btree_readahead_ptr()
1161 xfs_btree_init_block_int(cur->bc_mp, XFS_BUF_TO_BLOCK(bp), bp->b_bn, in xfs_btree_init_block_cur()
1197 ptr->l = cpu_to_be64(XFS_DADDR_TO_FSB(cur->bc_mp, in xfs_btree_buf_to_ptr()
1200 ptr->s = cpu_to_be32(xfs_daddr_to_agbno(cur->bc_mp, in xfs_btree_buf_to_ptr()
1240 struct xfs_mount *mp = cur->bc_mp; in xfs_btree_get_buf_block()
1269 struct xfs_mount *mp = cur->bc_mp; in xfs_btree_read_buf_block()
1755 if (xfs_sb_version_hascrc(&cur->bc_mp->m_sb) && in xfs_btree_lookup_get_block()
1823 if (XFS_IS_CORRUPT(cur->bc_mp, cur->bc_nlevels == 0)) in xfs_btree_lookup()
1865 cur->bc_mp, block, in xfs_btree_lookup()
1943 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) in xfs_btree_lookup()
2397 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_lshift()
2567 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_rshift()
3432 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_insert()
3839 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec()
3847 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec()
3853 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec()
3900 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec()
3908 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec()
3925 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec()
3934 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) { in xfs_btree_delrec()