Lines Matching refs:fbno

308 	xfs_agblock_t	fbno,		/* starting block of free extent */  in xfs_alloc_fixup_trees()  argument
332 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees()
335 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
347 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees()
350 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
373 if (rbno == fbno && rlen == flen) in xfs_alloc_fixup_trees()
375 else if (rbno == fbno) { in xfs_alloc_fixup_trees()
379 } else if (rbno + rlen == fbno + flen) { in xfs_alloc_fixup_trees()
380 nfbno1 = fbno; in xfs_alloc_fixup_trees()
384 nfbno1 = fbno; in xfs_alloc_fixup_trees()
385 nflen1 = rbno - fbno; in xfs_alloc_fixup_trees()
387 nflen2 = (fbno + flen) - nfbno2; in xfs_alloc_fixup_trees()
658 xfs_agblock_t fbno; /* start block of found extent */ in xfs_alloc_ag_vextent_exact() local
687 error = xfs_alloc_get_rec(bno_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_exact()
691 ASSERT(fbno <= args->agbno); in xfs_alloc_ag_vextent_exact()
696 xfs_extent_busy_trim(args, fbno, flen, &tbno, &tlen); in xfs_alloc_ag_vextent_exact()
732 error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, args->agbno, in xfs_alloc_ag_vextent_exact()
1258 xfs_agblock_t fbno; /* start of found freespace */ in xfs_alloc_ag_vextent_size() local
1290 &fbno, &flen, &i); in xfs_alloc_ag_vextent_size()
1299 xfs_alloc_compute_aligned(args, fbno, flen, &rbno, &rlen); in xfs_alloc_ag_vextent_size()
1308 error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_size()
1313 xfs_alloc_compute_aligned(args, fbno, flen, in xfs_alloc_ag_vextent_size()
1351 (rlen <= flen && rbno + rlen <= fbno + flen), error0); in xfs_alloc_ag_vextent_size()
1361 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1367 if ((error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, in xfs_alloc_ag_vextent_size()
1373 xfs_alloc_compute_aligned(args, fbno, flen, in xfs_alloc_ag_vextent_size()
1377 (rlen <= flen && rbno + rlen <= fbno + flen), in xfs_alloc_ag_vextent_size()
1383 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1395 fbno = bestfbno; in xfs_alloc_ag_vextent_size()
1422 if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, in xfs_alloc_ag_vextent_size()
1466 xfs_agblock_t fbno; in xfs_alloc_ag_vextent_small() local
1473 if ((error = xfs_alloc_get_rec(ccur, &fbno, &flen, &i))) in xfs_alloc_ag_vextent_small()
1485 error = xfs_alloc_get_freelist(args->tp, args->agbp, &fbno, 0); in xfs_alloc_ag_vextent_small()
1488 if (fbno != NULLAGBLOCK) { in xfs_alloc_ag_vextent_small()
1489 xfs_extent_busy_reuse(args->mp, args->agno, fbno, 1, in xfs_alloc_ag_vextent_small()
1496 args->agno, fbno, 0); in xfs_alloc_ag_vextent_small()
1500 args->agbno = fbno; in xfs_alloc_ag_vextent_small()
1520 fbno = NULLAGBLOCK; in xfs_alloc_ag_vextent_small()
1531 *fbnop = fbno; in xfs_alloc_ag_vextent_small()