Home
last modified time | relevance | path

Searched refs:rtx (Results 1 – 9 of 9) sorted by relevance

/fs/xfs/
A Dxfs_rtalloc.c284 *rtx = i; in xfs_rtallocate_extent_block()
329 *rtx = besti; in xfs_rtallocate_extent_block()
375 *rtx = start; in xfs_rtallocate_extent_exact()
392 *rtx = start; in xfs_rtallocate_extent_exact()
433 prod, rtx); in xfs_rtallocate_extent_near()
509 rtx); in xfs_rtallocate_extent_near()
626 rtx); in xfs_rtallocate_extent_size()
651 prod, len, rtx); in xfs_rtallocate_extent_size()
1789 xfs_rtxnum_t rtx, in xfs_rtalloc_check_busy() argument
1883 *rtx = resrtx; in xfs_rtallocate_adjust_for_busy()
[all …]
A Dxfs_trans.c1153 unsigned int rtx = xfs_extlen_to_rtxlen(mp, rblocks); in xfs_trans_reserve_more_inode() local
1158 error = xfs_trans_reserve_more(tp, dblocks, rtx); in xfs_trans_reserve_more_inode()
1176 xfs_add_frextents(mp, rtx); in xfs_trans_reserve_more_inode()
1177 tp->t_rtx_res -= rtx; in xfs_trans_reserve_more_inode()
A Dxfs_trace.h2005 xfs_rtxlen_t len, xfs_rtxlen_t prod, xfs_rtxnum_t rtx,
2007 TP_ARGS(rtg, start, minlen, maxlen, len, prod, rtx, busy_gen),
2017 __field(xfs_rtxnum_t, rtx)
2028 __entry->rtx = rtx;
2040 __entry->rtx,
/fs/xfs/libxfs/
A Dxfs_rtbitmap.h26 xfs_rtxnum_t rtx) in xfs_rtx_to_rtb() argument
32 return start + (rtx << mp->m_rtxblklog); in xfs_rtx_to_rtb()
33 return start + (rtx * mp->m_sb.sb_rextsize); in xfs_rtx_to_rtb()
182 xfs_rtxnum_t rtx) in xfs_rtx_to_rbmblock() argument
185 return div_u64(rtx, mp->m_rtx_per_rbmblock); in xfs_rtx_to_rbmblock()
187 return rtx >> mp->m_blkbit_log; in xfs_rtx_to_rbmblock()
194 xfs_rtxnum_t rtx) in xfs_rtx_to_rbmword() argument
199 div_u64_rem(rtx >> XFS_NBWORDLOG, mp->m_blockwsize, &mod); in xfs_rtx_to_rbmword()
203 return (rtx >> XFS_NBWORDLOG) & (mp->m_blockwsize - 1); in xfs_rtx_to_rbmword()
A Dxfs_types.c151 xfs_rtxnum_t rtx = xfs_rtb_to_rtx(mp, rtbno); in xfs_verify_rtbno() local
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()
A Dxfs_rtbitmap.c268 xfs_rtxnum_t *rtx) /* out: start rtext found */ in xfs_rtfind_back() argument
324 *rtx = start - i + 1; in xfs_rtfind_back()
362 *rtx = start - i + 1; in xfs_rtfind_back()
401 *rtx = start - i + 1; in xfs_rtfind_back()
409 *rtx = start - i + 1; in xfs_rtfind_back()
422 xfs_rtxnum_t *rtx) /* out: start rtext found */ in xfs_rtfind_forw() argument
479 *rtx = start + i - 1; in xfs_rtfind_forw()
517 *rtx = start + i - 1; in xfs_rtfind_forw()
554 *rtx = start + i - 1; in xfs_rtfind_forw()
562 *rtx = start + i - 1; in xfs_rtfind_forw()
A Dxfs_rtgroup.h233 xfs_rtxnum_t rtx) in xfs_rtx_to_rgbno() argument
238 return rtx << mp->m_rtxblklog; in xfs_rtx_to_rgbno()
239 return rtx * mp->m_sb.sb_rextsize; in xfs_rtx_to_rgbno()
/fs/xfs/scrub/
A Drtbitmap_repair.c85 xfs_rtxnum_t rtx) in rtx_to_wordoff() argument
87 return rtx >> XFS_NBWORDLOG; in rtx_to_wordoff()
A Dtrace.h3716 xfs_rtxnum_t rtx, xfs_rtxnum_t len),
3717 TP_ARGS(rtg, rbmoff, rtx, len),
3723 __field(xfs_rtxnum_t, rtx)
3731 __entry->rtx = rtx;
3739 __entry->rtx,

Completed in 33 milliseconds