Lines Matching refs:agno
82 trace_xfs_rmap_update(cur->bc_mp, cur->bc_ag.agno, in xfs_rmap_update()
94 cur->bc_ag.agno, error, _RET_IP_); in xfs_rmap_update()
110 trace_xfs_rmap_insert(rcur->bc_mp, rcur->bc_ag.agno, agbno, in xfs_rmap_insert()
136 rcur->bc_ag.agno, error, _RET_IP_); in xfs_rmap_insert()
152 trace_xfs_rmap_delete(rcur->bc_mp, rcur->bc_ag.agno, agbno, in xfs_rmap_delete()
173 rcur->bc_ag.agno, error, _RET_IP_); in xfs_rmap_delete()
200 xfs_agnumber_t agno = cur->bc_ag.agno; in xfs_rmap_get_rec() local
220 if (!xfs_verify_agbno(mp, agno, irec->rm_startblock)) in xfs_rmap_get_rec()
225 if (!xfs_verify_agbno(mp, agno, in xfs_rmap_get_rec()
239 agno); in xfs_rmap_get_rec()
263 cur->bc_ag.agno, rec->rm_startblock, in xfs_rmap_find_left_neighbor_helper()
315 cur->bc_ag.agno, bno, 0, owner, offset, flags); in xfs_rmap_find_left_neighbor()
323 cur->bc_ag.agno, irec->rm_startblock, in xfs_rmap_find_left_neighbor()
339 cur->bc_ag.agno, rec->rm_startblock, in xfs_rmap_lookup_le_range_helper()
388 cur->bc_ag.agno, bno, 0, owner, offset, flags); in xfs_rmap_lookup_le_range()
395 cur->bc_ag.agno, irec->rm_startblock, in xfs_rmap_lookup_le_range()
501 trace_xfs_rmap_unmap(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_unmap()
525 cur->bc_ag.agno, ltrec.rm_startblock, in xfs_rmap_unmap()
591 trace_xfs_rmap_delete(mp, cur->bc_ag.agno, in xfs_rmap_unmap()
669 trace_xfs_rmap_insert(mp, cur->bc_ag.agno, in xfs_rmap_unmap()
681 trace_xfs_rmap_unmap_done(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_unmap()
685 trace_xfs_rmap_unmap_error(mp, cur->bc_ag.agno, in xfs_rmap_unmap()
697 xfs_agnumber_t agno, in xfs_rmap_free() argument
709 cur = xfs_rmapbt_init_cursor(mp, tp, agbp, agno); in xfs_rmap_free()
776 trace_xfs_rmap_map(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_map()
798 cur->bc_ag.agno, ltrec.rm_startblock, in xfs_rmap_map()
834 cur->bc_ag.agno, gtrec.rm_startblock, in xfs_rmap_map()
873 trace_xfs_rmap_delete(mp, cur->bc_ag.agno, in xfs_rmap_map()
924 trace_xfs_rmap_insert(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_map()
935 trace_xfs_rmap_map_done(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_map()
939 trace_xfs_rmap_map_error(mp, cur->bc_ag.agno, in xfs_rmap_map()
951 xfs_agnumber_t agno, in xfs_rmap_alloc() argument
963 cur = xfs_rmapbt_init_cursor(mp, tp, agbp, agno); in xfs_rmap_alloc()
1013 trace_xfs_rmap_convert(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_convert()
1037 cur->bc_ag.agno, PREV.rm_startblock, in xfs_rmap_convert()
1079 cur->bc_ag.agno, LEFT.rm_startblock, in xfs_rmap_convert()
1117 cur->bc_ag.agno, RIGHT.rm_startblock, in xfs_rmap_convert()
1135 trace_xfs_rmap_convert_state(mp, cur->bc_ag.agno, state, in xfs_rmap_convert()
1165 trace_xfs_rmap_delete(mp, cur->bc_ag.agno, in xfs_rmap_convert()
1183 trace_xfs_rmap_delete(mp, cur->bc_ag.agno, in xfs_rmap_convert()
1213 trace_xfs_rmap_delete(mp, cur->bc_ag.agno, in xfs_rmap_convert()
1250 trace_xfs_rmap_delete(mp, cur->bc_ag.agno, in xfs_rmap_convert()
1329 trace_xfs_rmap_insert(mp, cur->bc_ag.agno, bno, in xfs_rmap_convert()
1386 trace_xfs_rmap_insert(mp, cur->bc_ag.agno, bno, in xfs_rmap_convert()
1417 trace_xfs_rmap_insert(mp, cur->bc_ag.agno, in xfs_rmap_convert()
1444 trace_xfs_rmap_insert(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_convert()
1468 trace_xfs_rmap_convert_done(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_convert()
1473 cur->bc_ag.agno, error, _RET_IP_); in xfs_rmap_convert()
1509 trace_xfs_rmap_convert(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_convert_shared()
1576 cur->bc_ag.agno, RIGHT.rm_startblock, in xfs_rmap_convert_shared()
1592 trace_xfs_rmap_convert_state(mp, cur->bc_ag.agno, state, in xfs_rmap_convert_shared()
1883 trace_xfs_rmap_convert_done(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_convert_shared()
1888 cur->bc_ag.agno, error, _RET_IP_); in xfs_rmap_convert_shared()
1926 trace_xfs_rmap_unmap(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_unmap_shared()
2075 trace_xfs_rmap_unmap_done(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_unmap_shared()
2080 cur->bc_ag.agno, error, _RET_IP_); in xfs_rmap_unmap_shared()
2115 trace_xfs_rmap_map(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_map_shared()
2141 cur->bc_ag.agno, gtrec.rm_startblock, in xfs_rmap_map_shared()
2234 trace_xfs_rmap_map_done(mp, cur->bc_ag.agno, bno, len, in xfs_rmap_map_shared()
2239 cur->bc_ag.agno, error, _RET_IP_); in xfs_rmap_map_shared()
2368 xfs_agnumber_t agno; in xfs_rmap_finish_one() local
2373 agno = XFS_FSB_TO_AGNO(mp, startblock); in xfs_rmap_finish_one()
2374 ASSERT(agno != NULLAGNUMBER); in xfs_rmap_finish_one()
2377 trace_xfs_rmap_deferred(mp, agno, type, bno, owner, whichfork, in xfs_rmap_finish_one()
2389 if (rcur != NULL && rcur->bc_ag.agno != agno) { in xfs_rmap_finish_one()
2400 error = xfs_free_extent_fix_freelist(tp, agno, &agbp); in xfs_rmap_finish_one()
2406 rcur = xfs_rmapbt_init_cursor(mp, tp, agbp, agno); in xfs_rmap_finish_one()
2567 xfs_agnumber_t agno, in xfs_rmap_alloc_extent() argument
2577 bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); in xfs_rmap_alloc_extent()
2589 xfs_agnumber_t agno, in xfs_rmap_free_extent() argument
2599 bmap.br_startblock = XFS_AGB_TO_FSB(tp->t_mountp, agno, bno); in xfs_rmap_free_extent()