Lines Matching refs:tcur
116 xfs_btree_cur_t *tcur; /* temporary btree cursor */ in xfs_inobt_delrec() local
266 if ((error = xfs_btree_dup_cursor(cur, &tcur))) in xfs_inobt_delrec()
277 i = xfs_btree_lastrec(tcur, level); in xfs_inobt_delrec()
279 if ((error = xfs_inobt_increment(tcur, level, &i))) in xfs_inobt_delrec()
282 i = xfs_btree_lastrec(tcur, level); in xfs_inobt_delrec()
287 rbp = tcur->bc_bufs[level]; in xfs_inobt_delrec()
304 if ((error = xfs_inobt_lshift(tcur, level, &i))) in xfs_inobt_delrec()
309 xfs_btree_del_cursor(tcur, in xfs_inobt_delrec()
326 xfs_btree_firstrec(tcur, level); in xfs_inobt_delrec()
327 if ((error = xfs_inobt_decrement(tcur, level, &i))) in xfs_inobt_delrec()
340 xfs_btree_firstrec(tcur, level); in xfs_inobt_delrec()
341 if ((error = xfs_inobt_decrement(tcur, level, &i))) in xfs_inobt_delrec()
343 xfs_btree_firstrec(tcur, level); in xfs_inobt_delrec()
347 lbp = tcur->bc_bufs[level]; in xfs_inobt_delrec()
364 if ((error = xfs_inobt_rshift(tcur, level, &i))) in xfs_inobt_delrec()
369 xfs_btree_del_cursor(tcur, in xfs_inobt_delrec()
386 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_inobt_delrec()
541 xfs_btree_del_cursor(tcur, XFS_BTREE_ERROR); in xfs_inobt_delrec()
1365 xfs_btree_cur_t *tcur; /* temporary cursor */ in xfs_inobt_rshift() local
1459 if ((error = xfs_btree_dup_cursor(cur, &tcur))) in xfs_inobt_rshift()
1461 xfs_btree_lastrec(tcur, level); in xfs_inobt_rshift()
1462 if ((error = xfs_inobt_increment(tcur, level, &i)) || in xfs_inobt_rshift()
1463 (error = xfs_inobt_updkey(tcur, rkp, level + 1))) { in xfs_inobt_rshift()
1464 xfs_btree_del_cursor(tcur, XFS_BTREE_ERROR); in xfs_inobt_rshift()
1467 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_inobt_rshift()