• Home
  • Raw
  • Download

Lines Matching refs:bno_cur

430 	xfs_btree_cur_t	*bno_cur,	/* cursor for by-block btree */  in xfs_alloc_fixup_trees()  argument
471 if ((error = xfs_alloc_get_rec(bno_cur, &nfbno1, &nflen1, &i))) in xfs_alloc_fixup_trees()
480 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
487 if (bno_cur->bc_nlevels == 1 && cnt_cur->bc_nlevels == 1) { in xfs_alloc_fixup_trees()
491 bnoblock = XFS_BUF_TO_BLOCK(bno_cur->bc_bufs[0]); in xfs_alloc_fixup_trees()
559 if ((error = xfs_btree_delete(bno_cur, &i))) in xfs_alloc_fixup_trees()
567 if ((error = xfs_alloc_update(bno_cur, nfbno1, nflen1))) in xfs_alloc_fixup_trees()
574 if ((error = xfs_alloc_lookup_eq(bno_cur, nfbno2, nflen2, &i))) in xfs_alloc_fixup_trees()
578 if ((error = xfs_btree_insert(bno_cur, &i))) in xfs_alloc_fixup_trees()
1204 xfs_btree_cur_t *bno_cur;/* by block-number btree cursor */ in xfs_alloc_ag_vextent_exact() local
1220 bno_cur = xfs_allocbt_init_cursor(args->mp, args->tp, args->agbp, in xfs_alloc_ag_vextent_exact()
1228 error = xfs_alloc_lookup_le(bno_cur, args->agbno, args->minlen, &i); in xfs_alloc_ag_vextent_exact()
1237 error = xfs_alloc_get_rec(bno_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_exact()
1283 error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, args->agbno, in xfs_alloc_ag_vextent_exact()
1290 xfs_btree_del_cursor(bno_cur, XFS_BTREE_NOERROR); in xfs_alloc_ag_vextent_exact()
1299 xfs_btree_del_cursor(bno_cur, XFS_BTREE_NOERROR); in xfs_alloc_ag_vextent_exact()
1305 xfs_btree_del_cursor(bno_cur, XFS_BTREE_ERROR); in xfs_alloc_ag_vextent_exact()
1662 xfs_btree_cur_t *bno_cur; /* cursor for bno btree */ in xfs_alloc_ag_vextent_size() local
1679 bno_cur = NULL; in xfs_alloc_ag_vextent_size()
1840 bno_cur = xfs_allocbt_init_cursor(args->mp, args->tp, args->agbp, in xfs_alloc_ag_vextent_size()
1842 if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, in xfs_alloc_ag_vextent_size()
1846 xfs_btree_del_cursor(bno_cur, XFS_BTREE_NOERROR); in xfs_alloc_ag_vextent_size()
1847 cnt_cur = bno_cur = NULL; in xfs_alloc_ag_vextent_size()
1863 if (bno_cur) in xfs_alloc_ag_vextent_size()
1864 xfs_btree_del_cursor(bno_cur, XFS_BTREE_ERROR); in xfs_alloc_ag_vextent_size()
1888 struct xfs_btree_cur *bno_cur; in xfs_free_ag_extent() local
1901 bno_cur = cnt_cur = NULL; in xfs_free_ag_extent()
1913 bno_cur = xfs_allocbt_init_cursor(mp, tp, agbp, agno, XFS_BTNUM_BNO); in xfs_free_ag_extent()
1918 if ((error = xfs_alloc_lookup_le(bno_cur, bno, len, &haveleft))) in xfs_free_ag_extent()
1924 if ((error = xfs_alloc_get_rec(bno_cur, &ltbno, &ltlen, &i))) in xfs_free_ag_extent()
1951 if ((error = xfs_btree_increment(bno_cur, 0, &haveright))) in xfs_free_ag_extent()
1957 if ((error = xfs_alloc_get_rec(bno_cur, &gtbno, &gtlen, &i))) in xfs_free_ag_extent()
2022 if ((error = xfs_btree_delete(bno_cur, &i))) in xfs_free_ag_extent()
2031 if ((error = xfs_btree_decrement(bno_cur, 0, &i))) in xfs_free_ag_extent()
2046 if ((error = xfs_alloc_get_rec(bno_cur, &xxbno, &xxlen, in xfs_free_ag_extent()
2063 if ((error = xfs_alloc_update(bno_cur, nbno, nlen))) in xfs_free_ag_extent()
2090 if ((error = xfs_btree_decrement(bno_cur, 0, &i))) in xfs_free_ag_extent()
2098 if ((error = xfs_alloc_update(bno_cur, nbno, nlen))) in xfs_free_ag_extent()
2127 if ((error = xfs_alloc_update(bno_cur, nbno, nlen))) in xfs_free_ag_extent()
2137 if ((error = xfs_btree_insert(bno_cur, &i))) in xfs_free_ag_extent()
2144 xfs_btree_del_cursor(bno_cur, XFS_BTREE_NOERROR); in xfs_free_ag_extent()
2145 bno_cur = NULL; in xfs_free_ag_extent()
2181 if (bno_cur) in xfs_free_ag_extent()
2182 xfs_btree_del_cursor(bno_cur, XFS_BTREE_ERROR); in xfs_free_ag_extent()