Home
last modified time | relevance | path

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

/linux-6.12.1/fs/xfs/libxfs/
Dxfs_inode_fork.h230 struct xfs_iext_cursor ncur = *cur; in xfs_iext_peek_next_extent() local
232 xfs_iext_next(ifp, &ncur); in xfs_iext_peek_next_extent()
233 return xfs_iext_get_extent(ifp, &ncur, gotp); in xfs_iext_peek_next_extent()
242 struct xfs_iext_cursor ncur = *cur; in xfs_iext_peek_prev_extent() local
244 xfs_iext_prev(ifp, &ncur); in xfs_iext_peek_prev_extent()
245 return xfs_iext_get_extent(ifp, &ncur, gotp); in xfs_iext_peek_prev_extent()
Dxfs_btree_mem.c51 struct xfs_btree_cur *ncur; in xfbtree_dup_cursor() local
55 ncur = xfs_btree_alloc_cursor(cur->bc_mp, cur->bc_tp, cur->bc_ops, in xfbtree_dup_cursor()
57 ncur->bc_flags = cur->bc_flags; in xfbtree_dup_cursor()
58 ncur->bc_nlevels = cur->bc_nlevels; in xfbtree_dup_cursor()
59 ncur->bc_mem.xfbtree = cur->bc_mem.xfbtree; in xfbtree_dup_cursor()
62 ncur->bc_mem.pag = xfs_perag_hold(cur->bc_mem.pag); in xfbtree_dup_cursor()
64 return ncur; in xfbtree_dup_cursor()
Dxfs_btree.c570 struct xfs_btree_cur **ncur) /* output cursor */ in xfs_btree_dup_cursor() argument
615 *ncur = NULL; in xfs_btree_dup_cursor()
621 *ncur = new; in xfs_btree_dup_cursor()
3351 struct xfs_btree_cur **ncur, /* new btree cursor */ in xfs_btree_make_block_unfull() argument
3399 error = xfs_btree_split(cur, level, nptr, key, ncur, stat); in xfs_btree_make_block_unfull()
3425 struct xfs_btree_cur *ncur = NULL; /* new btree cursor */ in xfs_btree_insrec() local
3435 ncur = NULL; in xfs_btree_insrec()
3490 &optr, &ptr, &nptr, &ncur, lkey, stat); in xfs_btree_insrec()
3594 *curp = ncur; in xfs_btree_insrec()
3601 if (ncur) in xfs_btree_insrec()
[all …]
Dxfs_btree.h358 struct xfs_btree_cur **ncur);/* output cursor */
/linux-6.12.1/fs/xfs/scrub/
Dbtree.c264 struct xfs_btree_cur *ncur = NULL; in xchk_btree_block_check_sibling() local
269 error = xfs_btree_dup_cursor(cur, &ncur); in xchk_btree_block_check_sibling()
271 !ncur) in xchk_btree_block_check_sibling()
280 error = xfs_btree_increment(ncur, level + 1, &success); in xchk_btree_block_check_sibling()
282 error = xfs_btree_decrement(ncur, level + 1, &success); in xchk_btree_block_check_sibling()
291 error = xfs_btree_increment(ncur, level + 1, &success); in xchk_btree_block_check_sibling()
293 error = xfs_btree_decrement(ncur, level + 1, &success); in xchk_btree_block_check_sibling()
302 pblock = xfs_btree_get_block(ncur, level + 1, &pbp); in xchk_btree_block_check_sibling()
303 pp = xfs_btree_ptr_addr(ncur, ncur->bc_levels[level + 1].ptr, pblock); in xchk_btree_block_check_sibling()
312 xfs_btree_del_cursor(ncur, XFS_BTREE_ERROR); in xchk_btree_block_check_sibling()
/linux-6.12.1/fs/xfs/
Dxfs_iomap.c435 struct xfs_iext_cursor ncur = *icur; in xfs_iomap_prealloc_size() local
461 !xfs_iext_prev_extent(ifp, &ncur, &prev) || in xfs_iomap_prealloc_size()
471 while (xfs_iext_prev_extent(ifp, &ncur, &got)) { in xfs_iomap_prealloc_size()