/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_ialloc_btree.c | 40 cur->bc_ag.agbp, 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_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_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 | 770 struct xfs_buf *agbp, in xfs_alloc_update_counters() argument 773 struct xfs_agf *agf = agbp->b_addr; in xfs_alloc_update_counters() 775 agbp->b_pag->pagf_freeblks += len; in xfs_alloc_update_counters() 780 xfs_buf_mark_corrupt(agbp); in xfs_alloc_update_counters() 784 xfs_alloc_log_agf(tp, agbp, XFS_AGF_FREEBLKS); in xfs_alloc_update_counters() 834 args->agbp, args->pag, XFS_BTNUM_CNT); in xfs_alloc_cur_setup() 844 args->agbp, args->pag, XFS_BTNUM_BNO); in xfs_alloc_cur_setup() 847 args->agbp, args->pag, XFS_BTNUM_BNO); in xfs_alloc_cur_setup() 978 struct xfs_agf __maybe_unused *agf = args->agbp->b_addr; in xfs_alloc_cur_finish() 1082 struct xfs_agf *agf = args->agbp->b_addr; in xfs_alloc_ag_vextent_small() [all …]
|
D | xfs_ialloc.c | 200 struct xfs_buf *agbp, in xfs_inobt_insert() argument 210 cur = xfs_inobt_init_cursor(pag, tp, agbp, btnum); in xfs_inobt_insert() 544 struct xfs_buf *agbp, in xfs_inobt_insert_sprec() argument 555 cur = xfs_inobt_init_cursor(pag, tp, agbp, btnum); in xfs_inobt_insert_sprec() 639 struct xfs_buf *agbp) in xfs_ialloc_ag_alloc() argument 683 agi = agbp->b_addr; in xfs_ialloc_ag_alloc() 855 error = xfs_inobt_insert_sprec(pag, tp, agbp, in xfs_ialloc_ag_alloc() 880 error = xfs_inobt_insert_sprec(pag, tp, agbp, in xfs_ialloc_ag_alloc() 887 error = xfs_inobt_insert(pag, tp, agbp, newino, newlen, in xfs_ialloc_ag_alloc() 893 error = xfs_inobt_insert(pag, tp, agbp, 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, xfs_btnum_t btnum); 74 struct xfs_trans *tp, struct xfs_buf *agbp);
|
D | xfs_refcount.c | 1308 struct xfs_buf *agbp; in xfs_refcount_finish_one_cleanup() local 1312 agbp = rcur->bc_ag.agbp; in xfs_refcount_finish_one_cleanup() 1315 xfs_trans_brelse(tp, agbp); in xfs_refcount_finish_one_cleanup() 1358 struct xfs_buf *agbp = NULL; in xfs_refcount_finish_one() local 1387 XFS_ALLOC_FLAG_FREEING, &agbp); in xfs_refcount_finish_one() 1391 rcur = xfs_refcountbt_init_cursor(mp, tp, agbp, ri->ri_pag); in xfs_refcount_finish_one() 1921 struct xfs_buf *agbp; in xfs_refcount_recover_cow_leftovers() local 1955 error = xfs_alloc_read_agf(pag, tp, 0, &agbp); in xfs_refcount_recover_cow_leftovers() 1958 cur = xfs_refcountbt_init_cursor(mp, tp, agbp, pag); in xfs_refcount_recover_cow_leftovers() 1964 xfs_trans_brelse(tp, agbp); in xfs_refcount_recover_cow_leftovers()
|
D | xfs_alloc.h | 37 struct xfs_buf *agbp; /* buffer for a.g. freelist header */ member 201 struct xfs_buf **agbp);
|
D | xfs_rmap.h | 118 int xfs_rmap_alloc(struct xfs_trans *tp, struct xfs_buf *agbp, 121 int xfs_rmap_free(struct xfs_trans *tp, struct xfs_buf *agbp,
|
D | xfs_rmap.c | 797 struct xfs_buf *agbp, in xfs_rmap_free() argument 810 cur = xfs_rmapbt_init_cursor(mp, tp, agbp, pag); in xfs_rmap_free() 1044 struct xfs_buf *agbp, in xfs_rmap_alloc() argument 1057 cur = xfs_rmapbt_init_cursor(mp, tp, agbp, pag); in xfs_rmap_alloc() 2421 struct xfs_buf *agbp; in xfs_rmap_finish_one_cleanup() local 2425 agbp = rcur->bc_ag.agbp; in xfs_rmap_finish_one_cleanup() 2428 xfs_trans_brelse(tp, agbp); in xfs_rmap_finish_one_cleanup() 2446 struct xfs_buf *agbp = NULL; in xfs_rmap_finish_one() local 2478 error = xfs_free_extent_fix_freelist(tp, ri->ri_pag, &agbp); in xfs_rmap_finish_one() 2481 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 | 222 struct xfs_buf *agbp; member
|
/fs/xfs/ |
D | xfs_discard.c | 159 struct xfs_buf *agbp; in xfs_trim_gather_extents() local 171 error = xfs_alloc_read_agf(pag, NULL, 0, &agbp); in xfs_trim_gather_extents() 175 cur = xfs_allocbt_init_cursor(mp, NULL, agbp, pag, XFS_BTNUM_CNT); in xfs_trim_gather_extents() 282 xfs_buf_relse(agbp); in xfs_trim_gather_extents()
|
D | xfs_extfree_item.c | 595 struct xfs_buf *agbp; in xfs_agfl_free_finish_item() local 608 error = xfs_alloc_read_agf(xefi->xefi_pag, tp, 0, &agbp); in xfs_agfl_free_finish_item() 611 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()
|