Searched refs:to_perag (Results 1 – 12 of 12) sorted by relevance
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_ag.h | 93 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 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() 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 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()
|
| /linux/fs/xfs/scrub/ |
| H A D | ialloc.c | 265 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 D | alloc.c | 142 if (xfs_alloc_check_irec(to_perag(bs->cur->bc_group), &irec) != NULL) { in xchk_allocbt_rec()
|
| H A D | refcount.c | 455 if (xfs_refcount_check_irec(to_perag(bs->cur->bc_group), &irec) != in xchk_refcountbt_rec()
|
| H A D | rmap.c | 361 xfs_rmap_check_irec(to_perag(bs->cur->bc_group), &irec) != NULL) { in xchk_rmapbt_rec()
|
| H A D | rmap_repair.c | 691 if (xfs_inobt_check_irec(to_perag(cur->bc_group), &irec) != NULL) in xrep_rmap_walk_inobt()
|
| /linux/fs/xfs/ |
| 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_notify_failure.c | 303 struct xfs_perag *pag = to_perag(xg); in xfs_dax_notify_dev_failure()
|
| H A D | xfs_verify_media.c | 121 struct xfs_perag *pag = to_perag(xg); in xfs_verify_report_losses()
|
| H A D | xfs_icache.c | 308 return to_perag(xfs_group_grab_next_mark(mp, in xfs_perag_grab_next_tag()
|