Home
last modified time | relevance | path

Searched refs:agbp (Results 1 – 20 of 20) sorted by relevance

/linux/fs/xfs/libxfs/
A Dxfs_refcount_btree.c31 cur->bc_ag.agbp, cur->bc_ag.pag); in xfs_refcountbt_dup_cursor()
40 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_set_root() local
50 xfs_alloc_log_agf(cur->bc_tp, agbp, in xfs_refcountbt_set_root()
61 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_alloc_block() local
105 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_free_block() local
348 struct xfs_buf *agbp, in xfs_refcountbt_init_cursor() argument
356 cur->bc_ag.agbp = agbp; in xfs_refcountbt_init_cursor()
382 struct xfs_buf *agbp) in xfs_refcountbt_commit_staged_btree() argument
487 struct xfs_buf *agbp; in xfs_refcountbt_calc_reserves() local
500 agf = agbp->b_addr; in xfs_refcountbt_calc_reserves()
[all …]
A Dxfs_rmap_btree.c57 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()
86 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_alloc_block() local
121 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_free_block() local
475 struct xfs_buf *agbp, in xfs_rmapbt_init_cursor() argument
483 cur->bc_ag.agbp = agbp; in xfs_rmapbt_init_cursor()
509 struct xfs_buf *agbp) in xfs_rmapbt_commit_staged_btree() argument
646 struct xfs_buf *agbp; in xfs_rmapbt_calc_reserves() local
659 agf = agbp->b_addr; in xfs_rmapbt_calc_reserves()
[all …]
A Dxfs_ialloc_btree.c49 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_set_root() local
63 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_finobt_set_root() local
78 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_mod_blockcount() local
461 struct xfs_buf *agbp, in xfs_inobt_init_cursor() argument
473 cur->bc_ag.agbp = agbp; in xfs_inobt_init_cursor()
500 struct xfs_buf *agbp) in xfs_inobt_commit_staged_btree() argument
742 struct xfs_buf *agbp = NULL; in xfs_inobt_count_blocks() local
752 xfs_trans_brelse(tp, agbp); in xfs_inobt_count_blocks()
765 struct xfs_buf *agbp; in xfs_finobt_read_blocks() local
773 agi = agbp->b_addr; in xfs_finobt_read_blocks()
[all …]
A Dxfs_alloc_btree.c30 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()
87 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_allocbt_free_block() local
113 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_update_lastrec()
158 pag = cur->bc_ag.agbp->b_pag; in xfs_allocbt_update_lastrec()
224 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_init_ptr_from_cur()
515 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_init_cursor()
524 cur->bc_ag.agbp = agbp; in xfs_allocbt_init_cursor()
552 struct xfs_buf *agbp) in xfs_allocbt_commit_staged_btree() argument
[all …]
A Dxfs_alloc.c2623 if (!agbp) { in xfs_alloc_fix_freelist()
2692 targs.agbp = agbp; in xfs_alloc_fix_freelist()
2733 args->agbp = agbp; in xfs_alloc_fix_freelist()
2739 if (agbp) in xfs_alloc_fix_freelist()
2742 args->agbp = NULL; in xfs_alloc_fix_freelist()
2792 pag = agbp->b_pag; in xfs_alloc_get_freelist()
2898 pag = agbp->b_pag; in xfs_alloc_put_freelist()
3212 if (!args->agbp) { in xfs_alloc_vextent()
3268 if (args->agbp) { in xfs_alloc_vextent()
3375 *agbp = args.agbp; in xfs_free_extent_fix_freelist()
[all …]
A Dxfs_ialloc.c174 struct xfs_buf *agbp, in xfs_inobt_insert() argument
519 struct xfs_buf *agbp, in xfs_inobt_insert_sprec() argument
613 struct xfs_buf *agbp, in xfs_ialloc_ag_alloc() argument
657 agi = agbp->b_addr; in xfs_ialloc_ag_alloc()
891 xfs_ialloc_log_agi(tp, agbp, in xfs_ialloc_ag_alloc()
985 struct xfs_buf *agbp, in xfs_dialloc_ag_inobt() argument
1433 struct xfs_buf *agbp, in xfs_dialloc_ag() argument
1674 struct xfs_buf *agbp; in xfs_dialloc_try_ag() local
1890 struct xfs_buf *agbp, in xfs_difree_inobt() argument
2024 struct xfs_buf *agbp, in xfs_difree_finobt() argument
[all …]
A Dxfs_alloc.h55 struct xfs_buf *agbp; /* buffer for a.g. freelist header */ member
114 struct xfs_buf *agbp, /* buffer containing the agf structure */
143 struct xfs_buf *agbp, /* buffer for a.g. freelist header */
218 struct xfs_buf **agbp);
A Dxfs_refcount_btree.h49 struct xfs_trans *tp, struct xfs_buf *agbp,
66 struct xfs_trans *tp, struct xfs_buf *agbp);
A Dxfs_ialloc_btree.h50 struct xfs_trans *tp, struct xfs_buf *agbp,
76 struct xfs_trans *tp, struct xfs_buf *agbp);
A Dxfs_refcount.c1114 struct xfs_buf *agbp; in xfs_refcount_finish_one_cleanup() local
1118 agbp = rcur->bc_ag.agbp; in xfs_refcount_finish_one_cleanup()
1121 xfs_trans_brelse(tp, agbp); in xfs_refcount_finish_one_cleanup()
1143 struct xfs_buf *agbp = NULL; in xfs_refcount_finish_one() local
1177 XFS_ALLOC_FLAG_FREEING, &agbp); in xfs_refcount_finish_one()
1181 rcur = xfs_refcountbt_init_cursor(mp, tp, agbp, pag); in xfs_refcount_finish_one()
1681 struct xfs_buf *agbp; in xfs_refcount_recover_cow_leftovers() local
1709 error = xfs_alloc_read_agf(mp, tp, pag->pag_agno, 0, &agbp); in xfs_refcount_recover_cow_leftovers()
1712 cur = xfs_refcountbt_init_cursor(mp, tp, agbp, pag); in xfs_refcount_recover_cow_leftovers()
1722 xfs_trans_brelse(tp, agbp); in xfs_refcount_recover_cow_leftovers()
A Dxfs_rmap.h117 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,
A Dxfs_alloc_btree.h61 struct xfs_trans *tp, struct xfs_buf *agbp);
A Dxfs_btree_staging.h25 struct xfs_buf *agbp, const struct xfs_btree_ops *ops);
A Dxfs_rmap_btree.h50 struct xfs_trans *tp, struct xfs_buf *agbp);
A Dxfs_rmap.c700 struct xfs_buf *agbp, in xfs_rmap_free() argument
713 cur = xfs_rmapbt_init_cursor(mp, tp, agbp, pag); in xfs_rmap_free()
954 struct xfs_buf *agbp, in xfs_rmap_alloc() argument
967 cur = xfs_rmapbt_init_cursor(mp, tp, agbp, pag); in xfs_rmap_alloc()
2339 struct xfs_buf *agbp; in xfs_rmap_finish_one_cleanup() local
2343 agbp = rcur->bc_ag.agbp; in xfs_rmap_finish_one_cleanup()
2346 xfs_trans_brelse(tp, agbp); in xfs_rmap_finish_one_cleanup()
2371 struct xfs_buf *agbp = NULL; in xfs_rmap_finish_one() local
2405 error = xfs_free_extent_fix_freelist(tp, pag, &agbp); in xfs_rmap_finish_one()
2408 if (XFS_IS_CORRUPT(tp->t_mountp, !agbp)) { in xfs_rmap_finish_one()
[all …]
A Dxfs_btree_staging.c166 struct xfs_buf *agbp, in xfs_btree_commit_afakeroot() argument
175 cur->bc_ag.agbp = agbp; in xfs_btree_commit_afakeroot()
A Dxfs_btree.h182 struct xfs_buf *agbp; member
/linux/fs/xfs/
A Dxfs_discard.c33 struct xfs_buf *agbp; in xfs_trim_extents() local
48 error = xfs_alloc_read_agf(mp, NULL, agno, 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()
A Dxfs_reflink.c139 struct xfs_buf *agbp; in xfs_reflink_find_shared() local
143 error = xfs_alloc_read_agf(mp, tp, agno, 0, &agbp); in xfs_reflink_find_shared()
147 cur = xfs_refcountbt_init_cursor(mp, tp, agbp, agbp->b_pag); in xfs_reflink_find_shared()
154 xfs_trans_brelse(tp, agbp); in xfs_reflink_find_shared()
A Dxfs_extfree_item.c539 struct xfs_buf *agbp; in xfs_agfl_free_finish_item() local
553 error = xfs_alloc_read_agf(mp, tp, agno, 0, &agbp); in xfs_agfl_free_finish_item()
555 error = xfs_free_agfl_block(tp, agno, agbno, agbp, &oinfo); in xfs_agfl_free_finish_item()

Completed in 61 milliseconds