/fs/xfs/libxfs/ |
D | xfs_refcount_btree.c | 32 cur->bc_ag.agbp, cur->bc_ag.pag); in xfs_refcountbt_dup_cursor() 41 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_set_root() local 42 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_set_root() 43 struct xfs_perag *pag = agbp->b_pag; in xfs_refcountbt_set_root() 51 xfs_alloc_log_agf(cur->bc_tp, agbp, in xfs_refcountbt_set_root() 62 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_alloc_block() local 63 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_alloc_block() 91 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_REFCOUNT_BLOCKS); in xfs_refcountbt_alloc_block() 106 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_free_block() local 107 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_free_block() [all …]
|
D | xfs_rmap_btree.c | 57 cur->bc_ag.agbp, cur->bc_ag.pag); in xfs_rmapbt_dup_cursor() 66 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_set_root() local 67 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_set_root() 76 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS); in xfs_rmapbt_set_root() 86 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_alloc_block() local 87 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_alloc_block() 93 error = xfs_alloc_get_freelist(pag, cur->bc_tp, cur->bc_ag.agbp, in xfs_rmapbt_alloc_block() 108 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_RMAP_BLOCKS); in xfs_rmapbt_alloc_block() 121 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_free_block() local 122 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_free_block() [all …]
|
D | xfs_ialloc_btree.c | 40 cur->bc_ag.agbp, cur->bc_ag.pag, cur->bc_btnum); in xfs_inobt_dup_cursor() 49 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_set_root() local 50 struct xfs_agi *agi = agbp->b_addr; in xfs_inobt_set_root() 54 xfs_ialloc_log_agi(cur->bc_tp, agbp, XFS_AGI_ROOT | XFS_AGI_LEVEL); in xfs_inobt_set_root() 63 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_finobt_set_root() local 64 struct xfs_agi *agi = agbp->b_addr; in xfs_finobt_set_root() 68 xfs_ialloc_log_agi(cur->bc_tp, agbp, in xfs_finobt_set_root() 78 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_mod_blockcount() local 79 struct xfs_agi *agi = agbp->b_addr; in xfs_inobt_mod_blockcount() 88 xfs_ialloc_log_agi(cur->bc_tp, agbp, XFS_AGI_IBLOCKS); in xfs_inobt_mod_blockcount() [all …]
|
D | xfs_alloc_btree.c | 30 cur->bc_ag.agbp, cur->bc_ag.pag, cur->bc_btnum); in xfs_allocbt_dup_cursor() 39 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_allocbt_set_root() local 40 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_set_root() 49 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS); in xfs_allocbt_set_root() 64 cur->bc_ag.agbp, &bno, 1); in xfs_allocbt_alloc_block() 87 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_allocbt_free_block() local 92 error = xfs_alloc_put_freelist(cur->bc_ag.pag, cur->bc_tp, agbp, NULL, in xfs_allocbt_free_block() 98 xfs_extent_busy_insert(cur->bc_tp, agbp->b_pag, bno, 1, in xfs_allocbt_free_block() 114 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_update_lastrec() 159 pag = cur->bc_ag.agbp->b_pag; in xfs_allocbt_update_lastrec() [all …]
|
D | xfs_alloc.c | 727 struct xfs_buf *agbp, in xfs_alloc_update_counters() argument 730 struct xfs_agf *agf = agbp->b_addr; in xfs_alloc_update_counters() 732 agbp->b_pag->pagf_freeblks += len; in xfs_alloc_update_counters() 737 xfs_buf_mark_corrupt(agbp); in xfs_alloc_update_counters() 741 xfs_alloc_log_agf(tp, agbp, XFS_AGF_FREEBLKS); in xfs_alloc_update_counters() 793 args->agbp, args->pag, XFS_BTNUM_CNT); in xfs_alloc_cur_setup() 803 args->agbp, args->pag, XFS_BTNUM_BNO); in xfs_alloc_cur_setup() 806 args->agbp, args->pag, XFS_BTNUM_BNO); in xfs_alloc_cur_setup() 938 struct xfs_agf __maybe_unused *agf = args->agbp->b_addr; in xfs_alloc_cur_finish() 1042 struct xfs_agf *agf = args->agbp->b_addr; in xfs_alloc_ag_vextent_small() [all …]
|
D | xfs_ialloc.c | 174 struct xfs_buf *agbp, in xfs_inobt_insert() argument 185 cur = xfs_inobt_init_cursor(mp, tp, agbp, pag, btnum); in xfs_inobt_insert() 519 struct xfs_buf *agbp, in xfs_inobt_insert_sprec() argument 530 cur = xfs_inobt_init_cursor(mp, tp, agbp, pag, btnum); in xfs_inobt_insert_sprec() 613 struct xfs_buf *agbp, in xfs_ialloc_ag_alloc() argument 657 agi = agbp->b_addr; in xfs_ialloc_ag_alloc() 834 error = xfs_inobt_insert_sprec(args.mp, tp, agbp, pag, in xfs_ialloc_ag_alloc() 859 error = xfs_inobt_insert_sprec(args.mp, tp, agbp, pag, in xfs_ialloc_ag_alloc() 866 error = xfs_inobt_insert(args.mp, tp, agbp, pag, newino, newlen, in xfs_ialloc_ag_alloc() 872 error = xfs_inobt_insert(args.mp, tp, agbp, pag, newino, in xfs_ialloc_ag_alloc() [all …]
|
D | xfs_refcount_btree.h | 49 struct xfs_trans *tp, struct xfs_buf *agbp, 66 struct xfs_trans *tp, struct xfs_buf *agbp);
|
D | xfs_ialloc_btree.h | 50 struct xfs_trans *tp, struct xfs_buf *agbp, 76 struct xfs_trans *tp, struct xfs_buf *agbp);
|
D | xfs_refcount.c | 1170 struct xfs_buf *agbp; in xfs_refcount_finish_one_cleanup() local 1174 agbp = rcur->bc_ag.agbp; in xfs_refcount_finish_one_cleanup() 1177 xfs_trans_brelse(tp, agbp); in xfs_refcount_finish_one_cleanup() 1225 struct xfs_buf *agbp = NULL; in xfs_refcount_finish_one() local 1259 &agbp); in xfs_refcount_finish_one() 1263 rcur = xfs_refcountbt_init_cursor(mp, tp, agbp, pag); in xfs_refcount_finish_one() 1793 struct xfs_buf *agbp; in xfs_refcount_recover_cow_leftovers() local 1822 error = xfs_alloc_read_agf(pag, tp, 0, &agbp); in xfs_refcount_recover_cow_leftovers() 1825 cur = xfs_refcountbt_init_cursor(mp, tp, agbp, pag); in xfs_refcount_recover_cow_leftovers() 1835 xfs_trans_brelse(tp, agbp); in xfs_refcount_recover_cow_leftovers()
|
D | xfs_alloc.h | 55 struct xfs_buf *agbp; /* buffer for a.g. freelist header */ member 181 struct xfs_buf **agbp);
|
D | xfs_rmap.h | 117 int xfs_rmap_alloc(struct xfs_trans *tp, struct xfs_buf *agbp, 120 int xfs_rmap_free(struct xfs_trans *tp, struct xfs_buf *agbp,
|
D | xfs_rmap.c | 748 struct xfs_buf *agbp, in xfs_rmap_free() argument 761 cur = xfs_rmapbt_init_cursor(mp, tp, agbp, pag); in xfs_rmap_free() 995 struct xfs_buf *agbp, in xfs_rmap_alloc() argument 1008 cur = xfs_rmapbt_init_cursor(mp, tp, agbp, pag); in xfs_rmap_alloc() 2373 struct xfs_buf *agbp; in xfs_rmap_finish_one_cleanup() local 2377 agbp = rcur->bc_ag.agbp; in xfs_rmap_finish_one_cleanup() 2380 xfs_trans_brelse(tp, agbp); in xfs_rmap_finish_one_cleanup() 2405 struct xfs_buf *agbp = NULL; in xfs_rmap_finish_one() local 2439 error = xfs_free_extent_fix_freelist(tp, pag, &agbp); in xfs_rmap_finish_one() 2442 if (XFS_IS_CORRUPT(tp->t_mountp, !agbp)) { in xfs_rmap_finish_one() [all …]
|
D | xfs_alloc_btree.h | 61 struct xfs_trans *tp, struct xfs_buf *agbp);
|
D | xfs_btree_staging.h | 25 struct xfs_buf *agbp, const struct xfs_btree_ops *ops);
|
D | xfs_btree_staging.c | 166 struct xfs_buf *agbp, in xfs_btree_commit_afakeroot() argument 175 cur->bc_ag.agbp = agbp; in xfs_btree_commit_afakeroot()
|
D | xfs_rmap_btree.h | 50 struct xfs_trans *tp, struct xfs_buf *agbp);
|
D | xfs_btree.h | 182 struct xfs_buf *agbp; member
|
/fs/xfs/ |
D | xfs_discard.c | 33 struct xfs_buf *agbp; in xfs_trim_extents() local 48 error = xfs_alloc_read_agf(pag, NULL, 0, &agbp); in xfs_trim_extents() 51 agf = agbp->b_addr; in xfs_trim_extents() 53 cur = xfs_allocbt_init_cursor(mp, NULL, agbp, pag, XFS_BTNUM_CNT); in xfs_trim_extents() 135 xfs_buf_relse(agbp); in xfs_trim_extents()
|
D | xfs_extfree_item.c | 528 struct xfs_buf *agbp; in xfs_agfl_free_finish_item() local 544 error = xfs_alloc_read_agf(pag, tp, 0, &agbp); in xfs_agfl_free_finish_item() 546 error = xfs_free_agfl_block(tp, agno, agbno, agbp, &oinfo); in xfs_agfl_free_finish_item()
|
D | xfs_reflink.c | 138 struct xfs_buf *agbp; in xfs_reflink_find_shared() local 142 error = xfs_alloc_read_agf(pag, tp, 0, &agbp); in xfs_reflink_find_shared() 146 cur = xfs_refcountbt_init_cursor(pag->pag_mount, tp, agbp, pag); in xfs_reflink_find_shared() 153 xfs_trans_brelse(tp, agbp); in xfs_reflink_find_shared()
|