/linux/fs/xfs/libxfs/ |
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() 89 xfs_extent_busy_reuse(cur->bc_group, bno, 1, false); in xfs_allocbt_alloc_block() 107 error = xfs_alloc_put_freelist(to_perag(cur->bc_group), cur->bc_tp, in xfs_allocbt_free_block() 181 ASSERT(cur->bc_group->xg_gno == be32_to_cpu(agf->agf_seqno)); in xfs_allocbt_init_ptr_from_cur() 495 cur->bc_group = xfs_group_hold(pag_group(pag)); in xfs_bnobt_init_cursor() 521 cur->bc_group = xfs_group_hold(pag_group(pag)); in xfs_cntbt_init_cursor()
|
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() 231 ASSERT(cur->bc_group->xg_gno == be32_to_cpu(agf->agf_seqno)); in xfs_rmapbt_init_ptr_from_cur() 542 cur->bc_group = xfs_group_hold(pag_group(pag)); in xfs_rmapbt_init_cursor() 657 cur->bc_group = xfs_group_hold(pag_group(pag)); in xfs_rmapbt_mem_cursor()
|
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() 251 ASSERT(cur->bc_group->xg_gno == be32_to_cpu(agi->agi_seqno)); in xfs_inobt_init_ptr_from_cur() 263 ASSERT(cur->bc_group->xg_gno == be32_to_cpu(agi->agi_seqno)); in xfs_finobt_init_ptr_from_cur() 487 cur->bc_group = xfs_group_hold(pag_group(pag)); in xfs_inobt_init_cursor() 513 cur->bc_group = xfs_group_hold(pag_group(pag)); in xfs_finobt_init_cursor()
|
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() 84 ASSERT(args.agno == cur->bc_group->xg_gno); in xfs_refcountbt_alloc_block() 172 ASSERT(cur->bc_group->xg_gno == be32_to_cpu(agf->agf_seqno)); in xfs_refcountbt_init_ptr_from_cur() 368 cur->bc_group = xfs_group_hold(pag_group(pag)); in xfs_refcountbt_init_cursor()
|
H A D | xfs_btree_mem.c | 61 if (cur->bc_group) in xfbtree_dup_cursor() 62 ncur->bc_group = xfs_group_hold(cur->bc_group); in xfbtree_dup_cursor()
|
H A D | xfs_refcount.c | 177 return xfs_rtrefcount_check_irec(to_rtg(cur->bc_group), irec); in xfs_refcount_check_btrec() 178 return xfs_refcount_check_irec(to_perag(cur->bc_group), irec); in xfs_refcount_check_btrec() 192 cur->bc_group->xg_gno, fa); in xfs_refcount_complain_bad_rec() 196 cur->bc_group->xg_gno, fa); in xfs_refcount_complain_bad_rec() 1140 xfs_gbno_to_fsb(cur->bc_group, rec->rc_startblock), in xrefc_free_extent() 1175 ext.rc_startblock = xfs_group_max_blocks(cur->bc_group); in xfs_refcount_adjust_extents() 1360 struct xfs_perag *pag = to_perag(cur->bc_group); in xfs_refcount_continue_op() 1408 if (rcur != NULL && rcur->bc_group != ri->ri_group) { in xfs_refcount_finish_one() 1521 if (rcur != NULL && rcur->bc_group != ri->ri_group) { in xfs_rtrefcount_finish_one() 1829 ext.rc_startblock = xfs_group_max_blocks(cur->bc_group); in xfs_refcount_adjust_cow_extents()
|
H A D | xfs_rtrefcount_btree.c | 48 return xfs_rtrefcountbt_init_cursor(cur->bc_tp, to_rtg(cur->bc_group)); in xfs_rtrefcountbt_dup_cursor() 417 cur->bc_group = xfs_group_hold(rtg_group(rtg)); in xfs_rtrefcountbt_init_cursor() 449 cur->bc_ino.ip->i_projid = cur->bc_group->xg_gno; in xfs_rtrefcountbt_commit_staged_btree()
|
H A D | xfs_rtrmap_btree.c | 50 return xfs_rtrmapbt_init_cursor(cur->bc_tp, to_rtg(cur->bc_group)); in xfs_rtrmapbt_dup_cursor() 539 cur->bc_group = xfs_group_hold(rtg_group(rtg)); in xfs_rtrmapbt_init_cursor() 645 cur->bc_group = xfs_group_hold(rtg_group(rtg)); in xfs_rtrmapbt_mem_cursor() 687 cur->bc_ino.ip->i_projid = cur->bc_group->xg_gno; in xfs_rtrmapbt_commit_staged_btree()
|
H A D | xfs_rmap.c | 339 return xfs_rtrmap_check_irec(to_rtg(cur->bc_group), irec); in xfs_rmap_check_btrec() 340 return xfs_rmap_check_irec(to_perag(cur->bc_group), irec); in xfs_rmap_check_btrec() 357 cur->bc_group->xg_gno, fa); in xfs_rmap_complain_bad_rec() 361 cur->bc_group->xg_gno, fa); in xfs_rmap_complain_bad_rec() 2700 if (*pcur != NULL && (*pcur)->bc_group != ri->ri_group) { in xfs_rmap_finish_one()
|
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() 381 cur->bc_group->xg_gno, cur->bc_ops->name, in xfs_btree_check_ptr() 532 if (cur->bc_group) in xfs_btree_del_cursor() 533 xfs_group_put(cur->bc_group); in xfs_btree_del_cursor() 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() 1310 return cur->bc_group->xg_gno; in xfs_btree_owner()
|
H A D | xfs_ialloc.c | 145 cur->bc_ops->name, cur->bc_group->xg_gno, fa); in xfs_inobt_complain_bad_rec() 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() 2909 fa = xfs_inobt_check_irec(to_perag(cur->bc_group), &irec); in xfs_ialloc_count_inodes_rec()
|
H A D | xfs_btree.h | 273 struct xfs_group *bc_group; member
|
H A D | xfs_alloc.c | 278 cur->bc_ops->name, cur->bc_group->xg_gno, fa); in xfs_alloc_complain_bad_rec() 306 fa = xfs_alloc_check_irec(to_perag(cur->bc_group), &irec); in xfs_alloc_get_rec() 543 struct xfs_perag *pag = to_perag(cnt_cur->bc_group); in xfs_alloc_fixup_longest() 4056 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 | 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() 396 if (!xfs_verify_rgbext(to_rtg(cur->bc_group), rec->rm_startblock, in xrep_bmap_check_rtfork_rmap() 441 xfs_rgbno_to_rtb(to_rtg(cur->bc_group), in xrep_bmap_walk_rtrmap()
|
H A D | cow_repair.c | 155 xfs_gbno_to_fsb(cur->bc_group, rrec.rc_startblock), in xrep_cow_mark_shared_staging() 187 xfs_gbno_to_fsb(cur->bc_group, xc->next_bno), in xrep_cow_mark_missing_staging() 230 xfs_gbno_to_fsb(cur->bc_group, rec_bno), rec_len); in xrep_cow_mark_missing_staging_rmap()
|
H A D | health.c | 298 if (xfs_group_has_sickness((*curp)->bc_group, mask)) { in xchk_ag_btree_del_cursor_if_sick()
|
H A D | rtrmap.c | 228 xfs_rtrmap_check_irec(to_rtg(bs->cur->bc_group), &irec) != NULL) { in xchk_rtrmapbt_rec()
|
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 | rtrefcount_repair.c | 377 xfs_gbno_to_fsb(cur->bc_group, rec->rm_startblock), in xrep_rtrefc_walk_rmap()
|
H A D | rtrefcount.c | 468 if (xfs_rtrefcount_check_irec(to_rtg(bs->cur->bc_group), &irec) != in xchk_rtrefcountbt_rec()
|
H A D | rtrmap_repair.c | 406 xfs_gbno_to_fsb(cur->bc_group, rec->rm_startblock), in xrep_rtrmap_walk_rmap()
|
/linux/fs/xfs/ |
H A D | xfs_fsmap.c | 416 return xfs_getfsmap_group_helper(info, cur->bc_tp, cur->bc_group, in xfs_getfsmap_rmapbt_helper() 433 return xfs_getfsmap_group_helper(info, cur->bc_tp, cur->bc_group, in xfs_getfsmap_datadev_bnobt_helper() 852 return xfs_getfsmap_group_helper(info, cur->bc_tp, cur->bc_group, in xfs_getfsmap_rtdev_rmapbt_helper() 952 xfs_rtgroup_unlock(to_rtg(bt_cur->bc_group), in xfs_getfsmap_rtdev_rmapbt() 991 xfs_rtgroup_unlock(to_rtg(bt_cur->bc_group), in xfs_getfsmap_rtdev_rmapbt()
|
H A D | xfs_health.c | 549 ASSERT(cur->bc_group); in xfs_btree_mark_sick() 551 xfs_group_mark_sick(cur->bc_group, cur->bc_ops->sick_mask); in xfs_btree_mark_sick()
|
H A D | xfs_trace.h | 2682 __entry->agno = cur->bc_group->xg_gno; 2942 __entry->type = cur->bc_group->xg_type; 2943 __entry->agno = cur->bc_group->xg_gno; 2989 __entry->agno = cur->bc_group->xg_gno; 3037 __entry->type = cur->bc_group->xg_type; 3038 __entry->agno = cur->bc_group->xg_gno; 3067 __entry->type = cur->bc_group->xg_type; 3068 __entry->agno = cur->bc_group->xg_gno; 3321 __entry->type = cur->bc_group->xg_type; 3322 __entry->agno = cur->bc_group->xg_gno; [all …]
|