Home
last modified time | relevance | path

Searched refs:rgbno (Results 1 – 5 of 5) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_rtgroup.h173 xfs_rgblock_t rgbno) in xfs_verify_rgbno() argument
177 return xfs_verify_gbno(rtg_group(rtg), rgbno); in xfs_verify_rgbno()
188 xfs_rgblock_t rgbno, in xfs_verify_rgbext() argument
193 return xfs_verify_gbext(rtg_group(rtg), rgbno, len); in xfs_verify_rgbext()
199 xfs_rgblock_t rgbno) in xfs_rgbno_to_rtb() argument
201 return xfs_gbno_to_fsb(rtg_group(rtg), rgbno); in xfs_rgbno_to_rtb()
269 uint32_t rgbno; 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()
H A Dxfs_rtbitmap.h40 xfs_rgblock_t rgbno) in xfs_rgbno_to_rtx() argument
43 return rgbno >> mp->m_rtxblklog; in xfs_rgbno_to_rtx()
44 return rgbno / mp->m_sb.sb_rextsize; in xfs_rgbno_to_rtx()
142 xfs_rgblock_t rgbno) in xfs_rgbno_to_rtxoff() argument
144 return rgbno % mp->m_sb.sb_rextsize; in xfs_rgbno_to_rtxoff()
/linux/fs/xfs/scrub/
H A Dscrub.h328 void xchk_xref_has_no_rt_owner(struct xfs_scrub *sc, xfs_rgblock_t rgbno,
330 void xchk_xref_has_rt_owner(struct xfs_scrub *sc, xfs_rgblock_t rgbno,
332 void xchk_xref_is_only_rt_owned_by(struct xfs_scrub *sc, xfs_rgblock_t rgbno,
334 void xchk_xref_is_rt_cow_staging(struct xfs_scrub *sc, xfs_rgblock_t rgbno,
336 void xchk_xref_is_not_rt_shared(struct xfs_scrub *sc, xfs_rgblock_t rgbno,
338 void xchk_xref_is_not_rt_cow_staging(struct xfs_scrub *sc, xfs_rgblock_t rgbno,
H A Drepair.h110 int xrep_require_rtext_inuse(struct xfs_scrub *sc, xfs_rgblock_t rgbno,
/linux/fs/xfs/
H A Dxfs_discard.c631 xfs_rgblock_t rgbno; in xfs_trim_gather_rtgroup_extent() local
644 rgbno = xfs_rtx_to_rgbno(rtg, rec->ar_startext); in xfs_trim_gather_rtgroup_extent()
649 trace_xfs_discard_toosmall(rtg_group(rtg), rgbno, len); in xfs_trim_gather_rtgroup_extent()
657 if (xfs_extent_busy_search(rtg_group(rtg), rgbno, len)) { in xfs_trim_gather_rtgroup_extent()
658 trace_xfs_discard_busy(rtg_group(rtg), rgbno, len); in xfs_trim_gather_rtgroup_extent()
662 xfs_extent_busy_insert_discard(rtg_group(rtg), rgbno, len, in xfs_trim_gather_rtgroup_extent()