Home
last modified time | relevance | path

Searched refs:rcur (Results 1 – 7 of 7) sorted by relevance

/fs/xfs/libxfs/
Dxfs_refcount.c34 STATIC int __xfs_refcount_cow_alloc(struct xfs_btree_cur *rcur,
36 STATIC int __xfs_refcount_cow_free(struct xfs_btree_cur *rcur,
1056 struct xfs_btree_cur *rcur, in xfs_refcount_finish_one_cleanup() argument
1061 if (rcur == NULL) in xfs_refcount_finish_one_cleanup()
1063 agbp = rcur->bc_private.a.agbp; in xfs_refcount_finish_one_cleanup()
1064 xfs_btree_del_cursor(rcur, error); in xfs_refcount_finish_one_cleanup()
1087 struct xfs_btree_cur *rcur; in xfs_refcount_finish_one() local
1112 rcur = *pcur; in xfs_refcount_finish_one()
1113 if (rcur != NULL && rcur->bc_private.a.agno != agno) { in xfs_refcount_finish_one()
1114 nr_ops = rcur->bc_private.a.priv.refc.nr_ops; in xfs_refcount_finish_one()
[all …]
Dxfs_rmap.c100 struct xfs_btree_cur *rcur, in xfs_rmap_insert() argument
110 trace_xfs_rmap_insert(rcur->bc_mp, rcur->bc_private.a.agno, agbno, in xfs_rmap_insert()
113 error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i); in xfs_rmap_insert()
116 XFS_WANT_CORRUPTED_GOTO(rcur->bc_mp, i == 0, done); in xfs_rmap_insert()
118 rcur->bc_rec.r.rm_startblock = agbno; in xfs_rmap_insert()
119 rcur->bc_rec.r.rm_blockcount = len; in xfs_rmap_insert()
120 rcur->bc_rec.r.rm_owner = owner; in xfs_rmap_insert()
121 rcur->bc_rec.r.rm_offset = offset; in xfs_rmap_insert()
122 rcur->bc_rec.r.rm_flags = flags; in xfs_rmap_insert()
123 error = xfs_btree_insert(rcur, &i); in xfs_rmap_insert()
[all …]
Dxfs_rmap.h128 int xfs_rmap_insert(struct xfs_btree_cur *rcur, xfs_agblock_t agbno,
178 struct xfs_btree_cur *rcur, int error);
Dxfs_ialloc.c1383 struct xfs_btree_cur *rcur; /* right search cursor */ in xfs_dialloc_ag_finobt_near() local
1408 error = xfs_btree_dup_cursor(lcur, &rcur); in xfs_dialloc_ag_finobt_near()
1412 error = xfs_inobt_lookup(rcur, pagino, XFS_LOOKUP_GE, &j); in xfs_dialloc_ag_finobt_near()
1416 error = xfs_inobt_get_rec(rcur, &rrec, &j); in xfs_dialloc_ag_finobt_near()
1432 *ocur = rcur; in xfs_dialloc_ag_finobt_near()
1434 xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_finobt_near()
1440 *ocur = rcur; in xfs_dialloc_ag_finobt_near()
1443 xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_finobt_near()
1449 xfs_btree_del_cursor(rcur, XFS_BTREE_ERROR); in xfs_dialloc_ag_finobt_near()
Dxfs_refcount.h38 struct xfs_btree_cur *rcur, int error);
/fs/xfs/
Dxfs_refcount_item.c406 struct xfs_btree_cur *rcur = state; in xfs_refcount_update_finish_cleanup() local
408 xfs_refcount_finish_one_cleanup(tp, rcur, error); in xfs_refcount_update_finish_cleanup()
459 struct xfs_btree_cur *rcur = NULL; in xfs_cui_recover() local
548 &new_fsb, &new_len, &rcur); in xfs_cui_recover()
580 xfs_refcount_finish_one_cleanup(tp, rcur, error); in xfs_cui_recover()
587 xfs_refcount_finish_one_cleanup(tp, rcur, error); in xfs_cui_recover()
Dxfs_rmap_item.c448 struct xfs_btree_cur *rcur = state; in xfs_rmap_update_finish_cleanup() local
450 xfs_rmap_finish_one_cleanup(tp, rcur, error); in xfs_rmap_update_finish_cleanup()
503 struct xfs_btree_cur *rcur = NULL; in xfs_rui_recover() local
590 rmap->me_len, state, &rcur); in xfs_rui_recover()
596 xfs_rmap_finish_one_cleanup(tp, rcur, error); in xfs_rui_recover()
602 xfs_rmap_finish_one_cleanup(tp, rcur, error); in xfs_rui_recover()