Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_extent_busy.c161 xfs_agblock_t fbno, in xfs_extent_busy_update_extent() argument
168 xfs_agblock_t fend = fbno + flen; in xfs_extent_busy_update_extent()
195 if (bbno < fbno && bend > fend) { in xfs_extent_busy_update_extent()
214 } else if (bbno >= fbno && bend <= fend) { in xfs_extent_busy_update_extent()
273 } else if (bbno < fbno) { in xfs_extent_busy_update_extent()
287 busyp->length = fbno - busyp->bno; in xfs_extent_busy_update_extent()
292 trace_xfs_extent_busy_reuse(xg, fbno, flen); in xfs_extent_busy_update_extent()
298 trace_xfs_extent_busy_force(xg, fbno, flen); in xfs_extent_busy_update_extent()
309 xfs_agblock_t fbno, in xfs_extent_busy_reuse() argument
326 if (fbno + flen <= bbno) { in xfs_extent_busy_reuse()
[all …]
H A Dxfs_discard.c223 xfs_agblock_t fbno; in xfs_trim_gather_extents() local
226 error = xfs_alloc_get_rec(cur, &fbno, &flen, &i); in xfs_trim_gather_extents()
240 tcur->start = fbno; in xfs_trim_gather_extents()
250 if (fbno + flen < tcur->start) { in xfs_trim_gather_extents()
251 trace_xfs_discard_exclude(pag_group(pag), fbno, flen); in xfs_trim_gather_extents()
254 if (fbno > tcur->end) { in xfs_trim_gather_extents()
255 trace_xfs_discard_exclude(pag_group(pag), fbno, flen); in xfs_trim_gather_extents()
264 if (fbno < tcur->start) { in xfs_trim_gather_extents()
265 flen -= tcur->start - fbno; in xfs_trim_gather_extents()
266 fbno = tcur->start; in xfs_trim_gather_extents()
[all …]
H A Dxfs_extent_busy.h53 void xfs_extent_busy_reuse(struct xfs_group *xg, xfs_agblock_t fbno,
H A Dxfs_fsmap.c215 xfs_agblock_t fbno; in xfs_getfsmap_is_shared() local
231 XFS_BB_TO_FSBT(mp, frec->len_daddr), &fbno, &flen, in xfs_getfsmap_is_shared()
/linux/fs/xfs/libxfs/
H A Dxfs_dir2_priv.h99 xfs_ino_t owner, xfs_dablk_t fbno, struct xfs_buf **bpp);
101 xfs_ino_t owner, xfs_dablk_t fbno, struct xfs_buf **bpp);
159 xfs_ino_t owner, xfs_dablk_t fbno, struct xfs_buf **bpp);
H A Dxfs_refcount.c1643 xfs_agblock_t *fbno, in xfs_refcount_find_shared() argument
1655 *fbno = NULLAGBLOCK; in xfs_refcount_find_shared()
1711 *fbno = tmp.rc_startblock; in xfs_refcount_find_shared()
1712 *flen = min(tmp.rc_blockcount, agbno + aglen - *fbno); in xfs_refcount_find_shared()
1717 while (*fbno + *flen < agbno + aglen) { in xfs_refcount_find_shared()
1733 tmp.rc_startblock != *fbno + *flen) in xfs_refcount_find_shared()
1735 *flen = min(*flen + tmp.rc_blockcount, agbno + aglen - *fbno); in xfs_refcount_find_shared()
1739 trace_xfs_refcount_find_shared_result(cur, *fbno, *flen); in xfs_refcount_find_shared()
H A Dxfs_refcount.h90 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
/linux/fs/xfs/scrub/
H A Dbmap_repair.c106 xfs_agblock_t fbno; in xrep_bmap_discover_shared() local
117 error = xfs_refcount_find_shared(cur, agbno, blockcount, &fbno, &flen, in xrep_bmap_discover_shared()
122 if (fbno != NULLAGBLOCK) in xrep_bmap_discover_shared()
H A Drmap.c84 xfs_agblock_t fbno; in xchk_rmapbt_xref_refc() local
102 irec->rm_blockcount, &fbno, &flen, false); in xchk_rmapbt_xref_refc()