Searched refs:rtbno (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_rtgroup.h | 207 xfs_rtblock_t rtbno) in xfs_rtb_to_rgno() argument 209 return xfs_fsb_to_gno(mp, rtbno, XG_TYPE_RTG); in xfs_rtb_to_rgno() 215 xfs_rtblock_t rtbno) in xfs_rtb_to_rgbno() argument 217 return xfs_fsb_to_gbno(mp, rtbno, XG_TYPE_RTG); in xfs_rtb_to_rgbno() 224 xfs_rtblock_t rtbno) in xfs_rtbno_is_group_start() argument 226 return (rtbno & mp->m_groups[XG_TYPE_RTG].blkmask) == 0; in xfs_rtbno_is_group_start() 245 xfs_rtblock_t rtbno) in xfs_rtb_to_daddr() argument 250 xfs_rgnumber_t rgno = xfs_rtb_to_rgno(mp, rtbno); in xfs_rtb_to_daddr() 252 rtbno = (xfs_rtblock_t)rgno * g->blocks + (rtbno & g->blkmask); in xfs_rtb_to_daddr() 255 return XFS_FSB_TO_BB(mp, g->start_fsb + rtbno); in xfs_rtb_to_daddr()
|
| H A D | xfs_rtbitmap.h | 129 xfs_rtblock_t rtbno) in xfs_rtb_to_rtx() argument 132 rtbno &= mp->m_groups[XG_TYPE_RTG].blkmask; in xfs_rtb_to_rtx() 134 return rtbno >> mp->m_rtxblklog; in xfs_rtb_to_rtx() 135 return div_u64(rtbno, mp->m_sb.sb_rextsize); in xfs_rtb_to_rtx() 151 xfs_rtblock_t rtbno) in xfs_rtb_to_rtxoff() argument 154 rtbno &= mp->m_groups[XG_TYPE_RTG].blkmask; in xfs_rtb_to_rtxoff() 156 return rtbno & mp->m_rtxblkmask; in xfs_rtb_to_rtxoff() 157 return do_div(rtbno, mp->m_sb.sb_rextsize); in xfs_rtb_to_rtxoff() 413 xfs_fsblock_t rtbno, xfs_filblks_t rtlen); 434 struct xfs_rtgroup *rtg, xfs_fsblock_t rtbno, in xfs_rtfree_blocks() argument
|
| H A D | xfs_types.h | 276 bool xfs_verify_rtbno(struct xfs_mount *mp, xfs_rtblock_t rtbno); 277 bool xfs_verify_rtbext(struct xfs_mount *mp, xfs_rtblock_t rtbno,
|
| /linux/fs/xfs/scrub/ |
| H A D | scrub.h | 326 void xchk_xref_is_used_rt_space(struct xfs_scrub *sc, xfs_rtblock_t rtbno, 341 # define xchk_xref_is_used_rt_space(sc, rtbno, len) do { } while (0) argument 342 # define xchk_xref_has_no_rt_owner(sc, rtbno, len) do { } while (0) argument 343 # define xchk_xref_has_rt_owner(sc, rtbno, len) do { } while (0) argument
|
| H A D | rtbitmap.c | 272 xfs_rtblock_t rtbno, in xchk_xref_is_used_rt_space() argument 286 xfs_rtb_to_rgbno(sc->mp, rtbno) + len - 1)) in xchk_xref_is_used_rt_space() 291 startext = xfs_rtb_to_rtx(sc->mp, rtbno); in xchk_xref_is_used_rt_space() 292 endext = xfs_rtb_to_rtx(sc->mp, rtbno + len - 1); in xchk_xref_is_used_rt_space()
|
| H A D | rtsummary.c | 172 xfs_rtblock_t rtbno; in xchk_rtsum_record_free() local 188 rtbno = xfs_rtx_to_rtb(rtg, rec->ar_startext); in xchk_rtsum_record_free() 191 if (!xfs_verify_rtbext(mp, rtbno, rtlen)) { in xchk_rtsum_record_free()
|