Searched refs:rtbno (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_rtbitmap.h | 69 xfs_rtblock_t rtbno) in xfs_rtb_to_rtx() argument 72 return rtbno >> mp->m_rtxblklog; in xfs_rtb_to_rtx() 74 return div_u64(rtbno, mp->m_sb.sb_rextsize); in xfs_rtb_to_rtx() 81 xfs_rtblock_t rtbno) in xfs_rtb_to_rtxoff() argument 84 return rtbno & mp->m_rtxblkmask; in xfs_rtb_to_rtxoff() 86 return do_div(rtbno, mp->m_sb.sb_rextsize); in xfs_rtb_to_rtxoff() 96 xfs_rtblock_t rtbno) in xfs_rtb_to_rtxup() argument 99 if (rtbno & mp->m_rtxblkmask) in xfs_rtb_to_rtxup() 100 return (rtbno >> mp->m_rtxblklog) + 1; in xfs_rtb_to_rtxup() 101 return rtbno >> mp->m_rtxblklog; in xfs_rtb_to_rtxup() [all …]
|
D | xfs_types.c | 144 xfs_rtblock_t rtbno) in xfs_verify_rtbno() argument 146 return rtbno < mp->m_sb.sb_rblocks; in xfs_verify_rtbno() 153 xfs_rtblock_t rtbno, in xfs_verify_rtbext() argument 156 if (rtbno + len <= rtbno) in xfs_verify_rtbext() 159 if (!xfs_verify_rtbno(mp, rtbno)) in xfs_verify_rtbext() 162 return xfs_verify_rtbno(mp, rtbno + len - 1); in xfs_verify_rtbext()
|
D | xfs_types.h | 227 bool xfs_verify_rtbno(struct xfs_mount *mp, xfs_rtblock_t rtbno); 228 bool xfs_verify_rtbext(struct xfs_mount *mp, xfs_rtblock_t rtbno,
|
D | xfs_rtbitmap.c | 1021 xfs_fsblock_t rtbno, in xfs_rtfree_blocks() argument 1035 mod = xfs_rtb_to_rtxoff(mp, rtbno); in xfs_rtfree_blocks() 1041 return xfs_rtfree_extent(tp, xfs_rtb_to_rtx(mp, rtbno), in xfs_rtfree_blocks()
|
/linux-6.12.1/fs/xfs/scrub/ |
D | rtbitmap.c | 207 xfs_rtblock_t rtbno, in xchk_xref_is_used_rt_space() argument 218 startext = xfs_rtb_to_rtx(sc->mp, rtbno); in xchk_xref_is_used_rt_space() 219 endext = xfs_rtb_to_rtx(sc->mp, rtbno + len - 1); in xchk_xref_is_used_rt_space()
|
D | rtsummary.c | 165 xfs_rtblock_t rtbno; in xchk_rtsum_record_free() local 181 rtbno = xfs_rtx_to_rtb(mp, rec->ar_startext); in xchk_rtsum_record_free() 184 if (!xfs_verify_rtbext(mp, rtbno, rtlen)) { in xchk_rtsum_record_free()
|
D | scrub.h | 295 void xchk_xref_is_used_rt_space(struct xfs_scrub *sc, xfs_rtblock_t rtbno, 298 # define xchk_xref_is_used_rt_space(sc, rtbno, len) do { } while (0) argument
|
/linux-6.12.1/fs/xfs/ |
D | xfs_fsmap.c | 721 xfs_rtblock_t rtbno; in xfs_getfsmap_rtdev_rtbitmap_helper() local 724 rtbno = xfs_rtx_to_rtb(mp, rec->ar_startext); in xfs_getfsmap_rtdev_rtbitmap_helper() 725 rec_daddr = XFS_FSB_TO_BB(mp, rtbno); in xfs_getfsmap_rtdev_rtbitmap_helper() 726 irec.rm_startblock = rtbno; in xfs_getfsmap_rtdev_rtbitmap_helper() 728 rtbno = xfs_rtx_to_rtb(mp, rec->ar_extcount); in xfs_getfsmap_rtdev_rtbitmap_helper() 729 len_daddr = XFS_FSB_TO_BB(mp, rtbno); in xfs_getfsmap_rtdev_rtbitmap_helper() 730 irec.rm_blockcount = rtbno; in xfs_getfsmap_rtdev_rtbitmap_helper()
|
D | xfs_trace.h | 2463 xfs_rtblock_t rtbno, xfs_rtblock_t len), 2464 TP_ARGS(mp, rtbno, len), 2467 __field(xfs_rtblock_t, rtbno) 2472 __entry->rtbno = rtbno; 2477 __entry->rtbno, 2484 xfs_rtblock_t rtbno, xfs_rtblock_t len), \ 2485 TP_ARGS(mp, rtbno, len)) 3039 __field(xfs_fsblock_t, rtbno) 3053 __entry->rtbno = bi->bi_bmap.br_startblock; 3060 __entry->rtbno = 0; [all …]
|