Home
last modified time | relevance | path

Searched refs:ncur (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_inode_fork.h229 struct xfs_iext_cursor ncur = *cur; in xfs_iext_peek_next_extent() local
231 xfs_iext_next(ifp, &ncur); in xfs_iext_peek_next_extent()
232 return xfs_iext_get_extent(ifp, &ncur, gotp); in xfs_iext_peek_next_extent()
241 struct xfs_iext_cursor ncur = *cur; in xfs_iext_peek_prev_extent() local
243 xfs_iext_prev(ifp, &ncur); in xfs_iext_peek_prev_extent()
244 return xfs_iext_get_extent(ifp, &ncur, gotp); in xfs_iext_peek_prev_extent()
H A Dxfs_btree.c503 *ncur = NULL; in xfs_btree_dup_cursor()
509 *ncur = new; in xfs_btree_dup_cursor()
3295 ncur = NULL; in xfs_btree_insrec()
3463 *curp = ncur; in xfs_btree_insrec()
3470 if (ncur) in xfs_btree_insrec()
3471 xfs_btree_del_cursor(ncur, error); in xfs_btree_insrec()
3498 ncur = NULL; in xfs_btree_insert()
3519 &ncur, &i); in xfs_btree_insert()
3546 if (ncur) { in xfs_btree_insert()
3547 pcur = ncur; in xfs_btree_insert()
[all …]
H A Dxfs_btree.h380 struct xfs_btree_cur **ncur);/* output cursor */
/openbmc/linux/fs/xfs/scrub/
H A Dbtree.c268 struct xfs_btree_cur *ncur = NULL; in xchk_btree_block_check_sibling() local
273 error = xfs_btree_dup_cursor(cur, &ncur); in xchk_btree_block_check_sibling()
275 !ncur) in xchk_btree_block_check_sibling()
284 error = xfs_btree_increment(ncur, level + 1, &success); in xchk_btree_block_check_sibling()
286 error = xfs_btree_decrement(ncur, level + 1, &success); in xchk_btree_block_check_sibling()
295 error = xfs_btree_increment(ncur, level + 1, &success); in xchk_btree_block_check_sibling()
297 error = xfs_btree_decrement(ncur, level + 1, &success); in xchk_btree_block_check_sibling()
306 pblock = xfs_btree_get_block(ncur, level + 1, &pbp); in xchk_btree_block_check_sibling()
307 pp = xfs_btree_ptr_addr(ncur, ncur->bc_levels[level + 1].ptr, pblock); in xchk_btree_block_check_sibling()
316 xfs_btree_del_cursor(ncur, XFS_BTREE_ERROR); in xchk_btree_block_check_sibling()
/openbmc/linux/fs/xfs/
H A Dxfs_iomap.c407 struct xfs_iext_cursor ncur = *icur; in xfs_iomap_prealloc_size() local
433 !xfs_iext_prev_extent(ifp, &ncur, &prev) || in xfs_iomap_prealloc_size()
443 while (xfs_iext_prev_extent(ifp, &ncur, &got)) { in xfs_iomap_prealloc_size()