/Linux-v4.19/fs/xfs/ |
D | xfs_extent_busy.c | 138 xfs_agblock_t fbno, in xfs_extent_busy_update_extent() argument 143 xfs_agblock_t fend = fbno + flen; in xfs_extent_busy_update_extent() 170 if (bbno < fbno && bend > fend) { in xfs_extent_busy_update_extent() 189 } else if (bbno >= fbno && bend <= fend) { in xfs_extent_busy_update_extent() 247 } else if (bbno < fbno) { in xfs_extent_busy_update_extent() 261 busyp->length = fbno - busyp->bno; in xfs_extent_busy_update_extent() 266 trace_xfs_extent_busy_reuse(mp, pag->pag_agno, fbno, flen); in xfs_extent_busy_update_extent() 272 trace_xfs_extent_busy_force(mp, pag->pag_agno, fbno, flen); in xfs_extent_busy_update_extent() 285 xfs_agblock_t fbno, in xfs_extent_busy_reuse() argument 304 if (fbno + flen <= bbno) { in xfs_extent_busy_reuse() [all …]
|
D | xfs_discard.c | 67 xfs_agblock_t fbno; in xfs_trim_extents() local 72 error = xfs_alloc_get_rec(cur, &fbno, &flen, &i); in xfs_trim_extents() 83 dbno = XFS_AGB_TO_DADDR(mp, agno, fbno); in xfs_trim_extents() 90 trace_xfs_discard_toosmall(mp, agno, fbno, flen); in xfs_trim_extents() 100 trace_xfs_discard_exclude(mp, agno, fbno, flen); in xfs_trim_extents() 108 if (xfs_extent_busy_search(mp, agno, fbno, flen)) { in xfs_trim_extents() 109 trace_xfs_discard_busy(mp, agno, fbno, flen); in xfs_trim_extents() 113 trace_xfs_discard_extent(mp, agno, fbno, flen); in xfs_trim_extents()
|
D | xfs_reflink.c | 146 xfs_agblock_t *fbno, in xfs_reflink_find_shared() argument 162 error = xfs_refcount_find_shared(cur, agbno, aglen, fbno, flen, in xfs_reflink_find_shared() 191 xfs_agblock_t fbno; in xfs_reflink_trim_around_shared() local 208 aglen, &fbno, &flen, true); in xfs_reflink_trim_around_shared() 213 if (fbno == NULLAGBLOCK) { in xfs_reflink_trim_around_shared() 216 } else if (fbno == agbno) { in xfs_reflink_trim_around_shared() 235 irec->br_blockcount = fbno - agbno; in xfs_reflink_trim_around_shared() 1480 xfs_fileoff_t fbno, in xfs_reflink_dirty_extents() argument 1496 while (end - fbno > 0) { in xfs_reflink_dirty_extents() 1502 error = xfs_bmapi_read(ip, fbno, end - fbno, map, &nmaps, 0); in xfs_reflink_dirty_extents() [all …]
|
D | xfs_extent_busy.h | 47 xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata);
|
D | xfs_reflink.h | 11 xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_maximal);
|
D | xfs_fsmap.c | 203 xfs_agblock_t fbno; in xfs_getfsmap_is_shared() local 220 rec->rm_blockcount, &fbno, &flen, false); in xfs_getfsmap_is_shared()
|
/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_alloc.c | 417 xfs_agblock_t fbno, /* starting block of free extent */ in xfs_alloc_fixup_trees() argument 441 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees() 444 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees() 456 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees() 459 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees() 482 if (rbno == fbno && rlen == flen) in xfs_alloc_fixup_trees() 484 else if (rbno == fbno) { in xfs_alloc_fixup_trees() 488 } else if (rbno + rlen == fbno + flen) { in xfs_alloc_fixup_trees() 489 nfbno1 = fbno; in xfs_alloc_fixup_trees() 493 nfbno1 = fbno; in xfs_alloc_fixup_trees() [all …]
|
D | xfs_dir2_node.c | 163 xfs_dablk_t fbno, in xfs_dir3_free_header_check() argument 171 firstdb = (xfs_dir2_da_to_db(mp->m_dir_geo, fbno) - in xfs_dir3_free_header_check() 200 xfs_dablk_t fbno, in __xfs_dir3_free_read() argument 207 err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, in __xfs_dir3_free_read() 213 fa = xfs_dir3_free_header_check(dp, fbno, *bpp); in __xfs_dir3_free_read() 231 xfs_dablk_t fbno, in xfs_dir2_free_read() argument 234 return __xfs_dir3_free_read(tp, dp, fbno, -1, bpp); in xfs_dir2_free_read() 241 xfs_dablk_t fbno, in xfs_dir2_free_try_read() argument 244 return __xfs_dir3_free_read(tp, dp, fbno, -2, bpp); in xfs_dir2_free_try_read() 250 xfs_dir2_db_t fbno, in xfs_dir3_free_get_buf() argument [all …]
|
D | xfs_dir2_priv.h | 51 xfs_dablk_t fbno, xfs_daddr_t mappedbno, struct xfs_buf **bpp); 53 xfs_dablk_t fbno, xfs_daddr_t mappedbno, struct xfs_buf **bpp); 108 xfs_dablk_t fbno, struct xfs_buf **bpp);
|
D | xfs_refcount.c | 1247 xfs_agblock_t *fbno, in xfs_refcount_find_shared() argument 1260 *fbno = NULLAGBLOCK; in xfs_refcount_find_shared() 1303 *fbno = tmp.rc_startblock; in xfs_refcount_find_shared() 1304 *flen = min(tmp.rc_blockcount, agbno + aglen - *fbno); in xfs_refcount_find_shared() 1309 while (*fbno + *flen < agbno + aglen) { in xfs_refcount_find_shared() 1320 tmp.rc_startblock != *fbno + *flen) in xfs_refcount_find_shared() 1322 *flen = min(*flen + tmp.rc_blockcount, agbno + aglen - *fbno); in xfs_refcount_find_shared() 1327 cur->bc_private.a.agno, *fbno, *flen); in xfs_refcount_find_shared()
|
D | xfs_refcount.h | 45 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
|
D | xfs_dir2_leaf.c | 279 xfs_dablk_t fbno, in xfs_dir3_leaf_read() argument 285 err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, in xfs_dir3_leaf_read() 296 xfs_dablk_t fbno, in xfs_dir3_leafn_read() argument 302 err = xfs_da_read_buf(tp, dp, fbno, mappedbno, bpp, in xfs_dir3_leafn_read()
|
/Linux-v4.19/fs/xfs/scrub/ |
D | alloc.c | 49 xfs_agblock_t fbno; in xchk_allocbt_xref_other() local 69 error = xfs_alloc_get_rec(*pcur, &fbno, &flen, &has_otherrec); in xchk_allocbt_xref_other() 77 if (fbno != agbno || flen != len) in xchk_allocbt_xref_other()
|
D | rmap.c | 47 xfs_agblock_t fbno; in xchk_rmapbt_xref_refc() local 65 irec->rm_blockcount, &fbno, &flen, false); in xchk_rmapbt_xref_refc()
|