Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_discard.c153 struct xfs_alloc_rec_incore *tcur, in xfs_trim_gather_extents() argument
180 if (tcur->ar_startblock == NULLAGBLOCK) in xfs_trim_gather_extents()
181 error = xfs_alloc_lookup_ge(cur, 0, tcur->ar_blockcount, &i); in xfs_trim_gather_extents()
183 error = xfs_alloc_lookup_le(cur, tcur->ar_startblock, in xfs_trim_gather_extents()
184 tcur->ar_blockcount, &i); in xfs_trim_gather_extents()
189 tcur->ar_blockcount = 0; in xfs_trim_gather_extents()
216 tcur->ar_startblock = fbno; in xfs_trim_gather_extents()
217 tcur->ar_blockcount = flen; in xfs_trim_gather_extents()
234 tcur->ar_blockcount = 0; in xfs_trim_gather_extents()
271 tcur->ar_blockcount = 0; in xfs_trim_gather_extents()
[all …]
/fs/xfs/libxfs/
Dxfs_btree.c2326 struct xfs_btree_cur *tcur; /* temporary btree cursor */ in xfs_btree_lshift() local
2464 error = xfs_btree_dup_cursor(cur, &tcur); in xfs_btree_lshift()
2467 i = xfs_btree_firstrec(tcur, level); in xfs_btree_lshift()
2468 if (XFS_IS_CORRUPT(tcur->bc_mp, i != 1)) { in xfs_btree_lshift()
2473 error = xfs_btree_decrement(tcur, level, &i); in xfs_btree_lshift()
2478 error = xfs_btree_update_keys(tcur, level); in xfs_btree_lshift()
2482 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_btree_lshift()
2504 xfs_btree_del_cursor(tcur, XFS_BTREE_ERROR); in xfs_btree_lshift()
2522 struct xfs_btree_cur *tcur; /* temporary btree cursor */ in xfs_btree_rshift() local
2634 error = xfs_btree_dup_cursor(cur, &tcur); in xfs_btree_rshift()
[all …]
Dxfs_ialloc.c1015 struct xfs_btree_cur *cur, *tcur; in xfs_dialloc_ag_inobt() local
1077 error = xfs_btree_dup_cursor(cur, &tcur); in xfs_dialloc_ag_inobt()
1088 error = xfs_ialloc_get_rec(tcur, pag->pagl_leftrec, in xfs_dialloc_ag_inobt()
1099 error = xfs_ialloc_next_rec(tcur, &trec, &doneleft, 1); in xfs_dialloc_ag_inobt()
1127 cur = tcur; in xfs_dialloc_ag_inobt()
1138 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_inobt()
1148 error = xfs_ialloc_next_rec(tcur, &trec, in xfs_dialloc_ag_inobt()
1163 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_inobt()
1179 xfs_btree_del_cursor(tcur, XFS_BTREE_NOERROR); in xfs_dialloc_ag_inobt()
1265 xfs_btree_del_cursor(tcur, XFS_BTREE_ERROR); in xfs_dialloc_ag_inobt()