/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_refcount.c | 51 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_private.a.agno, bno, in xfs_refcount_lookup_le() 68 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_private.a.agno, bno, in xfs_refcount_lookup_ge() 85 trace_xfs_refcount_lookup(cur->bc_mp, cur->bc_private.a.agno, bno, in xfs_refcount_lookup_eq() 112 struct xfs_mount *mp = cur->bc_mp; in xfs_refcount_get_rec() 149 trace_xfs_refcount_get(cur->bc_mp, cur->bc_private.a.agno, irec); in xfs_refcount_get_rec() 174 trace_xfs_refcount_update(cur->bc_mp, cur->bc_private.a.agno, irec); in xfs_refcount_update() 180 trace_xfs_refcount_update_error(cur->bc_mp, in xfs_refcount_update() 198 trace_xfs_refcount_insert(cur->bc_mp, cur->bc_private.a.agno, irec); in xfs_refcount_insert() 205 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, *i == 1, out_error); in xfs_refcount_insert() 209 trace_xfs_refcount_insert_error(cur->bc_mp, in xfs_refcount_insert() [all …]
|
D | xfs_refcount_btree.c | 29 return xfs_refcountbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_refcountbt_dup_cursor() 42 struct xfs_perag *pag = xfs_perag_get(cur->bc_mp, seqno); in xfs_refcountbt_set_root() 69 args.mp = cur->bc_mp; in xfs_refcountbt_alloc_block() 71 args.fsbno = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcountbt_alloc_block() 80 trace_xfs_refcountbt_alloc_block(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcountbt_alloc_block() 105 struct xfs_mount *mp = cur->bc_mp; in xfs_refcountbt_free_block() 112 trace_xfs_refcountbt_free_block(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcountbt_free_block() 113 XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno), 1); in xfs_refcountbt_free_block() 130 return cur->bc_mp->m_refc_mnr[level != 0]; in xfs_refcountbt_get_minrecs() 138 return cur->bc_mp->m_refc_mxr[level != 0]; in xfs_refcountbt_get_maxrecs() [all …]
|
D | xfs_rmap_btree.c | 57 return xfs_rmapbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_rmapbt_dup_cursor() 71 struct xfs_perag *pag = xfs_perag_get(cur->bc_mp, seqno); in xfs_rmapbt_set_root() 101 trace_xfs_rmapbt_alloc_block(cur->bc_mp, cur->bc_private.a.agno, in xfs_rmapbt_alloc_block() 108 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_private.a.agno, bno, 1, in xfs_rmapbt_alloc_block() 116 xfs_ag_resv_rmapbt_alloc(cur->bc_mp, cur->bc_private.a.agno); in xfs_rmapbt_alloc_block() 132 bno = xfs_daddr_to_agbno(cur->bc_mp, XFS_BUF_ADDR(bp)); in xfs_rmapbt_free_block() 133 trace_xfs_rmapbt_free_block(cur->bc_mp, cur->bc_private.a.agno, in xfs_rmapbt_free_block() 145 xfs_ag_resv_rmapbt_free(cur->bc_mp, cur->bc_private.a.agno); in xfs_rmapbt_free_block() 155 return cur->bc_mp->m_rmap_mnr[level != 0]; in xfs_rmapbt_get_minrecs() 163 return cur->bc_mp->m_rmap_mxr[level != 0]; in xfs_rmapbt_get_maxrecs() [all …]
|
D | xfs_alloc_btree.c | 28 return xfs_allocbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_allocbt_dup_cursor() 43 struct xfs_perag *pag = xfs_perag_get(cur->bc_mp, seqno); in xfs_allocbt_set_root() 76 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_private.a.agno, bno, 1, false); in xfs_allocbt_alloc_block() 95 bno = xfs_daddr_to_agbno(cur->bc_mp, XFS_BUF_ADDR(bp)); in xfs_allocbt_free_block() 150 rrp = XFS_ALLOC_REC_ADDR(cur->bc_mp, block, numrecs); in xfs_allocbt_update_lastrec() 163 pag = xfs_perag_get(cur->bc_mp, seqno); in xfs_allocbt_update_lastrec() 174 return cur->bc_mp->m_alloc_mnr[level != 0]; in xfs_allocbt_get_minrecs() 182 return cur->bc_mp->m_alloc_mxr[level != 0]; in xfs_allocbt_get_maxrecs() 498 cur->bc_mp = mp; in xfs_allocbt_init_cursor()
|
D | xfs_ialloc_btree.c | 31 return cur->bc_mp->m_inobt_mnr[level != 0]; in xfs_inobt_get_minrecs() 38 return xfs_inobt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_inobt_dup_cursor() 86 args.mp = cur->bc_mp; in __xfs_inobt_alloc_block() 127 if (cur->bc_mp->m_finobt_nores) in xfs_finobt_alloc_block() 143 XFS_DADDR_TO_FSB(cur->bc_mp, XFS_BUF_ADDR(bp)), 1, in __xfs_inobt_free_block() 160 if (cur->bc_mp->m_finobt_nores) in xfs_finobt_free_block() 170 return cur->bc_mp->m_inobt_mxr[level != 0]; in xfs_inobt_get_maxrecs() 199 if (xfs_sb_version_hassparseinodes(&cur->bc_mp->m_sb)) { in xfs_inobt_init_rec_from_cur() 418 cur->bc_mp = mp; in xfs_inobt_init_cursor()
|
D | xfs_rmap.c | 89 trace_xfs_rmap_update(cur->bc_mp, cur->bc_private.a.agno, in xfs_rmap_update() 100 trace_xfs_rmap_update_error(cur->bc_mp, in xfs_rmap_update() 117 trace_xfs_rmap_insert(rcur->bc_mp, rcur->bc_private.a.agno, agbno, in xfs_rmap_insert() 123 XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 0, done); in xfs_rmap_insert() 133 XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 1, done); in xfs_rmap_insert() 136 trace_xfs_rmap_insert_error(rcur->bc_mp, in xfs_rmap_insert() 153 trace_xfs_rmap_delete(rcur->bc_mp, rcur->bc_private.a.agno, agbno, in xfs_rmap_delete() 159 XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 1, done); in xfs_rmap_delete() 164 XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 1, done); in xfs_rmap_delete() 167 trace_xfs_rmap_delete_error(rcur->bc_mp, in xfs_rmap_delete() [all …]
|
D | xfs_bmap_btree.c | 171 new = xfs_bmbt_init_cursor(cur->bc_mp, cur->bc_tp, in xfs_bmbt_dup_cursor() 209 args.mp = cur->bc_mp; in xfs_bmbt_alloc_block() 285 struct xfs_mount *mp = cur->bc_mp; in xfs_bmbt_free_block() 311 return xfs_bmbt_maxrecs(cur->bc_mp, in xfs_bmbt_get_minrecs() 315 return cur->bc_mp->m_bmap_dmnr[level != 0]; in xfs_bmbt_get_minrecs() 329 return xfs_bmbt_maxrecs(cur->bc_mp, in xfs_bmbt_get_maxrecs() 333 return cur->bc_mp->m_bmap_dmxr[level != 0]; in xfs_bmbt_get_maxrecs() 352 return cur->bc_mp->m_bmap_dmxr[level != 0]; in xfs_bmbt_get_dmaxrecs() 550 cur->bc_mp = mp; in xfs_bmbt_init_cursor()
|
D | xfs_btree.c | 66 struct xfs_mount *mp = cur->bc_mp; in __xfs_btree_check_lblock() 107 struct xfs_mount *mp = cur->bc_mp; in xfs_btree_check_lblock() 132 struct xfs_mount *mp = cur->bc_mp; in __xfs_btree_check_sblock() 171 struct xfs_mount *mp = cur->bc_mp; in xfs_btree_check_sblock() 210 return xfs_verify_fsbno(cur->bc_mp, fsbno); in xfs_btree_check_lptr() 222 return xfs_verify_agbno(cur->bc_mp, cur->bc_private.a.agno, agbno); in xfs_btree_check_sptr() 240 xfs_err(cur->bc_mp, in xfs_btree_check_ptr() 249 xfs_err(cur->bc_mp, in xfs_btree_check_ptr() 410 mp = cur->bc_mp; in xfs_btree_dup_cursor() 921 xfs_btree_reada_bufl(cur->bc_mp, left, 1, in xfs_btree_readahead_lblock() [all …]
|
D | xfs_ialloc.c | 78 if (xfs_sb_version_hassparseinodes(&cur->bc_mp->m_sb)) { in xfs_inobt_update() 124 struct xfs_mount *mp = cur->bc_mp; in xfs_inobt_get_rec() 263 if (!XFS_FORCED_SHUTDOWN(cur->bc_mp)) in xfs_check_agi_freecount() 1076 XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, i == 1); in xfs_ialloc_next_rec() 1100 XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, i == 1); in xfs_ialloc_get_rec() 1412 XFS_WANT_CORRUPTED_RETURN(lcur->bc_mp, i == 1); in xfs_dialloc_ag_finobt_near() 1435 XFS_WANT_CORRUPTED_GOTO(lcur->bc_mp, j == 1, error_rcur); in xfs_dialloc_ag_finobt_near() 1438 XFS_WANT_CORRUPTED_GOTO(lcur->bc_mp, i == 1 || j == 1, error_rcur); in xfs_dialloc_ag_finobt_near() 1491 XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, i == 1); in xfs_dialloc_ag_finobt_newino() 1502 XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, i == 1); in xfs_dialloc_ag_finobt_newino() [all …]
|
D | xfs_btree.h | 89 XFS_STATS_INC_OFF((cur)->bc_mp, (cur)->bc_statoff + __XBTS_ ## stat) 91 XFS_STATS_ADD_OFF((cur)->bc_mp, (cur)->bc_statoff + __XBTS_ ## stat, val) 195 struct xfs_mount *bc_mp; /* file system mount struct */ member
|
D | xfs_alloc.c | 218 struct xfs_mount *mp = cur->bc_mp; in xfs_alloc_get_rec() 431 mp = cnt_cur->bc_mp; in xfs_alloc_fixup_trees()
|
D | xfs_bmap.c | 617 XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, in xfs_bmap_btree_to_extents()
|
/linux-4.19.296/fs/xfs/scrub/ |
D | trace.c | 30 return XFS_DADDR_TO_FSB(cur->bc_mp, cur->bc_bufs[level]->b_bn); in xchk_btree_cur_fsbno() 33 return XFS_INO_TO_FSB(cur->bc_mp, cur->bc_private.b.ip->i_ino); in xchk_btree_cur_fsbno() 35 return XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, 0); in xchk_btree_cur_fsbno()
|
D | trace.h | 275 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 276 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); 319 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 320 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); 358 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 359 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); 398 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 399 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno); 436 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsbno); 437 __entry->bno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsbno);
|
D | ialloc.c | 105 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_chunk() 140 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_check_cluster_freemask() 191 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_check_freemask() 274 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_iallocbt_rec()
|
D | bitmap.c | 268 fsb = XFS_DADDR_TO_FSB(cur->bc_mp, bp->b_bn); in xfs_bitmap_set_btcur_path() 292 fsbno = XFS_DADDR_TO_FSB(cur->bc_mp, bp->b_bn); in xfs_bitmap_collect_btblock()
|
D | alloc.c | 103 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_allocbt_rec()
|
D | rmap.c | 102 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_rmapbt_rec()
|
D | btree.c | 378 agno = xfs_daddr_to_agno(bs->cur->bc_mp, daddr); in xchk_btree_check_block_owner() 379 agbno = xfs_daddr_to_agbno(bs->cur->bc_mp, daddr); in xchk_btree_check_block_owner()
|
D | refcount.c | 345 struct xfs_mount *mp = bs->cur->bc_mp; in xchk_refcountbt_rec()
|
D | bmap.c | 395 if (xfs_sb_version_hascrc(&bs->cur->bc_mp->m_sb) && in xchk_bmapbt_rec()
|
D | agheader_repair.c | 465 fsb = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, in xrep_agfl_walk_rmap()
|
/linux-4.19.296/fs/xfs/ |
D | xfs_fsmap.c | 348 struct xfs_mount *mp = cur->bc_mp; in xfs_getfsmap_datadev_helper() 366 struct xfs_mount *mp = cur->bc_mp; in xfs_getfsmap_datadev_bnobt_helper()
|
D | xfs_itable.c | 219 XFS_WANT_CORRUPTED_RETURN(cur->bc_mp, stat == 1); in xfs_bulkstat_grab_ichunk()
|
D | xfs_trace.h | 2190 __entry->dev = cur->bc_mp->m_super->s_dev;
|