Lines Matching refs:fbno
417 xfs_agblock_t fbno, /* starting block of free extent */ in xfs_alloc_fixup_trees() argument
441 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees()
444 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
456 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees()
459 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
482 if (rbno == fbno && rlen == flen) in xfs_alloc_fixup_trees()
484 else if (rbno == fbno) { in xfs_alloc_fixup_trees()
488 } else if (rbno + rlen == fbno + flen) { in xfs_alloc_fixup_trees()
489 nfbno1 = fbno; in xfs_alloc_fixup_trees()
493 nfbno1 = fbno; in xfs_alloc_fixup_trees()
494 nflen1 = rbno - fbno; in xfs_alloc_fixup_trees()
496 nflen2 = (fbno + flen) - nfbno2; in xfs_alloc_fixup_trees()
787 xfs_agblock_t fbno; /* start block of found extent */ in xfs_alloc_ag_vextent_exact() local
817 error = xfs_alloc_get_rec(bno_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_exact()
821 ASSERT(fbno <= args->agbno); in xfs_alloc_ag_vextent_exact()
826 tbno = fbno; in xfs_alloc_ag_vextent_exact()
861 error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, args->agbno, in xfs_alloc_ag_vextent_exact()
1398 xfs_agblock_t fbno; /* start of found freespace */ in xfs_alloc_ag_vextent_size() local
1431 &fbno, &flen, &i); in xfs_alloc_ag_vextent_size()
1440 busy = xfs_alloc_compute_aligned(args, fbno, flen, &rbno, in xfs_alloc_ag_vextent_size()
1447 error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_size()
1452 busy = xfs_alloc_compute_aligned(args, fbno, flen, in xfs_alloc_ag_vextent_size()
1485 (rlen <= flen && rbno + rlen <= fbno + flen), error0); in xfs_alloc_ag_vextent_size()
1495 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1501 if ((error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, in xfs_alloc_ag_vextent_size()
1507 busy = xfs_alloc_compute_aligned(args, fbno, flen, in xfs_alloc_ag_vextent_size()
1511 (rlen <= flen && rbno + rlen <= fbno + flen), in xfs_alloc_ag_vextent_size()
1517 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1529 fbno = bestfbno; in xfs_alloc_ag_vextent_size()
1554 if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, in xfs_alloc_ag_vextent_size()
1599 xfs_agblock_t fbno; in xfs_alloc_ag_vextent_small() local
1606 if ((error = xfs_alloc_get_rec(ccur, &fbno, &flen, &i))) in xfs_alloc_ag_vextent_small()
1619 error = xfs_alloc_get_freelist(args->tp, args->agbp, &fbno, 0); in xfs_alloc_ag_vextent_small()
1622 if (fbno != NULLAGBLOCK) { in xfs_alloc_ag_vextent_small()
1623 xfs_extent_busy_reuse(args->mp, args->agno, fbno, 1, in xfs_alloc_ag_vextent_small()
1630 args->agno, fbno, 0); in xfs_alloc_ag_vextent_small()
1638 args->agbno = fbno; in xfs_alloc_ag_vextent_small()
1653 fbno, 1, &oinfo); in xfs_alloc_ag_vextent_small()
1670 fbno = NULLAGBLOCK; in xfs_alloc_ag_vextent_small()
1681 *fbnop = fbno; in xfs_alloc_ag_vextent_small()