| /linux/fs/xfs/libxfs/ |
| H A D | xfs_ag.h | 95 static inline struct xfs_perag *to_perag(struct xfs_group *xg) in to_perag() function 150 return to_perag(xfs_group_get(mp, agno, XG_TYPE_AG)); in xfs_perag_get() 157 return to_perag(xfs_group_hold(pag_group(pag))); in xfs_perag_hold() 173 return to_perag(xfs_group_grab(mp, agno, XG_TYPE_AG)); in xfs_perag_grab() 190 return to_perag(xfs_group_next_range(mp, pag ? pag_group(pag) : NULL, in xfs_perag_next_range()
|
| H A D | xfs_alloc_btree.c | 31 to_perag(cur->bc_group)); in xfs_bnobt_dup_cursor() 39 to_perag(cur->bc_group)); in xfs_cntbt_dup_cursor() 48 struct xfs_perag *pag = to_perag(cur->bc_group); in xfs_allocbt_set_root() 78 error = xfs_alloc_get_freelist(to_perag(cur->bc_group), cur->bc_tp, in xfs_allocbt_alloc_block() 107 error = xfs_alloc_put_freelist(to_perag(cur->bc_group), cur->bc_tp, in xfs_allocbt_free_block()
|
| H A D | xfs_rmap_btree.c | 60 cur->bc_ag.agbp, to_perag(cur->bc_group)); in xfs_rmapbt_dup_cursor() 71 struct xfs_perag *pag = to_perag(cur->bc_group); in xfs_rmapbt_set_root() 91 struct xfs_perag *pag = to_perag(cur->bc_group); in xfs_rmapbt_alloc_block() 129 struct xfs_perag *pag = to_perag(cur->bc_group); in xfs_rmapbt_free_block()
|
| H A D | xfs_ialloc_btree.c | 40 return xfs_inobt_init_cursor(to_perag(cur->bc_group), cur->bc_tp, in xfs_inobt_dup_cursor() 48 return xfs_finobt_init_cursor(to_perag(cur->bc_group), cur->bc_tp, in xfs_finobt_dup_cursor() 115 args.pag = to_perag(cur->bc_group); in __xfs_inobt_alloc_block()
|
| H A D | xfs_refcount_btree.c | 33 cur->bc_ag.agbp, to_perag(cur->bc_group)); in xfs_refcountbt_dup_cursor() 71 args.pag = to_perag(cur->bc_group); in xfs_refcountbt_alloc_block()
|
| H A D | xfs_refcount.c | 178 return xfs_refcount_check_irec(to_perag(cur->bc_group), irec); in xfs_refcount_check_btrec() 1359 struct xfs_perag *pag = to_perag(cur->bc_group); in xfs_refcount_continue_op() 1415 struct xfs_perag *pag = to_perag(ri->ri_group); in xfs_refcount_finish_one() 2107 error = xfs_alloc_read_agf(to_perag(xg), tp, 0, &agbp); in xfs_refcount_recover_cow_leftovers() 2110 cur = xfs_refcountbt_init_cursor(mp, tp, agbp, to_perag(xg)); in xfs_refcount_recover_cow_leftovers()
|
| H A D | xfs_ialloc.c | 173 fa = xfs_inobt_check_irec(to_perag(cur->bc_group), irec); in xfs_inobt_get_rec() 280 to_perag(cur->bc_group)->pagi_freecount); in xfs_check_agi_freecount() 2933 fa = xfs_inobt_check_irec(to_perag(cur->bc_group), &irec); in xfs_ialloc_count_inodes_rec()
|
| H A D | xfs_ag.c | 113 struct xfs_perag *pag = to_perag(xg); in xfs_perag_uninit()
|
| H A D | xfs_alloc.c | 304 fa = xfs_alloc_check_irec(to_perag(cur->bc_group), &irec); in xfs_alloc_get_rec() 541 struct xfs_perag *pag = to_perag(cnt_cur->bc_group); in xfs_alloc_fixup_longest() 4078 fa = xfs_alloc_check_irec(to_perag(cur->bc_group), &irec); in xfs_alloc_query_range_helper()
|
| H A D | xfs_btree.c | 234 struct xfs_perag *pag = to_perag(cur->bc_group); in __xfs_btree_check_agblock() 340 if (!xfs_verify_agbno(to_perag(cur->bc_group), in __xfs_btree_check_ptr() 1014 struct xfs_perag *pag = to_perag(cur->bc_group); in xfs_btree_readahead_agblock() 1088 *daddr = xfs_agbno_to_daddr(to_perag(cur->bc_group), in xfs_btree_ptr_to_daddr()
|
| H A D | xfs_rmap.c | 340 return xfs_rmap_check_irec(to_perag(cur->bc_group), irec); in xfs_rmap_check_btrec() 2637 struct xfs_perag *pag = to_perag(ri->ri_group); in xfs_rmap_finish_init_cursor()
|
| /linux/fs/xfs/scrub/ |
| H A D | ialloc.c | 261 struct xfs_perag *pag = to_perag(bs->cur->bc_group); in xchk_iallocbt_chunk() 321 fsino = xfs_agino_to_ino(to_perag(bs->cur->bc_group), agino); in xchk_iallocbt_check_cluster_ifree() 397 imap.im_blkno = xfs_agbno_to_daddr(to_perag(bs->cur->bc_group), agbno); in xchk_iallocbt_check_cluster() 408 trace_xchk_iallocbt_check_cluster(to_perag(bs->cur->bc_group), in xchk_iallocbt_check_cluster() 586 if (xfs_inobt_check_irec(to_perag(bs->cur->bc_group), &irec) != NULL) { in xchk_iallocbt_rec()
|
| H A D | bmap_repair.c | 208 if (!xfs_verify_agbext(to_perag(cur->bc_group), rec->rm_startblock, in xrep_bmap_check_fork_rmap() 280 fsbno = xfs_agbno_to_fsb(to_perag(cur->bc_group), rec->rm_startblock); in xrep_bmap_walk_rmap()
|
| H A D | refcount.c | 456 if (xfs_refcount_check_irec(to_perag(bs->cur->bc_group), &irec) != in xchk_refcountbt_rec()
|
| H A D | rmap_repair.c | 694 if (xfs_inobt_check_irec(to_perag(cur->bc_group), &irec) != NULL) in xrep_rmap_walk_inobt()
|
| /linux/fs/xfs/ |
| H A D | xfs_notify_failure.c | 292 struct xfs_perag *pag = to_perag(xg); in xfs_dax_notify_dev_failure()
|
| H A D | xfs_fsmap.c | 227 to_perag(info->group)); in xfs_getfsmap_is_shared() 620 to_perag(info->group)); in xfs_getfsmap_datadev_rmapbt_query() 653 to_perag(info->group)); in xfs_getfsmap_datadev_bnobt_query()
|
| H A D | xfs_extfree_item.c | 555 error = __xfs_free_extent(tp, to_perag(xefi->xefi_group), agbno, in xfs_extent_free_finish_item() 601 error = xfs_alloc_read_agf(to_perag(xefi->xefi_group), tp, 0, &agbp); in xfs_agfl_free_finish_item()
|