Home
last modified time | relevance | path

Searched refs:rgno (Results 1 – 14 of 14) sorted by relevance

/linux-6.15/fs/xfs/libxfs/
H A Dxfs_rtgroup.h116 xfs_rgnumber_t rgno) in xfs_rtgroup_get() argument
118 return to_rtg(xfs_group_get(mp, rgno, XG_TYPE_RTG)); in xfs_rtgroup_get()
139 xfs_rgnumber_t rgno) in xfs_rtgroup_grab() argument
141 return to_rtg(xfs_group_grab(mp, rgno, XG_TYPE_RTG)); in xfs_rtgroup_grab()
250 xfs_rgnumber_t rgno = xfs_rtb_to_rgno(mp, rtbno); in xfs_rtb_to_daddr() local
268 xfs_rgnumber_t rgno; in xfs_daddr_to_rtb() local
271 rgno = div_u64_rem(bno, g->blocks, &rgbno); in xfs_daddr_to_rtb()
272 return ((xfs_rtblock_t)rgno << g->blklog) + rgbno; in xfs_daddr_to_rtb()
292 xfs_rgnumber_t rgno, xfs_rgnumber_t rgcount,
358 # define xfs_rtgroup_extents(mp, rgno) (0) argument
[all …]
H A Dxfs_rtgroup.c43 xfs_rgnumber_t rgno) in xfs_rtgroup_min_block() argument
56 xfs_rgnumber_t rgno, in xfs_rtgroup_calc_geometry() argument
68 xfs_rgnumber_t rgno, in xfs_rtgroup_alloc() argument
94 xfs_rgnumber_t rgno) in xfs_rtgroup_free() argument
106 xfs_rgnumber_t rgno; in xfs_free_rtgroups() local
108 for (rgno = first_rgno; rgno < end_rgno; rgno++) in xfs_free_rtgroups()
143 xfs_rgnumber_t rgno, in __xfs_rtgroup_extents() argument
147 ASSERT(rgno < rgcount); in __xfs_rtgroup_extents()
148 if (rgno == rgcount - 1) in __xfs_rtgroup_extents()
158 xfs_rgnumber_t rgno) in xfs_rtgroup_extents() argument
[all …]
H A Dxfs_types.c150 xfs_rgnumber_t rgno = xfs_rtb_to_rgno(mp, rtbno); in xfs_verify_rtbno() local
153 if (rgno >= mp->m_sb.sb_rgcount) in xfs_verify_rtbno()
155 if (rtx >= xfs_rtgroup_extents(mp, rgno)) in xfs_verify_rtbno()
157 if (xfs_has_rtsb(mp) && rgno == 0 && rtx == 0) in xfs_verify_rtbno()
H A Dxfs_rtrmap_btree.h208 struct xfs_buftarg *btp, xfs_rgnumber_t rgno);
H A Dxfs_health.h205 void xfs_rgno_mark_sick(struct xfs_mount *mp, xfs_rgnumber_t rgno,
H A Dxfs_rtrmap_btree.c655 xfs_rgnumber_t rgno) in xfs_rtrmapbt_mem_init() argument
657 xfbt->owner = rgno; in xfs_rtrmapbt_mem_init()
/linux-6.15/fs/xfs/scrub/
H A Drgsuper.c45 xfs_rgnumber_t rgno = sc->sm->sm_agno; in xchk_rgsuperblock() local
53 if (rgno != 0) in xchk_rgsuperblock()
62 error = xchk_rtgroup_init_existing(sc, rgno, &sc->sr); in xchk_rgsuperblock()
H A Dcommon.h15 bool xchk_process_rt_error(struct xfs_scrub *sc, xfs_rgnumber_t rgno,
137 int xchk_rtgroup_init(struct xfs_scrub *sc, xfs_rgnumber_t rgno,
143 xfs_rgnumber_t rgno, in xchk_rtgroup_init_existing() argument
146 int error = xchk_rtgroup_init(sc, rgno, sr); in xchk_rtgroup_init_existing()
157 # define xchk_rtgroup_init(sc, rgno, sr) (-EFSCORRUPTED) argument
158 # define xchk_rtgroup_init_existing(sc, rgno, sr) (-EFSCORRUPTED) argument
H A Dcommon.c131 xfs_rgnumber_t rgno, in xchk_process_rt_error() argument
135 return __xchk_process_error(sc, rgno, rgbno, error, in xchk_process_rt_error()
713 xfs_rgnumber_t rgno, in xchk_rtgroup_init() argument
719 sr->rtg = xfs_rtgroup_get(sc->mp, rgno); in xchk_rtgroup_init()
H A Dtrace.h2308 TP_PROTO(struct xfs_mount *mp, xfs_rgnumber_t rgno,
2310 TP_ARGS(mp, rgno, usedlen, rmapbt_sz),
2313 __field(xfs_rgnumber_t, rgno)
2319 __entry->rgno = rgno;
2325 __entry->rgno,
3721 __field(xfs_rgnumber_t, rgno)
3729 __entry->rgno = rtg_rgno(rtg);
3737 __entry->rgno,
/linux-6.15/fs/xfs/
H A Dxfs_rtalloc.c785 if (rgno < mp->m_sb.sb_rgcount) in xfs_growfs_rt_free_new()
1172 xfs_rgnumber_t rgno, in xfs_growfs_rtg() argument
1183 rtg = xfs_rtgroup_grab(mp, rgno); in xfs_growfs_rtg()
1372 xfs_rgnumber_t rgno; in xfs_growfs_rt() local
1447 for (rgno = old_rgcount; rgno < new_rgcount; rgno++) { in xfs_growfs_rt()
1462 xfs_rtgroup_free(mp, rgno); in xfs_growfs_rt()
1896 xfs_rgnumber_t rgno, in xfs_rtallocate_rtg() argument
2021 xfs_rgnumber_t start_rgno, rgno; in xfs_rtallocate_rtgs() local
2036 rgno = start_rgno; in xfs_rtallocate_rtgs()
2048 rgno = 0; in xfs_rtallocate_rtgs()
[all …]
H A Dxfs_zone_alloc.c50 xfs_rgnumber_t rgno, in xfs_zone_add_to_bucket() argument
53 __set_bit(rgno, zi->zi_used_bucket_bitmap[to_bucket]); in xfs_zone_add_to_bucket()
60 xfs_rgnumber_t rgno, in xfs_zone_remove_from_bucket() argument
76 xfs_rgnumber_t rgno = rtg_rgno(rtg); in xfs_zone_account_reclaimable() local
102 xfs_zone_remove_from_bucket(zi, rgno, from_bucket); in xfs_zone_account_reclaimable()
118 xfs_zone_add_to_bucket(zi, rgno, to_bucket); in xfs_zone_account_reclaimable()
130 xfs_zone_add_to_bucket(zi, rgno, to_bucket); in xfs_zone_account_reclaimable()
131 xfs_zone_remove_from_bucket(zi, rgno, from_bucket); in xfs_zone_account_reclaimable()
996 xfs_rgnumber_t rgno; in xfs_get_zone_info_cb() local
1005 rgno = xfs_rtb_to_rgno(mp, zsbno); in xfs_get_zone_info_cb()
[all …]
H A Dxfs_health.c256 xfs_rgnumber_t rgno, in xfs_rgno_mark_sick() argument
259 struct xfs_rtgroup *rtg = xfs_rtgroup_get(mp, rgno); in xfs_rgno_mark_sick()
H A Dxfs_trace.h275 __field(xfs_rgnumber_t, rgno)
283 __entry->rgno = rtg_rgno(rtg);
289 __entry->rgno,
310 __field(xfs_rgnumber_t, rgno)
324 __entry->rgno,
336 __field(xfs_rgnumber_t, rgno)
354 __entry->rgno,
375 __field(xfs_rgnumber_t, rgno)
387 __entry->rgno,
1942 __entry->rgno,
[all …]