Home
last modified time | relevance | path

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

/Linux-v5.15/fs/xfs/
Dxfs_extent_busy.c130 xfs_agblock_t fbno, in xfs_extent_busy_update_extent() argument
135 xfs_agblock_t fend = fbno + flen; in xfs_extent_busy_update_extent()
162 if (bbno < fbno && bend > fend) { in xfs_extent_busy_update_extent()
181 } else if (bbno >= fbno && bend <= fend) { in xfs_extent_busy_update_extent()
239 } else if (bbno < fbno) { in xfs_extent_busy_update_extent()
253 busyp->length = fbno - busyp->bno; in xfs_extent_busy_update_extent()
258 trace_xfs_extent_busy_reuse(mp, pag->pag_agno, fbno, flen); in xfs_extent_busy_update_extent()
264 trace_xfs_extent_busy_force(mp, pag->pag_agno, fbno, flen); in xfs_extent_busy_update_extent()
277 xfs_agblock_t fbno, in xfs_extent_busy_reuse() argument
293 if (fbno + flen <= bbno) { in xfs_extent_busy_reuse()
[all …]
Dxfs_discard.c67 xfs_agblock_t fbno; in xfs_trim_extents() local
72 error = xfs_alloc_get_rec(cur, &fbno, &flen, &i); in xfs_trim_extents()
86 dbno = XFS_AGB_TO_DADDR(mp, agno, fbno); in xfs_trim_extents()
93 trace_xfs_discard_toosmall(mp, agno, fbno, flen); in xfs_trim_extents()
103 trace_xfs_discard_exclude(mp, agno, fbno, flen); in xfs_trim_extents()
111 if (xfs_extent_busy_search(mp, pag, fbno, flen)) { in xfs_trim_extents()
112 trace_xfs_discard_busy(mp, agno, fbno, flen); in xfs_trim_extents()
116 trace_xfs_discard_extent(mp, agno, fbno, flen); in xfs_trim_extents()
Dxfs_reflink.c135 xfs_agblock_t *fbno, in xfs_reflink_find_shared() argument
149 error = xfs_refcount_find_shared(cur, agbno, aglen, fbno, flen, in xfs_reflink_find_shared()
177 xfs_agblock_t fbno; in xfs_reflink_trim_around_shared() local
194 aglen, &fbno, &flen, true); in xfs_reflink_trim_around_shared()
199 if (fbno == NULLAGBLOCK) { in xfs_reflink_trim_around_shared()
202 } else if (fbno == agbno) { in xfs_reflink_trim_around_shared()
219 irec->br_blockcount = fbno - agbno; in xfs_reflink_trim_around_shared()
Dxfs_extent_busy.h48 xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata);
Dxfs_reflink.h21 xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_maximal);
Dxfs_fsmap.c200 xfs_agblock_t fbno; in xfs_getfsmap_is_shared() local
216 rec->rm_blockcount, &fbno, &flen, false); in xfs_getfsmap_is_shared()
/Linux-v5.15/fs/xfs/libxfs/
Dxfs_alloc.c431 xfs_agblock_t fbno, /* starting block of free extent */ in xfs_alloc_fixup_trees() argument
456 nfbno1 != fbno || in xfs_alloc_fixup_trees()
461 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
475 nfbno1 != fbno || in xfs_alloc_fixup_trees()
480 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
506 if (rbno == fbno && rlen == flen) in xfs_alloc_fixup_trees()
508 else if (rbno == fbno) { in xfs_alloc_fixup_trees()
512 } else if (rbno + rlen == fbno + flen) { in xfs_alloc_fixup_trees()
513 nfbno1 = fbno; in xfs_alloc_fixup_trees()
517 nfbno1 = fbno; in xfs_alloc_fixup_trees()
[all …]
Dxfs_dir2_node.c178 xfs_dablk_t fbno, in xfs_dir3_free_header_check() argument
185 firstdb = (xfs_dir2_da_to_db(mp->m_dir_geo, fbno) - in xfs_dir3_free_header_check()
216 xfs_dablk_t fbno, in __xfs_dir3_free_read() argument
223 err = xfs_da_read_buf(tp, dp, fbno, flags, bpp, XFS_DATA_FORK, in __xfs_dir3_free_read()
229 fa = xfs_dir3_free_header_check(dp, fbno, *bpp); in __xfs_dir3_free_read()
300 xfs_dablk_t fbno, in xfs_dir2_free_read() argument
303 return __xfs_dir3_free_read(tp, dp, fbno, 0, bpp); in xfs_dir2_free_read()
310 xfs_dablk_t fbno, in xfs_dir2_free_try_read() argument
313 return __xfs_dir3_free_read(tp, dp, fbno, XFS_DABUF_MAP_HOLE_OK, bpp); in xfs_dir2_free_try_read()
319 xfs_dir2_db_t fbno, in xfs_dir3_free_get_buf() argument
[all …]
Dxfs_dir2_priv.h98 xfs_dablk_t fbno, struct xfs_buf **bpp);
100 xfs_dablk_t fbno, struct xfs_buf **bpp);
158 xfs_dablk_t fbno, struct xfs_buf **bpp);
Dxfs_refcount.c1291 xfs_agblock_t *fbno, in xfs_refcount_find_shared() argument
1304 *fbno = NULLAGBLOCK; in xfs_refcount_find_shared()
1353 *fbno = tmp.rc_startblock; in xfs_refcount_find_shared()
1354 *flen = min(tmp.rc_blockcount, agbno + aglen - *fbno); in xfs_refcount_find_shared()
1359 while (*fbno + *flen < agbno + aglen) { in xfs_refcount_find_shared()
1373 tmp.rc_startblock != *fbno + *flen) in xfs_refcount_find_shared()
1375 *flen = min(*flen + tmp.rc_blockcount, agbno + aglen - *fbno); in xfs_refcount_find_shared()
1380 cur->bc_ag.pag->pag_agno, *fbno, *flen); in xfs_refcount_find_shared()
Dxfs_refcount.h52 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
Dxfs_dir2_leaf.c268 xfs_dablk_t fbno, in xfs_dir3_leaf_read() argument
273 err = xfs_da_read_buf(tp, dp, fbno, 0, bpp, XFS_DATA_FORK, in xfs_dir3_leaf_read()
284 xfs_dablk_t fbno, in xfs_dir3_leafn_read() argument
289 err = xfs_da_read_buf(tp, dp, fbno, 0, bpp, XFS_DATA_FORK, in xfs_dir3_leafn_read()
/Linux-v5.15/fs/xfs/scrub/
Dalloc.c42 xfs_agblock_t fbno; in xchk_allocbt_xref_other() local
62 error = xfs_alloc_get_rec(*pcur, &fbno, &flen, &has_otherrec); in xchk_allocbt_xref_other()
70 if (fbno != agbno || flen != len) in xchk_allocbt_xref_other()
Drmap.c38 xfs_agblock_t fbno; in xchk_rmapbt_xref_refc() local
56 irec->rm_blockcount, &fbno, &flen, false); in xchk_rmapbt_xref_refc()