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,
1111 struct xfs_btree_cur *rcur, in xfs_refcount_finish_one_cleanup() argument
1116 if (rcur == NULL) in xfs_refcount_finish_one_cleanup()
1118 agbp = rcur->bc_ag.agbp; in xfs_refcount_finish_one_cleanup()
1119 xfs_btree_del_cursor(rcur, error); in xfs_refcount_finish_one_cleanup()
1142 struct xfs_btree_cur *rcur; in xfs_refcount_finish_one() local
1167 rcur = *pcur; in xfs_refcount_finish_one()
1168 if (rcur != NULL && rcur->bc_ag.agno != agno) { in xfs_refcount_finish_one()
1169 nr_ops = rcur->bc_ag.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_ag.agno, agbno, in xfs_rmap_insert()
113 error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i); in xfs_rmap_insert()
116 if (XFS_IS_CORRUPT(rcur->bc_mp, i != 0)) { in xfs_rmap_insert()
121 rcur->bc_rec.r.rm_startblock = agbno; in xfs_rmap_insert()
122 rcur->bc_rec.r.rm_blockcount = len; in xfs_rmap_insert()
123 rcur->bc_rec.r.rm_owner = owner; in xfs_rmap_insert()
124 rcur->bc_rec.r.rm_offset = offset; in xfs_rmap_insert()
125 rcur->bc_rec.r.rm_flags = flags; in xfs_rmap_insert()
126 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_refcount.h38 struct xfs_btree_cur *rcur, int error);
Dxfs_ialloc.c1404 struct xfs_btree_cur *rcur; /* right search cursor */ in xfs_dialloc_ag_finobt_near() local
1430 error = xfs_btree_dup_cursor(lcur, &rcur); in xfs_dialloc_ag_finobt_near()
1434 error = xfs_inobt_lookup(rcur, pagino, XFS_LOOKUP_GE, &j); in xfs_dialloc_ag_finobt_near()
1438 error = xfs_inobt_get_rec(rcur, &rrec, &j); in xfs_dialloc_ag_finobt_near()
1460 *ocur = rcur; in xfs_dialloc_ag_finobt_near()
1462 xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_finobt_near()
1468 *ocur = rcur; in xfs_dialloc_ag_finobt_near()
1471 xfs_btree_del_cursor(rcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_finobt_near()
1477 xfs_btree_del_cursor(rcur, XFS_BTREE_ERROR); in xfs_dialloc_ag_finobt_near()
/fs/xfs/
Dxfs_rmap_item.c476 struct xfs_btree_cur *rcur = NULL; in xfs_rui_item_recover() local
563 rmap->me_len, state, &rcur); in xfs_rui_item_recover()
569 xfs_rmap_finish_one_cleanup(tp, rcur, error); in xfs_rui_item_recover()
573 xfs_rmap_finish_one_cleanup(tp, rcur, error); in xfs_rui_item_recover()
Dxfs_refcount_item.c434 struct xfs_btree_cur *rcur = NULL; in xfs_cui_item_recover() local
514 &new_fsb, &new_len, &rcur); in xfs_cui_item_recover()
546 xfs_refcount_finish_one_cleanup(tp, rcur, error); in xfs_cui_item_recover()
550 xfs_refcount_finish_one_cleanup(tp, rcur, error); in xfs_cui_item_recover()