Home
last modified time | relevance | path

Searched refs:to_perag (Results 1 – 12 of 12) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_ag.h93 static inline struct xfs_perag *to_perag(struct xfs_group *xg) in to_perag() function
148 return to_perag(xfs_group_get(mp, agno, XG_TYPE_AG)); in xfs_perag_get()
155 return to_perag(xfs_group_hold(pag_group(pag))); in xfs_perag_hold()
171 return to_perag(xfs_group_grab(mp, agno, XG_TYPE_AG)); in xfs_perag_grab()
188 return to_perag(xfs_group_next_range(mp, pag ? pag_group(pag) : NULL, in xfs_perag_next_range()
H A Dxfs_refcount.c178 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()
2106 error = xfs_alloc_read_agf(to_perag(xg), tp, 0, &agbp); in xfs_refcount_recover_cow_leftovers()
2109 cur = xfs_refcountbt_init_cursor(mp, tp, agbp, to_perag(xg)); in xfs_refcount_recover_cow_leftovers()
H A Dxfs_alloc.c304 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()
/linux/fs/xfs/scrub/
H A Dialloc.c265 struct xfs_perag *pag = to_perag(bs->cur->bc_group); in xchk_iallocbt_chunk()
325 fsino = xfs_agino_to_ino(to_perag(bs->cur->bc_group), agino); in xchk_iallocbt_check_cluster_ifree()
370 struct xfs_perag *pag = to_perag(bs->cur->bc_group); in xchk_iallocbt_check_cluster()
591 if (xfs_inobt_check_irec(to_perag(bs->cur->bc_group), &irec) != NULL) { in xchk_iallocbt_rec()
H A Dalloc.c142 if (xfs_alloc_check_irec(to_perag(bs->cur->bc_group), &irec) != NULL) { in xchk_allocbt_rec()
H A Drefcount.c455 if (xfs_refcount_check_irec(to_perag(bs->cur->bc_group), &irec) != in xchk_refcountbt_rec()
H A Drmap.c361 xfs_rmap_check_irec(to_perag(bs->cur->bc_group), &irec) != NULL) { in xchk_rmapbt_rec()
H A Drmap_repair.c691 if (xfs_inobt_check_irec(to_perag(cur->bc_group), &irec) != NULL) in xrep_rmap_walk_inobt()
/linux/fs/xfs/
H A Dxfs_fsmap.c227 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 Dxfs_notify_failure.c303 struct xfs_perag *pag = to_perag(xg); in xfs_dax_notify_dev_failure()
H A Dxfs_verify_media.c121 struct xfs_perag *pag = to_perag(xg); in xfs_verify_report_losses()
H A Dxfs_icache.c308 return to_perag(xfs_group_grab_next_mark(mp, in xfs_perag_grab_next_tag()