Lines Matching refs:fbno
322 xfs_agblock_t fbno, /* starting block of free extent */ in xfs_alloc_fixup_trees() argument
346 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees()
349 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
361 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees()
364 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
387 if (rbno == fbno && rlen == flen) in xfs_alloc_fixup_trees()
389 else if (rbno == fbno) { in xfs_alloc_fixup_trees()
393 } else if (rbno + rlen == fbno + flen) { in xfs_alloc_fixup_trees()
394 nfbno1 = fbno; in xfs_alloc_fixup_trees()
398 nfbno1 = fbno; in xfs_alloc_fixup_trees()
399 nflen1 = rbno - fbno; in xfs_alloc_fixup_trees()
401 nflen2 = (fbno + flen) - nfbno2; in xfs_alloc_fixup_trees()
675 xfs_agblock_t fbno; /* start block of found extent */ in xfs_alloc_ag_vextent_exact() local
704 error = xfs_alloc_get_rec(bno_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_exact()
708 ASSERT(fbno <= args->agbno); in xfs_alloc_ag_vextent_exact()
713 xfs_extent_busy_trim(args, fbno, flen, &tbno, &tlen); in xfs_alloc_ag_vextent_exact()
749 error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, args->agbno, in xfs_alloc_ag_vextent_exact()
1293 xfs_agblock_t fbno; /* start of found freespace */ in xfs_alloc_ag_vextent_size() local
1325 &fbno, &flen, &i); in xfs_alloc_ag_vextent_size()
1334 xfs_alloc_compute_aligned(args, fbno, flen, &rbno, &rlen); in xfs_alloc_ag_vextent_size()
1343 error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_size()
1348 xfs_alloc_compute_aligned(args, fbno, flen, in xfs_alloc_ag_vextent_size()
1386 (rlen <= flen && rbno + rlen <= fbno + flen), error0); in xfs_alloc_ag_vextent_size()
1396 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1402 if ((error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, in xfs_alloc_ag_vextent_size()
1408 xfs_alloc_compute_aligned(args, fbno, flen, in xfs_alloc_ag_vextent_size()
1412 (rlen <= flen && rbno + rlen <= fbno + flen), in xfs_alloc_ag_vextent_size()
1418 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1430 fbno = bestfbno; in xfs_alloc_ag_vextent_size()
1457 if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, in xfs_alloc_ag_vextent_size()
1501 xfs_agblock_t fbno; in xfs_alloc_ag_vextent_small() local
1508 if ((error = xfs_alloc_get_rec(ccur, &fbno, &flen, &i))) in xfs_alloc_ag_vextent_small()
1520 error = xfs_alloc_get_freelist(args->tp, args->agbp, &fbno, 0); in xfs_alloc_ag_vextent_small()
1523 if (fbno != NULLAGBLOCK) { in xfs_alloc_ag_vextent_small()
1524 xfs_extent_busy_reuse(args->mp, args->agno, fbno, 1, in xfs_alloc_ag_vextent_small()
1531 args->agno, fbno, 0); in xfs_alloc_ag_vextent_small()
1535 args->agbno = fbno; in xfs_alloc_ag_vextent_small()
1555 fbno = NULLAGBLOCK; in xfs_alloc_ag_vextent_small()
1566 *fbnop = fbno; in xfs_alloc_ag_vextent_small()