Home
last modified time | relevance | path

Searched refs:bc_mp (Results 1 – 8 of 8) sorted by relevance

/fs/xfs/libxfs/
Dxfs_alloc_btree.c40 return xfs_allocbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_allocbt_dup_cursor()
55 struct xfs_perag *pag = xfs_perag_get(cur->bc_mp, seqno); in xfs_allocbt_set_root()
93 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_private.a.agno, bno, 1, false); in xfs_allocbt_alloc_block()
113 bno = xfs_daddr_to_agbno(cur->bc_mp, XFS_BUF_ADDR(bp)); in xfs_allocbt_free_block()
170 rrp = XFS_ALLOC_REC_ADDR(cur->bc_mp, block, numrecs); in xfs_allocbt_update_lastrec()
183 pag = xfs_perag_get(cur->bc_mp, seqno); in xfs_allocbt_update_lastrec()
194 return cur->bc_mp->m_alloc_mnr[level != 0]; in xfs_allocbt_get_minrecs()
202 return cur->bc_mp->m_alloc_mxr[level != 0]; in xfs_allocbt_get_maxrecs()
469 cur->bc_mp = mp; in xfs_allocbt_init_cursor()
Dxfs_ialloc_btree.c42 return cur->bc_mp->m_inobt_mnr[level != 0]; in xfs_inobt_get_minrecs()
49 return xfs_inobt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_inobt_dup_cursor()
98 args.mp = cur->bc_mp; in xfs_inobt_alloc_block()
131 fsbno = XFS_DADDR_TO_FSB(cur->bc_mp, XFS_BUF_ADDR(bp)); in xfs_inobt_free_block()
145 return cur->bc_mp->m_inobt_mxr[level != 0]; in xfs_inobt_get_maxrecs()
170 if (xfs_sb_version_hassparseinodes(&cur->bc_mp->m_sb)) { in xfs_inobt_init_rec_from_cur()
395 cur->bc_mp = mp; in xfs_inobt_init_cursor()
Dxfs_bmap_btree.c405 new = xfs_bmbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_bmbt_dup_cursor()
446 args.mp = cur->bc_mp; in xfs_bmbt_alloc_block()
524 struct xfs_mount *mp = cur->bc_mp; in xfs_bmbt_free_block()
549 return xfs_bmbt_maxrecs(cur->bc_mp, in xfs_bmbt_get_minrecs()
553 return cur->bc_mp->m_bmap_dmnr[level != 0]; in xfs_bmbt_get_minrecs()
567 return xfs_bmbt_maxrecs(cur->bc_mp, in xfs_bmbt_get_maxrecs()
571 return cur->bc_mp->m_bmap_dmxr[level != 0]; in xfs_bmbt_get_maxrecs()
590 return cur->bc_mp->m_bmap_dmxr[level != 0]; in xfs_bmbt_get_dmaxrecs()
791 cur->bc_mp = mp; in xfs_bmbt_init_cursor()
Dxfs_btree.c65 mp = cur->bc_mp; in xfs_btree_check_lblock()
113 mp = cur->bc_mp; in xfs_btree_check_sblock()
174 XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, in xfs_btree_check_lptr()
177 XFS_FSB_SANITY_CHECK(cur->bc_mp, bno)); in xfs_btree_check_lptr()
191 xfs_agblock_t agblocks = cur->bc_mp->m_sb.sb_agblocks; in xfs_btree_check_sptr()
193 XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, in xfs_btree_check_sptr()
352 mp = cur->bc_mp; in xfs_btree_dup_cursor()
791 xfs_btree_reada_bufl(cur->bc_mp, left, 1, in xfs_btree_readahead_lblock()
797 xfs_btree_reada_bufl(cur->bc_mp, right, 1, in xfs_btree_readahead_lblock()
817 xfs_btree_reada_bufs(cur->bc_mp, cur->bc_private.a.agno, in xfs_btree_readahead_sblock()
[all …]
Dxfs_ialloc.c88 if (xfs_sb_version_hassparseinodes(&cur->bc_mp->m_sb)) { in xfs_inobt_update()
117 if (xfs_sb_version_hassparseinodes(&cur->bc_mp->m_sb)) { in xfs_inobt_get_rec()
234 if (!XFS_FORCED_SHUTDOWN(cur->bc_mp)) in xfs_check_agi_freecount()
1051 XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, i == 1); in xfs_ialloc_next_rec()
1075 XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, i == 1); in xfs_ialloc_get_rec()
1388 XFS_WANT_CORRUPTED_RETURN(lcur->bc_mp, i == 1); in xfs_dialloc_ag_finobt_near()
1411 XFS_WANT_CORRUPTED_GOTO(lcur->bc_mp, j == 1, error_rcur); in xfs_dialloc_ag_finobt_near()
1414 XFS_WANT_CORRUPTED_GOTO(lcur->bc_mp, i == 1 || j == 1, error_rcur); in xfs_dialloc_ag_finobt_near()
1467 XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, i == 1); in xfs_dialloc_ag_finobt_newino()
1478 XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, i == 1); in xfs_dialloc_ag_finobt_newino()
[all …]
Dxfs_btree.h91 struct xfs_mount *__mp = cur->bc_mp; \
106 struct xfs_mount *__mp = cur->bc_mp; \
202 struct xfs_mount *bc_mp; /* file system mount struct */ member
Dxfs_alloc.c336 mp = cnt_cur->bc_mp; in xfs_alloc_fixup_trees()
/fs/xfs/
Dxfs_itable.c232 XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, stat == 1); in xfs_bulkstat_grab_ichunk()