/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_refcount.c | 49 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_ag.agno, bno, in xfs_refcount_lookup_le() 66 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_ag.agno, bno, in xfs_refcount_lookup_ge() 83 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_ag.agno, bno, in xfs_refcount_lookup_eq() 110 struct xfs_mount *mp = cur->bc_mp; in xfs_refcount_get_rec() 147 trace_xfs_refcount_get(cur->bc_mp, cur->bc_ag.agno, irec); in xfs_refcount_get_rec() 172 trace_xfs_refcount_update(cur->bc_mp, cur->bc_ag.agno, irec); in xfs_refcount_update() 178 trace_xfs_refcount_update_error(cur->bc_mp, in xfs_refcount_update() 196 trace_xfs_refcount_insert(cur->bc_mp, cur->bc_ag.agno, irec); in xfs_refcount_insert() 203 if (XFS_IS_CORRUPT(cur->bc_mp, *i != 1)) { in xfs_refcount_insert() 210 trace_xfs_refcount_insert_error(cur->bc_mp, in xfs_refcount_insert() [all …]
|
D | xfs_refcount_btree.c | 28 return xfs_refcountbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_refcountbt_dup_cursor() 66 args.mp = cur->bc_mp; in xfs_refcountbt_alloc_block() 68 args.fsbno = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_ag.agno, in xfs_refcountbt_alloc_block() 77 trace_xfs_refcountbt_alloc_block(cur->bc_mp, cur->bc_ag.agno, in xfs_refcountbt_alloc_block() 102 struct xfs_mount *mp = cur->bc_mp; in xfs_refcountbt_free_block() 108 trace_xfs_refcountbt_free_block(cur->bc_mp, cur->bc_ag.agno, in xfs_refcountbt_free_block() 109 XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno), 1); in xfs_refcountbt_free_block() 125 return cur->bc_mp->m_refc_mnr[level != 0]; in xfs_refcountbt_get_minrecs() 133 return cur->bc_mp->m_refc_mxr[level != 0]; in xfs_refcountbt_get_maxrecs() 328 cur->bc_mp = mp; in xfs_refcountbt_init_common()
|
D | xfs_ialloc_btree.c | 29 return M_IGEO(cur->bc_mp)->inobt_mnr[level != 0]; in xfs_inobt_get_minrecs() 36 return xfs_inobt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_inobt_dup_cursor() 79 if (!xfs_sb_version_hasinobtcounts(&cur->bc_mp->m_sb)) in xfs_inobt_mod_blockcount() 103 args.mp = cur->bc_mp; in __xfs_inobt_alloc_block() 145 if (cur->bc_mp->m_finobt_nores) in xfs_finobt_alloc_block() 159 XFS_DADDR_TO_FSB(cur->bc_mp, XFS_BUF_ADDR(bp)), 1, in __xfs_inobt_free_block() 176 if (cur->bc_mp->m_finobt_nores) in xfs_finobt_free_block() 186 return M_IGEO(cur->bc_mp)->inobt_mxr[level != 0]; in xfs_inobt_get_maxrecs() 215 if (xfs_sb_version_hassparseinodes(&cur->bc_mp->m_sb)) { in xfs_inobt_init_rec_from_cur() 437 cur->bc_mp = mp; in xfs_inobt_init_common() [all …]
|
D | xfs_bmap_btree.c | 168 new = xfs_bmbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_bmbt_dup_cursor() 206 args.mp = cur->bc_mp; in xfs_bmbt_alloc_block() 282 struct xfs_mount *mp = cur->bc_mp; in xfs_bmbt_free_block() 308 return xfs_bmbt_maxrecs(cur->bc_mp, in xfs_bmbt_get_minrecs() 312 return cur->bc_mp->m_bmap_dmnr[level != 0]; in xfs_bmbt_get_minrecs() 326 return xfs_bmbt_maxrecs(cur->bc_mp, in xfs_bmbt_get_maxrecs() 330 return cur->bc_mp->m_bmap_dmxr[level != 0]; in xfs_bmbt_get_maxrecs() 349 return cur->bc_mp->m_bmap_dmxr[level != 0]; in xfs_bmbt_get_dmaxrecs() 558 cur->bc_mp = mp; in xfs_bmbt_init_cursor()
|
D | xfs_rmap_btree.c | 54 return xfs_rmapbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_rmapbt_dup_cursor() 96 trace_xfs_rmapbt_alloc_block(cur->bc_mp, cur->bc_ag.agno, in xfs_rmapbt_alloc_block() 103 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_ag.agno, bno, 1, in xfs_rmapbt_alloc_block() 111 xfs_ag_resv_rmapbt_alloc(cur->bc_mp, cur->bc_ag.agno); in xfs_rmapbt_alloc_block() 128 bno = xfs_daddr_to_agbno(cur->bc_mp, XFS_BUF_ADDR(bp)); in xfs_rmapbt_free_block() 129 trace_xfs_rmapbt_free_block(cur->bc_mp, cur->bc_ag.agno, in xfs_rmapbt_free_block() 151 return cur->bc_mp->m_rmap_mnr[level != 0]; in xfs_rmapbt_get_minrecs() 159 return cur->bc_mp->m_rmap_mxr[level != 0]; in xfs_rmapbt_get_maxrecs() 461 cur->bc_mp = mp; in xfs_rmapbt_init_common()
|
D | xfs_rmap.c | 82 trace_xfs_rmap_update(cur->bc_mp, cur->bc_ag.agno, in xfs_rmap_update() 93 trace_xfs_rmap_update_error(cur->bc_mp, in xfs_rmap_update() 110 trace_xfs_rmap_insert(rcur->bc_mp, rcur->bc_ag.agno, agbno, in xfs_rmap_insert() 116 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 0)) { in xfs_rmap_insert() 129 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_insert() 135 trace_xfs_rmap_insert_error(rcur->bc_mp, in xfs_rmap_insert() 152 trace_xfs_rmap_delete(rcur->bc_mp, rcur->bc_ag.agno, agbno, in xfs_rmap_delete() 158 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_delete() 166 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 1)) { in xfs_rmap_delete() 172 trace_xfs_rmap_delete_error(rcur->bc_mp, in xfs_rmap_delete() [all …]
|
D | xfs_alloc_btree.c | 28 return xfs_allocbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_allocbt_dup_cursor() 74 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_ag.agno, bno, 1, false); in xfs_allocbt_alloc_block() 93 bno = xfs_daddr_to_agbno(cur->bc_mp, XFS_BUF_ADDR(bp)); in xfs_allocbt_free_block() 147 rrp = XFS_ALLOC_REC_ADDR(cur->bc_mp, block, numrecs); in xfs_allocbt_update_lastrec() 170 return cur->bc_mp->m_alloc_mnr[level != 0]; in xfs_allocbt_get_minrecs() 178 return cur->bc_mp->m_alloc_mxr[level != 0]; in xfs_allocbt_get_maxrecs() 486 cur->bc_mp = mp; in xfs_allocbt_init_common()
|
D | xfs_btree.c | 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() [all …]
|
D | xfs_ialloc.c | 61 if (xfs_sb_version_hassparseinodes(&cur->bc_mp->m_sb)) { in xfs_inobt_update() 107 struct xfs_mount *mp = cur->bc_mp; in xfs_inobt_get_rec() 246 if (!XFS_FORCED_SHUTDOWN(cur->bc_mp)) in xfs_check_agi_freecount() 1068 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) in xfs_ialloc_next_rec() 1093 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) in xfs_ialloc_get_rec() 1417 if (XFS_IS_CORRUPT(lcur->bc_mp, i != 1)) in xfs_dialloc_ag_finobt_near() 1441 if (XFS_IS_CORRUPT(lcur->bc_mp, j != 1)) { in xfs_dialloc_ag_finobt_near() 1447 if (XFS_IS_CORRUPT(lcur->bc_mp, i != 1 && j != 1)) { in xfs_dialloc_ag_finobt_near() 1503 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) in xfs_dialloc_ag_finobt_newino() 1515 if (XFS_IS_CORRUPT(cur->bc_mp, i != 1)) in xfs_dialloc_ag_finobt_newino() [all …]
|
D | xfs_btree.h | 90 XFS_STATS_INC_OFF((cur)->bc_mp, (cur)->bc_statoff + __XBTS_ ## stat) 92 XFS_STATS_ADD_OFF((cur)->bc_mp, (cur)->bc_statoff + __XBTS_ ## stat, val) 221 struct xfs_mount *bc_mp; /* file system mount struct */ member
|
D | xfs_btree_staging.c | 393 xfs_btree_init_block_int(cur->bc_mp, ifp->if_broot, in xfs_btree_bload_prep_block()
|
D | xfs_alloc.c | 232 struct xfs_mount *mp = cur->bc_mp; in xfs_alloc_get_rec() 445 mp = cnt_cur->bc_mp; in xfs_alloc_fixup_trees()
|
D | xfs_bmap.c | 615 if (XFS_IS_CORRUPT(cur->bc_mp, !xfs_btree_check_lptr(cur, cbno, 1))) in xfs_bmap_btree_to_extents() 1172 struct xfs_mount *mp = cur->bc_mp; in xfs_iread_bmbt_block()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | trace.c | 24 return XFS_DADDR_TO_FSB(cur->bc_mp, cur->bc_bufs[level]->b_bn); in xchk_btree_cur_fsbno() 27 return XFS_INO_TO_FSB(cur->bc_mp, cur->bc_ino.ip->i_ino); in xchk_btree_cur_fsbno() 29 return XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_ag.agno, 0); in xchk_btree_cur_fsbno()
|
D | trace.h | 343 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 344 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); 387 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 388 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); 426 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 427 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); 466 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 467 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); 504 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 505 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
|
D | bitmap.c | 263 fsb = XFS_DADDR_TO_FSB(cur->bc_mp, bp->b_bn); in xbitmap_set_btcur_path() 287 fsbno = XFS_DADDR_TO_FSB(cur->bc_mp, bp->b_bn); in xbitmap_collect_btblock()
|
D | ialloc.c | 106 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_chunk() 151 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_check_cluster_ifree() 214 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_check_cluster() 424 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_rec()
|
D | alloc.c | 96 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_allocbt_rec()
|
D | rmap.c | 93 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_rmapbt_rec()
|
D | btree.c | 371 agno = xfs_daddr_to_agno(bs->cur->bc_mp, daddr); in xchk_btree_check_block_owner() 372 agbno = xfs_daddr_to_agbno(bs->cur->bc_mp, daddr); in xchk_btree_check_block_owner()
|
D | refcount.c | 335 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_refcountbt_rec()
|
D | bmap.c | 408 if (xfs_sb_version_hascrc(&bs->cur->bc_mp->m_sb) && in xchk_bmapbt_rec()
|
D | agheader_repair.c | 456 fsb = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_ag.agno, in xrep_agfl_walk_rmap()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_fsmap.c | 352 struct xfs_mount *mp = cur->bc_mp; in xfs_getfsmap_datadev_helper() 370 struct xfs_mount *mp = cur->bc_mp; in xfs_getfsmap_datadev_bnobt_helper()
|
D | xfs_trace.h | 2332 __entry->dev = cur->bc_mp->m_super->s_dev; 3714 __entry->dev = cur->bc_mp->m_super->s_dev; 3743 __entry->dev = cur->bc_mp->m_super->s_dev; 3745 __entry->agno = XFS_INO_TO_AGNO(cur->bc_mp, 3747 __entry->agino = XFS_INO_TO_AGINO(cur->bc_mp, 3782 __entry->dev = cur->bc_mp->m_super->s_dev; 3820 __entry->dev = cur->bc_mp->m_super->s_dev; 3828 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsb); 3829 __entry->agbno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsb);
|