Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_refcount_btree.c32 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
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
106 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_free_block() local
366 struct xfs_buf *agbp, in xfs_refcountbt_init_cursor() argument
374 cur->bc_ag.agbp = agbp; in xfs_refcountbt_init_cursor()
400 struct xfs_buf *agbp) in xfs_refcountbt_commit_staged_btree() argument
505 struct xfs_buf *agbp; in xfs_refcountbt_calc_reserves() local
518 agf = agbp->b_addr; in xfs_refcountbt_calc_reserves()
[all …]
H A Dxfs_ialloc_btree.c40 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
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
479 struct xfs_buf *agbp, in xfs_inobt_init_cursor() argument
490 cur->bc_ag.agbp = agbp; in xfs_inobt_init_cursor()
516 struct xfs_buf *agbp) in xfs_inobt_commit_staged_btree() argument
765 xfs_trans_brelse(tp, agbp); in xfs_inobt_count_blocks()
777 struct xfs_buf *agbp; in xfs_finobt_read_blocks() local
785 agi = agbp->b_addr; in xfs_finobt_read_blocks()
[all …]
H 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
525 struct xfs_buf *agbp, in xfs_rmapbt_init_cursor() argument
533 cur->bc_ag.agbp = agbp; in xfs_rmapbt_init_cursor()
559 struct xfs_buf *agbp) in xfs_rmapbt_commit_staged_btree() argument
696 struct xfs_buf *agbp; in xfs_rmapbt_calc_reserves() local
709 agf = agbp->b_addr; in xfs_rmapbt_calc_reserves()
[all …]
H 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()
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
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()
536 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_init_cursor()
545 cur->bc_ag.agbp = agbp; in xfs_allocbt_init_cursor()
573 struct xfs_buf *agbp) in xfs_allocbt_commit_staged_btree() argument
[all …]
H A Dxfs_alloc.c2678 if (!agbp) { in xfs_alloc_fix_freelist()
2750 targs.agbp = agbp; in xfs_alloc_fix_freelist()
2802 args->agbp = agbp; in xfs_alloc_fix_freelist()
2808 if (agbp) in xfs_alloc_fix_freelist()
2811 args->agbp = NULL; in xfs_alloc_fix_freelist()
3341 args->agbp = NULL; in xfs_alloc_vextent_prepare_ag()
3350 if (!args->agbp) { in xfs_alloc_vextent_prepare_ag()
3393 if (args->agbp && in xfs_alloc_vextent_finish()
3530 if (!args->agbp) { in xfs_alloc_vextent_iterate_ags()
3553 if (args->agbp) in xfs_alloc_vextent_iterate_ags()
[all …]
H A Dxfs_ialloc.c200 struct xfs_buf *agbp, in xfs_inobt_insert() argument
544 struct xfs_buf *agbp, in xfs_inobt_insert_sprec() argument
639 struct xfs_buf *agbp) in xfs_ialloc_ag_alloc() argument
683 agi = agbp->b_addr; in xfs_ialloc_ag_alloc()
912 xfs_ialloc_log_agi(tp, agbp, in xfs_ialloc_ag_alloc()
1007 struct xfs_buf *agbp, in xfs_dialloc_ag_inobt() argument
1455 struct xfs_buf *agbp, in xfs_dialloc_ag() argument
1682 struct xfs_buf *agbp; in xfs_dialloc_try_ag() local
1920 struct xfs_buf *agbp, in xfs_difree_inobt() argument
2054 struct xfs_buf *agbp, in xfs_difree_finobt() argument
[all …]
H A Dxfs_refcount_btree.h49 struct xfs_trans *tp, struct xfs_buf *agbp,
66 struct xfs_trans *tp, struct xfs_buf *agbp);
H A Dxfs_ialloc_btree.h50 struct xfs_trans *tp, struct xfs_buf *agbp, xfs_btnum_t btnum);
74 struct xfs_trans *tp, struct xfs_buf *agbp);
H A Dxfs_refcount.c1308 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()
H A Dxfs_btree_staging.h25 struct xfs_buf *agbp, const struct xfs_btree_ops *ops);
H A Dxfs_alloc_btree.h61 struct xfs_trans *tp, struct xfs_buf *agbp);
H A Dxfs_alloc.h37 struct xfs_buf *agbp; /* buffer for a.g. freelist header */ member
201 struct xfs_buf **agbp);
H A Dxfs_rmap_btree.h50 struct xfs_trans *tp, struct xfs_buf *agbp);
H A Dxfs_rmap.h118 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,
H 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()
H A Dxfs_rmap.c797 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 …]
H A Dxfs_btree.h222 struct xfs_buf *agbp; member
/openbmc/linux/fs/xfs/
H A Dxfs_discard.c159 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()
H A Dxfs_extfree_item.c595 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()
H A Dxfs_reflink.c138 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()