| /linux-6.15/fs/xfs/ |
| H A D | xfs_extent_busy.c | 162 xfs_agblock_t fbno, in xfs_extent_busy_update_extent() argument 274 } else if (bbno < fbno) { in xfs_extent_busy_update_extent() 310 xfs_agblock_t fbno, in xfs_extent_busy_reuse() argument 327 if (fbno + flen <= bbno) { in xfs_extent_busy_reuse() 364 xfs_agblock_t fbno; in xfs_extent_busy_trim() local 372 fbno = *bno; in xfs_extent_busy_trim() 390 if (bbno <= fbno) { in xfs_extent_busy_trim() 440 fbno = bend; in xfs_extent_busy_trim() 501 fbno = bend; in xfs_extent_busy_trim() 510 flen = fend - fbno; in xfs_extent_busy_trim() [all …]
|
| H A D | xfs_discard.c | 235 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() 266 if (fbno > tcur->end) { 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() 280 if (fbno + flen > tcur->end + 1) in xfs_trim_gather_extents() 281 flen = tcur->end - fbno + 1; in xfs_trim_gather_extents() [all …]
|
| H A D | xfs_extent_busy.h | 53 void xfs_extent_busy_reuse(struct xfs_group *xg, xfs_agblock_t fbno,
|
| H A D | xfs_fsmap.c | 215 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-6.15/fs/xfs/libxfs/ |
| H A D | xfs_alloc.c | 596 nfbno1 != fbno || in xfs_alloc_fixup_trees() 663 nfbno1 = fbno; in xfs_alloc_fixup_trees() 667 nfbno1 = fbno; in xfs_alloc_fixup_trees() 668 nflen1 = rbno - fbno; in xfs_alloc_fixup_trees() 1247 &fbno, 0); in xfs_alloc_ag_vextent_small() 1297 *fbnop = fbno; in xfs_alloc_ag_vextent_small() 1364 tbno = fbno; in xfs_alloc_ag_vextent_exact() 1913 bestfbno = fbno; in xfs_alloc_ag_vextent_size() 1944 bestfbno = fbno; in xfs_alloc_ag_vextent_size() 1960 fbno = bestfbno; in xfs_alloc_ag_vextent_size() [all …]
|
| H A D | xfs_dir2_node.c | 180 xfs_dablk_t fbno) in xfs_dir3_free_header_check() argument 218 xfs_dablk_t fbno, in __xfs_dir3_free_read() argument 304 xfs_dablk_t fbno, in xfs_dir2_free_read() argument 315 xfs_dablk_t fbno, in xfs_dir2_free_try_read() argument 325 xfs_dir2_db_t fbno, in xfs_dir3_free_get_buf() argument 1701 xfs_dir2_db_t fbno; in xfs_dir2_node_add_datablk() local 1739 fbno)) { in xfs_dir2_node_add_datablk() 1744 (long long)*dbno, (long long)fbno); in xfs_dir2_node_add_datablk() 1817 xfs_dir2_db_t fbno; in xfs_dir2_node_find_freeblk() local 1860 for (fbno = lastfbno - 1; fbno >= firstfbno; fbno--) { in xfs_dir2_node_find_freeblk() [all …]
|
| H A D | xfs_dir2_priv.h | 99 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 D | xfs_refcount.c | 1644 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 D | xfs_refcount.h | 90 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
|
| H A D | xfs_dir2_leaf.c | 298 xfs_dablk_t fbno, in xfs_dir3_leaf_read() argument 304 err = xfs_da_read_buf(tp, dp, fbno, 0, bpp, XFS_DATA_FORK, in xfs_dir3_leaf_read() 328 xfs_dablk_t fbno, in xfs_dir3_leafn_read() argument 334 err = xfs_da_read_buf(tp, dp, fbno, 0, bpp, XFS_DATA_FORK, in xfs_dir3_leafn_read()
|
| /linux-6.15/fs/xfs/scrub/ |
| H A D | alloc.c | 63 xfs_agblock_t fbno; in xchk_allocbt_xref_other() local 83 error = xfs_alloc_get_rec(*pcur, &fbno, &flen, &has_otherrec); in xchk_allocbt_xref_other() 91 if (fbno != agbno || flen != len) in xchk_allocbt_xref_other()
|
| H A D | rtrmap.c | 174 xfs_rgblock_t fbno; in xchk_rtrmapbt_xref_rtrefc() local 192 irec->rm_blockcount, &fbno, &flen, false); in xchk_rtrmapbt_xref_rtrefc()
|
| H A D | bmap_repair.c | 106 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 D | rmap.c | 84 xfs_agblock_t fbno; in xchk_rmapbt_xref_refc() local 102 irec->rm_blockcount, &fbno, &flen, false); in xchk_rmapbt_xref_refc()
|