Home
last modified time | relevance | path

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

/linux/fs/xfs/
H A Dxfs_discard.c235 xfs_agblock_t fbno; in xfs_trim_gather_extents() local
238 error = xfs_alloc_get_rec(cur, &fbno, &flen, &i); in xfs_trim_gather_extents()
252 tcur->start = fbno; in xfs_trim_gather_extents()
262 if (fbno + flen < tcur->start) { in xfs_trim_gather_extents()
263 trace_xfs_discard_exclude(pag_group(pag), fbno, flen); in xfs_trim_gather_extents()
266 if (fbno > tcur->end) { in xfs_trim_gather_extents()
267 trace_xfs_discard_exclude(pag_group(pag), fbno, flen); in xfs_trim_gather_extents()
276 if (fbno < tcur->start) { in xfs_trim_gather_extents()
277 flen -= tcur->start - fbno; in xfs_trim_gather_extents()
278 fbno = tcur->start; in xfs_trim_gather_extents()
[all …]
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_alloc.c572 xfs_agblock_t fbno, /* starting block of free extent */ in xfs_alloc_fixup_trees() argument
598 nfbno1 != fbno || in xfs_alloc_fixup_trees()
605 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
621 nfbno1 != fbno || in xfs_alloc_fixup_trees()
628 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
658 if (rbno == fbno && rlen == flen) in xfs_alloc_fixup_trees()
660 else if (rbno == fbno) { in xfs_alloc_fixup_trees()
664 } else if (rbno + rlen == fbno + flen) { in xfs_alloc_fixup_trees()
665 nfbno1 = fbno; in xfs_alloc_fixup_trees()
669 nfbno1 = fbno; in xfs_alloc_fixup_trees()
[all …]
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.c1644 xfs_agblock_t *fbno, in xfs_refcount_find_shared() argument
1656 *fbno = NULLAGBLOCK; in xfs_refcount_find_shared()
1712 *fbno = tmp.rc_startblock; in xfs_refcount_find_shared()
1713 *flen = min(tmp.rc_blockcount, agbno + aglen - *fbno); in xfs_refcount_find_shared()
1718 while (*fbno + *flen < agbno + aglen) { in xfs_refcount_find_shared()
1734 tmp.rc_startblock != *fbno + *flen) in xfs_refcount_find_shared()
1736 *flen = min(*flen + tmp.rc_blockcount, agbno + aglen - *fbno); in xfs_refcount_find_shared()
1740 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 Drtrmap.c174 xfs_rgblock_t fbno; in xchk_rtrmapbt_xref_rtrefc() local
192 irec->rm_blockcount, &fbno, &flen, false); in xchk_rtrmapbt_xref_rtrefc()
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()