/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_refcount.c | 157 cur->bc_ag.pag->pag_agno, fa); in xfs_refcount_complain_bad_rec() 536 cur->bc_ag.pag->pag_agno, left, cleft); in xfs_refcount_merge_left_extent() 599 cur->bc_ag.pag->pag_agno, cright, right); in xfs_refcount_merge_right_extent() 1133 cur->bc_ag.pag->pag_agno, &tmp); in xfs_refcount_adjust_extents() 1152 cur->bc_ag.pag->pag_agno, in xfs_refcount_adjust_extents() 1197 cur->bc_ag.pag->pag_agno, &ext); in xfs_refcount_adjust_extents() 1214 cur->bc_ag.pag->pag_agno, in xfs_refcount_adjust_extents() 1602 cur->bc_ag.pag->pag_agno, *fbno, *flen); in xfs_refcount_find_shared() 1712 cur->bc_ag.pag->pag_agno, &tmp); in xfs_refcount_adjust_cow_extents() 1740 cur->bc_ag.pag->pag_agno, &ext); in xfs_refcount_adjust_cow_extents() [all …]
|
H A D | xfs_rmap.c | 112 cur->bc_ag.pag->pag_agno, error, _RET_IP_); in xfs_rmap_update() 154 rcur->bc_ag.pag->pag_agno, error, _RET_IP_); in xfs_rmap_insert() 191 rcur->bc_ag.pag->pag_agno, error, _RET_IP_); in xfs_rmap_delete() 275 cur->bc_ag.pag->pag_agno, fa); in xfs_rmap_complain_bad_rec() 324 cur->bc_ag.pag->pag_agno, rec->rm_startblock, in xfs_rmap_find_left_neighbor_helper() 407 cur->bc_ag.pag->pag_agno, irec->rm_startblock, in xfs_rmap_find_left_neighbor() 423 cur->bc_ag.pag->pag_agno, rec->rm_startblock, in xfs_rmap_lookup_le_range_helper() 503 cur->bc_ag.pag->pag_agno, irec->rm_startblock, in xfs_rmap_lookup_le_range() 1560 cur->bc_ag.pag->pag_agno, error, _RET_IP_); in xfs_rmap_convert() 1975 cur->bc_ag.pag->pag_agno, error, _RET_IP_); in xfs_rmap_convert_shared() [all …]
|
H A D | xfs_ag_resv.c | 141 if (pag->pag_agno == 0) in __xfs_ag_resv_free() 158 trace_xfs_ag_resv_free_error(pag->pag_mount, pag->pag_agno, in __xfs_ag_resv_free() 221 trace_xfs_ag_resv_init_error(pag->pag_mount, pag->pag_agno, in __xfs_ag_resv_init() 225 pag->pag_agno); in __xfs_ag_resv_init() 235 if (pag->pag_agno == 0) in __xfs_ag_resv_init()
|
H A D | xfs_refcount_btree.c | 76 XFS_AGB_TO_FSB(args.mp, args.pag->pag_agno, in xfs_refcountbt_alloc_block() 80 trace_xfs_refcountbt_alloc_block(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcountbt_alloc_block() 86 ASSERT(args.agno == cur->bc_ag.pag->pag_agno); in xfs_refcountbt_alloc_block() 110 trace_xfs_refcountbt_free_block(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcountbt_free_block() 176 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_refcountbt_init_ptr_from_cur() 346 ASSERT(pag->pag_agno < mp->m_sb.sb_agcount); in xfs_refcountbt_init_common() 528 if (xfs_ag_contains_log(mp, pag->pag_agno)) in xfs_refcountbt_calc_reserves()
|
H A D | xfs_ialloc.c | 140 cur->bc_ag.pag->pag_agno, fa); in xfs_inobt_complain_bad_rec() 712 XFS_AGB_TO_FSB(args.mp, pag->pag_agno, in xfs_ialloc_ag_alloc() 755 XFS_AGB_TO_FSB(args.mp, pag->pag_agno, in xfs_ialloc_ag_alloc() 768 XFS_AGB_TO_FSB(args.mp, pag->pag_agno, in xfs_ialloc_ag_alloc() 804 XFS_AGB_TO_FSB(args.mp, pag->pag_agno, in xfs_ialloc_ag_alloc() 860 XFS_AGINO_TO_INO(args.mp, pag->pag_agno, in xfs_ialloc_ag_alloc() 1043 if (pagno == pag->pag_agno) { in xfs_dialloc_ag_inobt() 1492 if (pag->pag_agno == pagno) in xfs_dialloc_ag() 2178 if (pag->pag_agno != XFS_INO_TO_AGNO(mp, inode)) { in xfs_difree() 2252 __func__, error, pag->pag_agno); in xfs_imap_lookup() [all …]
|
H A D | xfs_ag.h | 34 xfs_agnumber_t pag_agno; /* AG this structure belongs to */ member 232 *agno = pag->pag_agno + 1; in xfs_perag_next() 258 (agno) = (pag)->pag_agno + 1, \ 272 *agno = pag->pag_agno + 1; in xfs_perag_next_wrap()
|
H A D | xfs_rmap_btree.c | 98 trace_xfs_rmapbt_alloc_block(cur->bc_mp, pag->pag_agno, bno, 1); in xfs_rmapbt_alloc_block() 110 xfs_ag_resv_rmapbt_alloc(cur->bc_mp, pag->pag_agno); in xfs_rmapbt_alloc_block() 128 trace_xfs_rmapbt_free_block(cur->bc_mp, pag->pag_agno, in xfs_rmapbt_free_block() 227 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_rmapbt_init_ptr_from_cur() 719 if (xfs_ag_contains_log(mp, pag->pag_agno)) in xfs_rmapbt_calc_reserves()
|
H A D | xfs_ialloc_btree.c | 114 XFS_AGB_TO_FSB(args.mp, args.pag->pag_agno, sbno)); in __xfs_inobt_alloc_block() 242 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agi->agi_seqno)); in xfs_inobt_init_ptr_from_cur() 254 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agi->agi_seqno)); in xfs_finobt_init_ptr_from_cur() 716 if (xfs_ag_contains_log(mp, pag->pag_agno)) in xfs_inobt_max_size()
|
H A D | xfs_ag.c | 389 pag->pag_agno = index; in xfs_initialize_perag() 939 ASSERT(pag->pag_agno == mp->m_sb.sb_agcount - 1); in xfs_ag_shrink_space() 976 XFS_AGB_TO_FSB(mp, pag->pag_agno, aglen - delta)); in xfs_ag_shrink_space() 1067 ASSERT(pag->pag_agno == pag->pag_mount->m_sb.sb_agcount - 1); in xfs_ag_extend_space() 1135 ageo->ag_number = pag->pag_agno; in xfs_ag_get_geometry()
|
H A D | xfs_alloc.c | 275 cur->bc_ag.pag->pag_agno, fa); in xfs_alloc_complain_bad_rec() 758 XFS_AG_DADDR(mp, pag->pag_agno, XFS_AGFL_DADDR(mp)), in xfs_alloc_read_agfl() 2467 pag->pag_agno, pag->pagf_flcount); in xfs_agfl_reset() 2997 if (bp->b_pag && seqno != bp->b_pag->pag_agno) in xfs_validate_ag_length() 3172 trace_xfs_read_agf(pag->pag_mount, pag->pag_agno); in xfs_read_agf() 3175 XFS_AG_DADDR(mp, pag->pag_agno, XFS_AGF_DADDR(mp)), in xfs_read_agf() 3201 trace_xfs_alloc_read_agf(pag->pag_mount, pag->pag_agno); in xfs_alloc_read_agf() 3468 ASSERT(args->pag->pag_agno == agno); in xfs_alloc_vextent_this_ag() 3681 ASSERT(args->pag->pag_agno == XFS_FSB_TO_AGNO(mp, target)); in xfs_alloc_vextent_exact_bno() 3720 ASSERT(args->pag->pag_agno == XFS_FSB_TO_AGNO(mp, target)); in xfs_alloc_vextent_near_bno() [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_iwalk.c | 114 xfs_btree_reada_bufs(mp, pag->pag_agno, agbno, in xfs_iwalk_ichunk_ra() 194 trace_xfs_iwalk_ag_rec(mp, pag->pag_agno, irec); in xfs_iwalk_ag_recs() 200 error = iwag->inobt_walk_fn(mp, tp, pag->pag_agno, irec, in xfs_iwalk_ag_recs() 218 ino = XFS_AGINO_TO_INO(mp, pag->pag_agno, in xfs_iwalk_ag_recs() 312 iwag->lastino = XFS_AGINO_TO_INO(mp, pag->pag_agno, in xfs_iwalk_ag_start() 415 ASSERT(pag->pag_agno == XFS_INO_TO_AGNO(mp, iwag->startino)); in xfs_iwalk_ag() 434 rec_fsino = XFS_AGINO_TO_INO(mp, pag->pag_agno, irec->ir_startino); in xfs_iwalk_ag() 680 startino = XFS_AGINO_TO_INO(mp, pag->pag_agno + 1, 0); in xfs_iwalk_threaded() 771 iwag.startino = XFS_AGINO_TO_INO(mp, pag->pag_agno + 1, 0); in xfs_inobt_walk()
|
H A D | xfs_discard.c | 226 dbno = XFS_AGB_TO_DADDR(mp, pag->pag_agno, fbno); in xfs_trim_gather_extents() 233 trace_xfs_discard_toosmall(mp, pag->pag_agno, fbno, flen); in xfs_trim_gather_extents() 244 trace_xfs_discard_exclude(mp, pag->pag_agno, fbno, flen); in xfs_trim_gather_extents() 253 trace_xfs_discard_busy(mp, pag->pag_agno, fbno, flen); in xfs_trim_gather_extents()
|
H A D | xfs_extent_busy.c | 36 new->agno = pag->pag_agno; in xfs_extent_busy_insert_list() 43 trace_xfs_extent_busy(pag->pag_mount, pag->pag_agno, bno, len); in xfs_extent_busy_insert_list() 282 trace_xfs_extent_busy_reuse(mp, pag->pag_agno, fbno, flen); in xfs_extent_busy_update_extent() 288 trace_xfs_extent_busy_force(mp, pag->pag_agno, fbno, flen); in xfs_extent_busy_update_extent()
|
H A D | xfs_fsmap.c | 342 info->pag ? info->pag->pag_agno : NULLAGNUMBER, rec); in xfs_getfsmap_helper() 385 fsb = XFS_AGB_TO_FSB(mp, cur->bc_ag.pag->pag_agno, rec->rm_startblock); in xfs_getfsmap_datadev_helper() 403 rec_daddr = XFS_AGB_TO_DADDR(mp, cur->bc_ag.pag->pag_agno, in xfs_getfsmap_datadev_bnobt_helper() 653 if (pag->pag_agno == end_ag) { in __xfs_getfsmap_datadev() 675 trace_xfs_fsmap_low_key(mp, info->dev, pag->pag_agno, in __xfs_getfsmap_datadev() 677 trace_xfs_fsmap_high_key(mp, info->dev, pag->pag_agno, in __xfs_getfsmap_datadev() 688 if (pag->pag_agno == start_ag) in __xfs_getfsmap_datadev() 696 if (pag->pag_agno == end_ag) { in __xfs_getfsmap_datadev()
|
H A D | xfs_filestream.c | 234 ap->blkno = XFS_AGB_TO_FSB(args->mp, pag->pag_agno, 0); in xfs_filestream_lookup_association() 282 agno = (item->pag->pag_agno + 1) % mp->m_sb.sb_agcount; in xfs_filestream_create_association() 377 ap->blkno = XFS_AGB_TO_FSB(mp, args->pag->pag_agno, 0); in xfs_filestream_select_ag()
|
H A D | xfs_extfree_item.c | 392 trace_xfs_bmap_free_deferred(tp->t_mountp, xefi->xefi_pag->pag_agno, 0, in xfs_trans_free_extent() 443 return ra->xefi_pag->pag_agno - rb->xefi_pag->pag_agno; in xfs_extent_free_diff_items() 605 trace_xfs_agfl_free_deferred(mp, xefi->xefi_pag->pag_agno, 0, agbno, in xfs_agfl_free_finish_item() 610 error = xfs_free_agfl_block(tp, xefi->xefi_pag->pag_agno, in xfs_agfl_free_finish_item()
|
H A D | xfs_health.c | 183 trace_xfs_ag_mark_sick(pag->pag_mount, pag->pag_agno, mask); in xfs_ag_mark_sick() 198 trace_xfs_ag_mark_healthy(pag->pag_mount, pag->pag_agno, mask); in xfs_ag_mark_healthy()
|
H A D | xfs_iunlink_item.c | 83 trace_xfs_iunlink_update_dinode(mp, iup->pag->pag_agno, in xfs_iunlink_log_dinode()
|
H A D | xfs_icache.c | 245 radix_tree_tag_set(&mp->m_perag_tree, pag->pag_agno, tag); in xfs_perag_set_inode_tag() 289 radix_tree_tag_clear(&mp->m_perag_tree, pag->pag_agno, tag); in xfs_perag_clear_inode_tag() 1020 ag = pag->pag_agno + 1; in xfs_reclaim_inodes_count() 1456 pag->pag_agno, error); in xfs_blockgc_worker() 1692 if (XFS_INO_TO_AGNO(mp, ip->i_ino) != pag->pag_agno) in xfs_icwalk_ag()
|
H A D | xfs_refcount_item.c | 289 return ra->ri_pag->pag_agno - rb->ri_pag->pag_agno; in xfs_refcount_update_diff_items()
|
H A D | xfs_rmap_item.c | 330 return ra->ri_pag->pag_agno - rb->ri_pag->pag_agno; in xfs_rmap_update_diff_items()
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | agheader_repair.c | 206 agf->agf_seqno = cpu_to_be32(pag->pag_agno); in xrep_agf_init_header() 393 XFS_AG_DADDR(mp, sc->sa.pag->pag_agno, in xrep_agf() 699 agfl->agfl_seqno = cpu_to_be32(sc->sa.pag->pag_agno); in xrep_agfl_init_header() 753 XFS_AG_DADDR(mp, sc->sa.pag->pag_agno, in xrep_agfl() 863 agi->agi_seqno = cpu_to_be32(pag->pag_agno); in xrep_agi_init_header() 1003 XFS_AG_DADDR(mp, sc->sa.pag->pag_agno, in xrep_agi()
|
H A D | repair.c | 396 args.agno = sc->sa.pag->pag_agno; in xrep_fix_freelist() 466 daddr = XFS_AGB_TO_DADDR(mp, ri->sc->sa.pag->pag_agno, agbno); in xrep_findroot_block() 595 trace_xrep_findroot_block(mp, ri->sc->sa.pag->pag_agno, agbno, in xrep_findroot_block()
|
H A D | reap.c | 220 xfs_agnumber_t agno = sc->sa.pag->pag_agno; in xreap_agextent_binval() 361 fsbno = XFS_AGB_TO_FSB(sc->mp, sc->sa.pag->pag_agno, agbno); in xreap_agextent_iter()
|
H A D | ialloc.c | 322 fsino = XFS_AGINO_TO_INO(mp, bs->cur->bc_ag.pag->pag_agno, agino); in xchk_iallocbt_check_cluster_ifree() 371 xfs_agnumber_t agno = bs->cur->bc_ag.pag->pag_agno; in xchk_iallocbt_check_cluster()
|