Lines Matching refs:agno

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()
113 xfs_agnumber_t agno = cur->bc_private.a.agno; in xfs_refcount_get_rec() local
124 agno = cur->bc_private.a.agno; in xfs_refcount_get_rec()
139 if (!xfs_verify_agbno(mp, agno, realstart)) in xfs_refcount_get_rec()
143 if (!xfs_verify_agbno(mp, agno, realstart + irec->rc_blockcount - 1)) in xfs_refcount_get_rec()
149 trace_xfs_refcount_get(cur->bc_mp, cur->bc_private.a.agno, irec); in xfs_refcount_get_rec()
154 "Refcount BTree record corruption in AG %d detected!", agno); in xfs_refcount_get_rec()
174 trace_xfs_refcount_update(cur->bc_mp, cur->bc_private.a.agno, irec); in xfs_refcount_update()
181 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_update()
198 trace_xfs_refcount_insert(cur->bc_mp, cur->bc_private.a.agno, irec); in xfs_refcount_insert()
210 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_insert()
233 trace_xfs_refcount_delete(cur->bc_mp, cur->bc_private.a.agno, &irec); in xfs_refcount_delete()
242 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_delete()
359 trace_xfs_refcount_split_extent(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcount_split_extent()
381 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_split_extent()
401 cur->bc_private.a.agno, left, center, right); in xfs_refcount_merge_center_extents()
447 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_merge_center_extents()
466 cur->bc_private.a.agno, left, cleft); in xfs_refcount_merge_left_extent()
502 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_merge_left_extent()
520 cur->bc_private.a.agno, cright, right); in xfs_refcount_merge_right_extent()
559 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_merge_right_extent()
639 trace_xfs_refcount_find_left_extent(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcount_find_left_extents()
645 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_find_left_extents()
723 trace_xfs_refcount_find_right_extent(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcount_find_right_extents()
729 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_find_right_extents()
907 cur->bc_private.a.agno, &tmp); in xfs_refcount_adjust_extents()
923 cur->bc_private.a.agno, in xfs_refcount_adjust_extents()
950 cur->bc_private.a.agno, &ext); in xfs_refcount_adjust_extents()
966 cur->bc_private.a.agno, in xfs_refcount_adjust_extents()
985 cur->bc_private.a.agno, error, _RET_IP_); 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()
1092 xfs_agnumber_t agno; in xfs_refcount_finish_one() local
1098 agno = XFS_FSB_TO_AGNO(mp, startblock); in xfs_refcount_finish_one()
1099 ASSERT(agno != NULLAGNUMBER); in xfs_refcount_finish_one()
1115 if (rcur != NULL && rcur->bc_private.a.agno != agno) { in xfs_refcount_finish_one()
1123 error = xfs_alloc_read_agf(tp->t_mountp, tp, agno, in xfs_refcount_finish_one()
1130 rcur = xfs_refcountbt_init_cursor(mp, tp, agbp, agno); in xfs_refcount_finish_one()
1144 *new_fsb = XFS_AGB_TO_FSB(mp, agno, new_agbno); in xfs_refcount_finish_one()
1149 *new_fsb = XFS_AGB_TO_FSB(mp, agno, new_agbno); in xfs_refcount_finish_one()
1166 trace_xfs_refcount_finish_one_leftover(mp, agno, type, in xfs_refcount_finish_one()
1256 trace_xfs_refcount_find_shared(cur->bc_mp, cur->bc_private.a.agno, in xfs_refcount_find_shared()
1327 cur->bc_private.a.agno, *fbno, *flen); in xfs_refcount_find_shared()
1332 cur->bc_private.a.agno, error, _RET_IP_); in xfs_refcount_find_shared()
1426 cur->bc_private.a.agno, &tmp); in xfs_refcount_adjust_cow_extents()
1446 cur->bc_private.a.agno, &ext); in xfs_refcount_adjust_cow_extents()
1460 cur->bc_private.a.agno, error, _RET_IP_); 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()
1618 xfs_agnumber_t agno) in xfs_refcount_recover_cow_leftovers() argument
1650 error = xfs_alloc_read_agf(mp, tp, agno, 0, &agbp); in xfs_refcount_recover_cow_leftovers()
1657 cur = xfs_refcountbt_init_cursor(mp, tp, agbp, agno); in xfs_refcount_recover_cow_leftovers()
1679 trace_xfs_refcount_recover_extent(mp, agno, &rr->rr_rrec); in xfs_refcount_recover_cow_leftovers()
1683 fsb = XFS_AGB_TO_FSB(mp, agno, agbno); in xfs_refcount_recover_cow_leftovers()