| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_ialloc_btree.c | 41 cur->bc_ag.agbp); in xfs_inobt_dup_cursor() 49 cur->bc_ag.agbp); in xfs_finobt_dup_cursor() 58 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_set_root() local 72 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_finobt_set_root() local 87 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_mod_blockcount() local 480 struct xfs_buf *agbp) in xfs_inobt_init_cursor() argument 488 cur->bc_ag.agbp = agbp; in xfs_inobt_init_cursor() 489 if (agbp) { in xfs_inobt_init_cursor() 514 cur->bc_ag.agbp = agbp; in xfs_finobt_init_cursor() 515 if (agbp) { in xfs_finobt_init_cursor() [all …]
|
| H A D | xfs_refcount_btree.c | 42 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_set_root() local 52 xfs_alloc_log_agf(cur->bc_tp, agbp, in xfs_refcountbt_set_root() 63 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_alloc_block() local 104 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_free_block() local 359 struct xfs_buf *agbp, in xfs_refcountbt_init_cursor() argument 371 cur->bc_ag.agbp = agbp; in xfs_refcountbt_init_cursor() 372 if (agbp) { in xfs_refcountbt_init_cursor() 388 struct xfs_buf *agbp) in xfs_refcountbt_commit_staged_btree() argument 494 struct xfs_buf *agbp; in xfs_refcountbt_calc_reserves() local 507 agf = agbp->b_addr; in xfs_refcountbt_calc_reserves() [all …]
|
| H A D | xfs_alloc_btree.c | 49 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_allocbt_set_root() local 79 cur->bc_ag.agbp, &bno, 1); in xfs_allocbt_alloc_block() 102 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_allocbt_free_block() local 108 agbp, NULL, bno, 1); in xfs_allocbt_free_block() 488 struct xfs_buf *agbp, in xfs_bnobt_init_cursor() argument 496 cur->bc_ag.agbp = agbp; in xfs_bnobt_init_cursor() 497 if (agbp) { in xfs_bnobt_init_cursor() 514 struct xfs_buf *agbp, in xfs_cntbt_init_cursor() argument 522 cur->bc_ag.agbp = agbp; in xfs_cntbt_init_cursor() 523 if (agbp) { in xfs_cntbt_init_cursor() [all …]
|
| H A D | xfs_rmap_btree.c | 69 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_set_root() local 89 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_alloc_block() local 90 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_alloc_block() 127 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_free_block() local 535 struct xfs_buf *agbp, in xfs_rmapbt_init_cursor() argument 543 cur->bc_ag.agbp = agbp; in xfs_rmapbt_init_cursor() 544 if (agbp) { in xfs_rmapbt_init_cursor() 704 struct xfs_buf *agbp) in xfs_rmapbt_commit_staged_btree() argument 843 struct xfs_buf *agbp; in xfs_rmapbt_calc_reserves() local 856 agf = agbp->b_addr; in xfs_rmapbt_calc_reserves() [all …]
|
| H A D | xfs_alloc.c | 2874 if (!agbp) { in xfs_alloc_fix_freelist() 2957 targs.agbp = agbp; in xfs_alloc_fix_freelist() 3009 args->agbp = agbp; in xfs_alloc_fix_freelist() 3015 if (agbp) in xfs_alloc_fix_freelist() 3018 args->agbp = NULL; in xfs_alloc_fix_freelist() 3540 args->agbp = NULL; in xfs_alloc_vextent_prepare_ag() 3549 if (!args->agbp) { in xfs_alloc_vextent_prepare_ag() 3592 if (args->agbp && in xfs_alloc_vextent_finish() 3728 if (!args->agbp) { in xfs_alloc_vextent_iterate_ags() 3751 if (args->agbp) in xfs_alloc_vextent_iterate_ags() [all …]
|
| H A D | xfs_ialloc.c | 206 struct xfs_buf *agbp, in xfs_inobt_insert() argument 553 struct xfs_buf *agbp, in xfs_inobt_insert_sprec() argument 647 struct xfs_buf *agbp, in xfs_finobt_insert_sprec() argument 697 struct xfs_buf *agbp) in xfs_ialloc_ag_alloc() argument 741 agi = agbp->b_addr; in xfs_ialloc_ag_alloc() 1092 struct xfs_buf *agbp, in xfs_dialloc_ag_inobt() argument 1568 struct xfs_buf *agbp, in xfs_dialloc_ag() argument 1801 struct xfs_buf *agbp; in xfs_dialloc_try_ag() local 2076 struct xfs_buf *agbp, in xfs_difree_inobt() argument 2211 struct xfs_buf *agbp, in xfs_difree_finobt() argument [all …]
|
| H A D | xfs_ialloc_btree.h | 50 struct xfs_trans *tp, struct xfs_buf *agbp); 52 struct xfs_trans *tp, struct xfs_buf *agbp); 72 struct xfs_trans *tp, struct xfs_buf *agbp);
|
| H A D | xfs_refcount_btree.h | 49 struct xfs_trans *tp, struct xfs_buf *agbp, 65 struct xfs_trans *tp, struct xfs_buf *agbp);
|
| H A D | xfs_alloc.h | 37 struct xfs_buf *agbp; /* buffer for a.g. freelist header */ member 81 int xfs_free_ag_extent(struct xfs_trans *tp, struct xfs_buf *agbp, 200 struct xfs_buf **agbp);
|
| H A D | xfs_alloc_btree.h | 62 struct xfs_trans *tp, struct xfs_buf *agbp);
|
| H A D | xfs_btree_staging.h | 25 struct xfs_buf *agbp);
|
| H A D | xfs_rmap_btree.h | 49 struct xfs_trans *tp, struct xfs_buf *agbp);
|
| H A D | xfs_rmap.h | 119 int xfs_rmap_alloc(struct xfs_trans *tp, struct xfs_buf *agbp, 122 int xfs_rmap_free(struct xfs_trans *tp, struct xfs_buf *agbp,
|
| H A D | xfs_btree_staging.c | 82 struct xfs_buf *agbp) in xfs_btree_commit_afakeroot() argument 90 cur->bc_ag.agbp = agbp; in xfs_btree_commit_afakeroot()
|
| H A D | xfs_refcount.c | 1391 struct xfs_buf *agbp = NULL; in xfs_refcount_finish_one() local 1419 XFS_ALLOC_FLAG_FREEING, &agbp); in xfs_refcount_finish_one() 1423 *pcur = rcur = xfs_refcountbt_init_cursor(mp, tp, agbp, pag); in xfs_refcount_finish_one() 2063 struct xfs_buf *agbp = NULL; in xfs_refcount_recover_cow_leftovers() local 2110 error = xfs_alloc_read_agf(to_perag(xg), tp, 0, &agbp); in xfs_refcount_recover_cow_leftovers() 2113 cur = xfs_refcountbt_init_cursor(mp, tp, agbp, to_perag(xg)); in xfs_refcount_recover_cow_leftovers() 2120 if (agbp) in xfs_refcount_recover_cow_leftovers() 2121 xfs_trans_brelse(tp, agbp); in xfs_refcount_recover_cow_leftovers()
|
| H A D | xfs_rmap.c | 964 struct xfs_buf *agbp, in xfs_rmap_free() argument 977 cur = xfs_rmapbt_init_cursor(mp, tp, agbp, pag); in xfs_rmap_free() 1209 struct xfs_buf *agbp, in xfs_rmap_alloc() argument 1222 cur = xfs_rmapbt_init_cursor(mp, tp, agbp, pag); in xfs_rmap_alloc() 2638 struct xfs_buf *agbp = NULL; in xfs_rmap_finish_init_cursor() local 2645 error = xfs_free_extent_fix_freelist(tp, pag, &agbp); in xfs_rmap_finish_init_cursor() 2650 if (XFS_IS_CORRUPT(tp->t_mountp, !agbp)) { in xfs_rmap_finish_init_cursor() 2654 *pcur = xfs_rmapbt_init_cursor(tp->t_mountp, tp, agbp, pag); in xfs_rmap_finish_init_cursor()
|
| H A D | xfs_btree.h | 284 struct xfs_buf *agbp; member
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_discard.c | 187 struct xfs_buf *agbp; in xfs_trim_gather_extents() local 203 error = xfs_alloc_read_agf(pag, tp, 0, &agbp); in xfs_trim_gather_extents() 209 cur = xfs_bnobt_init_cursor(mp, tp, agbp, pag); in xfs_trim_gather_extents() 215 cur = xfs_cntbt_init_cursor(mp, tp, agbp, pag); in xfs_trim_gather_extents() 219 cur = xfs_cntbt_init_cursor(mp, tp, agbp, pag); in xfs_trim_gather_extents()
|
| H A D | xfs_refcount_item.c | 421 struct xfs_buf *agbp; in xfs_refcount_finish_one_cleanup() local 425 agbp = rcur->bc_ag.agbp; in xfs_refcount_finish_one_cleanup() 427 if (error && agbp) in xfs_refcount_finish_one_cleanup() 428 xfs_trans_brelse(tp, agbp); in xfs_refcount_finish_one_cleanup()
|
| H A D | xfs_rmap_item.c | 440 struct xfs_buf *agbp = NULL; in xfs_rmap_finish_one_cleanup() local 444 agbp = rcur->bc_ag.agbp; in xfs_rmap_finish_one_cleanup() 446 if (error && agbp) in xfs_rmap_finish_one_cleanup() 447 xfs_trans_brelse(tp, agbp); in xfs_rmap_finish_one_cleanup()
|
| H A D | xfs_reflink.c | 144 struct xfs_buf *agbp; in xfs_reflink_find_shared() local 153 error = xfs_alloc_read_agf(pag, tp, 0, &agbp); in xfs_reflink_find_shared() 157 cur = xfs_refcountbt_init_cursor(mp, tp, agbp, pag); in xfs_reflink_find_shared() 161 xfs_trans_brelse(tp, agbp); in xfs_reflink_find_shared()
|
| H A D | xfs_extfree_item.c | 578 struct xfs_buf *agbp; in xfs_agfl_free_finish_item() local 588 error = xfs_alloc_read_agf(to_perag(xefi->xefi_group), tp, 0, &agbp); in xfs_agfl_free_finish_item() 590 error = xfs_free_ag_extent(tp, agbp, agbno, 1, &oinfo, in xfs_agfl_free_finish_item()
|