Lines Matching refs:bc_mp
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()
232 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, out_error); in xfs_refcount_delete()
233 trace_xfs_refcount_delete(cur->bc_mp, cur->bc_private.a.agno, &irec); in xfs_refcount_delete()
235 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, *i == 1, out_error); in xfs_refcount_delete()
241 trace_xfs_refcount_delete_error(cur->bc_mp, in xfs_refcount_delete()
354 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, out_error); in xfs_refcount_split_extent()
359 trace_xfs_refcount_split_extent(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcount_split_extent()
376 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, out_error); in xfs_refcount_split_extent()
380 trace_xfs_refcount_split_extent_error(cur->bc_mp, in xfs_refcount_split_extent()
400 trace_xfs_refcount_merge_center_extents(cur->bc_mp, in xfs_refcount_merge_center_extents()
415 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, out_error); in xfs_refcount_merge_center_extents()
420 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, out_error); in xfs_refcount_merge_center_extents()
426 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, in xfs_refcount_merge_center_extents()
435 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, out_error); in xfs_refcount_merge_center_extents()
446 trace_xfs_refcount_merge_center_extents_error(cur->bc_mp, in xfs_refcount_merge_center_extents()
465 trace_xfs_refcount_merge_left_extent(cur->bc_mp, in xfs_refcount_merge_left_extent()
474 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, in xfs_refcount_merge_left_extent()
480 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, in xfs_refcount_merge_left_extent()
489 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, out_error); in xfs_refcount_merge_left_extent()
501 trace_xfs_refcount_merge_left_extent_error(cur->bc_mp, in xfs_refcount_merge_left_extent()
519 trace_xfs_refcount_merge_right_extent(cur->bc_mp, in xfs_refcount_merge_right_extent()
531 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, in xfs_refcount_merge_right_extent()
537 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, in xfs_refcount_merge_right_extent()
546 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, out_error); in xfs_refcount_merge_right_extent()
558 trace_xfs_refcount_merge_right_extent_error(cur->bc_mp, in xfs_refcount_merge_right_extent()
592 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, out_error); in xfs_refcount_find_left_extents()
610 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, in xfs_refcount_find_left_extents()
639 trace_xfs_refcount_find_left_extent(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcount_find_left_extents()
644 trace_xfs_refcount_find_left_extent_error(cur->bc_mp, in xfs_refcount_find_left_extents()
676 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, out_error); in xfs_refcount_find_right_extents()
694 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, found_rec == 1, in xfs_refcount_find_right_extents()
723 trace_xfs_refcount_find_right_extent(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcount_find_right_extents()
728 trace_xfs_refcount_find_right_extent_error(cur->bc_mp, in xfs_refcount_find_right_extents()
839 xfs_allocfree_log_count(cur->bc_mp, 1); in xfs_refcount_still_have_space()
840 overhead *= cur->bc_mp->m_sb.sb_blocksize; in xfs_refcount_still_have_space()
847 XFS_TEST_ERROR(false, cur->bc_mp, in xfs_refcount_still_have_space()
891 ext.rc_startblock = cur->bc_mp->m_sb.sb_agblocks; in xfs_refcount_adjust_extents()
906 trace_xfs_refcount_modify_extent(cur->bc_mp, in xfs_refcount_adjust_extents()
918 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, in xfs_refcount_adjust_extents()
922 fsbno = XFS_AGB_TO_FSB(cur->bc_mp, in xfs_refcount_adjust_extents()
949 trace_xfs_refcount_modify_extent(cur->bc_mp, in xfs_refcount_adjust_extents()
960 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, in xfs_refcount_adjust_extents()
965 fsbno = XFS_AGB_TO_FSB(cur->bc_mp, in xfs_refcount_adjust_extents()
984 trace_xfs_refcount_modify_extent_error(cur->bc_mp, in xfs_refcount_adjust_extents()
1007 trace_xfs_refcount_increase(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcount_adjust()
1010 trace_xfs_refcount_decrease(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcount_adjust()
1049 trace_xfs_refcount_adjust_error(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcount_adjust()
1256 trace_xfs_refcount_find_shared(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcount_find_shared()
1278 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, i == 1, out_error); in xfs_refcount_find_shared()
1290 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, i == 1, out_error); in xfs_refcount_find_shared()
1318 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, i == 1, out_error); in xfs_refcount_find_shared()
1326 trace_xfs_refcount_find_shared_result(cur->bc_mp, in xfs_refcount_find_shared()
1331 trace_xfs_refcount_find_shared_error(cur->bc_mp, in xfs_refcount_find_shared()
1410 ext.rc_startblock = cur->bc_mp->m_sb.sb_agblocks + in xfs_refcount_adjust_cow_extents()
1419 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, in xfs_refcount_adjust_cow_extents()
1425 trace_xfs_refcount_modify_extent(cur->bc_mp, in xfs_refcount_adjust_cow_extents()
1432 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, in xfs_refcount_adjust_cow_extents()
1437 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, in xfs_refcount_adjust_cow_extents()
1439 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, in xfs_refcount_adjust_cow_extents()
1441 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, in xfs_refcount_adjust_cow_extents()
1445 trace_xfs_refcount_modify_extent(cur->bc_mp, in xfs_refcount_adjust_cow_extents()
1450 XFS_WANT_CORRUPTED_GOTO(cur->bc_mp, in xfs_refcount_adjust_cow_extents()
1459 trace_xfs_refcount_modify_extent_error(cur->bc_mp, in xfs_refcount_adjust_cow_extents()
1506 trace_xfs_refcount_adjust_cow_error(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcount_adjust_cow()
1520 trace_xfs_refcount_cow_increase(rcur->bc_mp, rcur->bc_private.a.agno, in __xfs_refcount_cow_alloc()
1537 trace_xfs_refcount_cow_decrease(rcur->bc_mp, rcur->bc_private.a.agno, in __xfs_refcount_cow_free()