/linux-master/fs/xfs/ |
H A D | xfs_extent_busy.c | 139 * The found free extent [fbno, fend] overlaps part or all of the given busy 154 xfs_agblock_t fbno, 159 xfs_agblock_t fend = fbno + flen; 186 if (bbno < fbno && bend > fend) { 192 * fbno fend 205 } else if (bbno >= fbno && bend <= fend) { 211 * fbno fend 217 * fbno fend 223 * fbno fend 229 * fbno fen 299 xfs_extent_busy_reuse( struct xfs_mount *mp, struct xfs_perag *pag, xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata) argument 352 xfs_agblock_t fbno; local [all...] |
H A D | xfs_discard.c | 205 xfs_agblock_t fbno; local 210 error = xfs_alloc_get_rec(cur, &fbno, &flen, &i); 224 tcur->ar_startblock = fbno; 234 dbno = XFS_AGB_TO_DADDR(mp, pag->pag_agno, fbno); 241 trace_xfs_discard_toosmall(mp, pag->pag_agno, fbno, flen); 252 trace_xfs_discard_exclude(mp, pag->pag_agno, fbno, flen); 260 if (xfs_extent_busy_search(mp, pag, fbno, flen)) { 261 trace_xfs_discard_busy(mp, pag->pag_agno, fbno, flen); 265 xfs_extent_busy_insert_discard(pag, fbno, flen,
|
H A D | xfs_extent_busy.h | 66 xfs_agblock_t fbno, xfs_extlen_t flen, bool userdata);
|
H A D | xfs_reflink.c | 124 * within that range and return the range in fbno/flen. If 126 * shared blocks. If there are no shared extents, fbno and flen will 135 xfs_agblock_t *fbno, 149 error = xfs_refcount_find_shared(cur, agbno, aglen, fbno, flen, 178 xfs_agblock_t fbno; local 194 error = xfs_reflink_find_shared(pag, NULL, agbno, aglen, &fbno, &flen, 201 if (fbno == NULLAGBLOCK) { 206 if (fbno == agbno) { 224 irec->br_blockcount = fbno - agbno; 130 xfs_reflink_find_shared( struct xfs_perag *pag, struct xfs_trans *tp, xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_end_of_shared) argument
|
H A D | xfs_fsmap.c | 209 xfs_agblock_t fbno; local 225 rec->rm_blockcount, &fbno, &flen, false);
|
/linux-master/fs/xfs/scrub/ |
H A D | alloc.c | 63 xfs_agblock_t fbno; local 83 error = xfs_alloc_get_rec(*pcur, &fbno, &flen, &has_otherrec); 91 if (fbno != agbno || flen != len)
|
H A D | bmap_repair.c | 103 xfs_agblock_t fbno; local 109 &fbno, &flen, false); 113 if (fbno != NULLAGBLOCK)
|
H A D | rmap.c | 84 xfs_agblock_t fbno; local 102 irec->rm_blockcount, &fbno, &flen, false);
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_dir2_priv.h | 98 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);
|
H A D | xfs_alloc.c | 471 * actual (current) free extent fbno for flen blocks. 479 xfs_agblock_t fbno, /* starting block of free extent */ 504 nfbno1 != fbno || 511 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) 527 nfbno1 != fbno || 534 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) 564 if (rbno == fbno && rlen == flen) 566 else if (rbno == fbno) { 570 } else if (rbno + rlen == fbno + flen) { 571 nfbno1 = fbno; 476 xfs_alloc_fixup_trees( struct xfs_btree_cur *cnt_cur, struct xfs_btree_cur *bno_cur, xfs_agblock_t fbno, xfs_extlen_t flen, xfs_agblock_t rbno, xfs_extlen_t rlen, int flags) argument 1117 xfs_agblock_t fbno = NULLAGBLOCK; local 1224 xfs_agblock_t fbno; /* start block of found extent */ local 1698 xfs_agblock_t fbno; /* start of found freespace */ local 2753 xfs_agblock_t fbno; local [all...] |
H A D | xfs_dir2_node.c | 179 xfs_dablk_t fbno, 186 firstdb = (xfs_dir2_da_to_db(mp->m_dir_geo, fbno) - 217 xfs_dablk_t fbno, 224 err = xfs_da_read_buf(tp, dp, fbno, flags, bpp, XFS_DATA_FORK, 230 fa = xfs_dir3_free_header_check(dp, fbno, *bpp); 302 xfs_dablk_t fbno, 305 return __xfs_dir3_free_read(tp, dp, fbno, 0, bpp); 312 xfs_dablk_t fbno, 315 return __xfs_dir3_free_read(tp, dp, fbno, XFS_DABUF_MAP_HOLE_OK, bpp); 321 xfs_dir2_db_t fbno, 177 xfs_dir3_free_header_check( struct xfs_inode *dp, xfs_dablk_t fbno, struct xfs_buf *bp) argument 214 __xfs_dir3_free_read( struct xfs_trans *tp, struct xfs_inode *dp, xfs_dablk_t fbno, unsigned int flags, struct xfs_buf **bpp) argument 299 xfs_dir2_free_read( struct xfs_trans *tp, struct xfs_inode *dp, xfs_dablk_t fbno, struct xfs_buf **bpp) argument 309 xfs_dir2_free_try_read( struct xfs_trans *tp, struct xfs_inode *dp, xfs_dablk_t fbno, struct xfs_buf **bpp) argument 319 xfs_dir3_free_get_buf( xfs_da_args_t *args, xfs_dir2_db_t fbno, struct xfs_buf **bpp) argument 1696 xfs_dir2_db_t fbno; local 1812 xfs_dir2_db_t fbno; local [all...] |
H A D | xfs_refcount.h | 85 xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno,
|
H A D | xfs_refcount.c | 1520 * within that range and return the range in fbno/flen. If 1523 * shared blocks are found, fbno and flen will be set to NULLAGBLOCK 1531 xfs_agblock_t *fbno, 1544 *fbno = NULLAGBLOCK; 1600 *fbno = tmp.rc_startblock; 1601 *flen = min(tmp.rc_blockcount, agbno + aglen - *fbno); 1606 while (*fbno + *flen < agbno + aglen) { 1622 tmp.rc_startblock != *fbno + *flen) 1624 *flen = min(*flen + tmp.rc_blockcount, agbno + aglen - *fbno); 1629 cur->bc_ag.pag->pag_agno, *fbno, *fle 1527 xfs_refcount_find_shared( struct xfs_btree_cur *cur, xfs_agblock_t agbno, xfs_extlen_t aglen, xfs_agblock_t *fbno, xfs_extlen_t *flen, bool find_end_of_shared) argument [all...] |
H A D | xfs_dir2_leaf.c | 274 xfs_dablk_t fbno, 279 err = xfs_da_read_buf(tp, dp, fbno, 0, bpp, XFS_DATA_FORK, 290 xfs_dablk_t fbno, 295 err = xfs_da_read_buf(tp, dp, fbno, 0, bpp, XFS_DATA_FORK, 271 xfs_dir3_leaf_read( struct xfs_trans *tp, struct xfs_inode *dp, xfs_dablk_t fbno, struct xfs_buf **bpp) argument 287 xfs_dir3_leafn_read( struct xfs_trans *tp, struct xfs_inode *dp, xfs_dablk_t fbno, struct xfs_buf **bpp) argument
|