Home
last modified time | relevance | path

Searched refs:tcur (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/fs/xfs/
Dxfs_ialloc_btree.c116 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()
[all …]
Dxfs_alloc_btree.c110 xfs_btree_cur_t *tcur; /* temporary btree cursor */ in xfs_alloc_delrec() local
303 if ((error = xfs_btree_dup_cursor(cur, &tcur))) in xfs_alloc_delrec()
314 i = xfs_btree_lastrec(tcur, level); in xfs_alloc_delrec()
316 if ((error = xfs_alloc_increment(tcur, level, &i))) in xfs_alloc_delrec()
319 i = xfs_btree_lastrec(tcur, level); in xfs_alloc_delrec()
324 rbp = tcur->bc_bufs[level]; in xfs_alloc_delrec()
341 if ((error = xfs_alloc_lshift(tcur, level, &i))) in xfs_alloc_delrec()
346 xfs_btree_del_cursor(tcur, in xfs_alloc_delrec()
363 i = xfs_btree_firstrec(tcur, level); in xfs_alloc_delrec()
365 if ((error = xfs_alloc_decrement(tcur, level, &i))) in xfs_alloc_delrec()
[all …]
Dxfs_bmap_btree.c371 xfs_btree_cur_t *tcur; /* temporary btree cursor */ in xfs_bmbt_delrec() local
378 tcur = (xfs_btree_cur_t *)0; in xfs_bmbt_delrec()
488 if ((error = xfs_btree_dup_cursor(cur, &tcur))) { in xfs_bmbt_delrec()
494 i = xfs_btree_lastrec(tcur, level); in xfs_bmbt_delrec()
496 if ((error = xfs_bmbt_increment(tcur, level, &i))) { in xfs_bmbt_delrec()
501 i = xfs_btree_lastrec(tcur, level); in xfs_bmbt_delrec()
503 rbp = tcur->bc_bufs[level]; in xfs_bmbt_delrec()
514 if ((error = xfs_bmbt_lshift(tcur, level, &i))) { in xfs_bmbt_delrec()
520 XFS_BMAP_BLOCK_IMINRECS(level, tcur)); in xfs_bmbt_delrec()
521 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_bmbt_delrec()
[all …]
Dxfs_ialloc.c528 xfs_btree_cur_t *tcur; /* temp cursor */ in xfs_dialloc() local
708 if ((error = xfs_btree_dup_cursor(cur, &tcur))) in xfs_dialloc()
713 if ((error = xfs_inobt_decrement(tcur, 0, &i))) in xfs_dialloc()
717 if ((error = xfs_inobt_get_rec(tcur, in xfs_dialloc()
769 cur = tcur; in xfs_dialloc()
780 xfs_btree_del_cursor(tcur, in xfs_dialloc()
789 if ((error = xfs_inobt_decrement(tcur, 0, in xfs_dialloc()
795 tcur, in xfs_dialloc()
910 xfs_btree_del_cursor(tcur, XFS_BTREE_ERROR); in xfs_dialloc()