Lines Matching refs:fbno
269 xfs_agblock_t fbno, /* starting block of free extent */ in xfs_alloc_fixup_trees() argument
290 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees()
293 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
305 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees()
308 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
331 if (rbno == fbno && rlen == flen) in xfs_alloc_fixup_trees()
333 else if (rbno == fbno) { in xfs_alloc_fixup_trees()
337 } else if (rbno + rlen == fbno + flen) { in xfs_alloc_fixup_trees()
338 nfbno1 = fbno; in xfs_alloc_fixup_trees()
342 nfbno1 = fbno; in xfs_alloc_fixup_trees()
343 nflen1 = rbno - fbno; in xfs_alloc_fixup_trees()
345 nflen2 = (fbno + flen) - nfbno2; in xfs_alloc_fixup_trees()
652 xfs_agblock_t fbno; /* start block of found extent */ in xfs_alloc_ag_vextent_exact() local
687 if ((error = xfs_alloc_get_rec(bno_cur, &fbno, &flen, &i))) in xfs_alloc_ag_vextent_exact()
690 ASSERT(fbno <= args->agbno); in xfs_alloc_ag_vextent_exact()
693 fend = fbno + flen; in xfs_alloc_ag_vextent_exact()
728 if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, in xfs_alloc_ag_vextent_exact()
1291 xfs_agblock_t fbno; /* start of found freespace */ in xfs_alloc_ag_vextent_size() local
1317 if ((error = xfs_alloc_ag_vextent_small(args, cnt_cur, &fbno, in xfs_alloc_ag_vextent_size()
1331 if ((error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, &i))) in xfs_alloc_ag_vextent_size()
1341 xfs_alloc_compute_aligned(fbno, flen, args->alignment, args->minlen, in xfs_alloc_ag_vextent_size()
1345 (rlen <= flen && rbno + rlen <= fbno + flen), error0); in xfs_alloc_ag_vextent_size()
1355 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1361 if ((error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, in xfs_alloc_ag_vextent_size()
1367 xfs_alloc_compute_aligned(fbno, flen, args->alignment, in xfs_alloc_ag_vextent_size()
1371 (rlen <= flen && rbno + rlen <= fbno + flen), in xfs_alloc_ag_vextent_size()
1377 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1389 fbno = bestfbno; in xfs_alloc_ag_vextent_size()
1410 if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, in xfs_alloc_ag_vextent_size()
1449 xfs_agblock_t fbno; in xfs_alloc_ag_vextent_small() local
1459 if ((error = xfs_alloc_get_rec(ccur, &fbno, &flen, &i))) in xfs_alloc_ag_vextent_small()
1471 if ((error = xfs_alloc_get_freelist(args->tp, args->agbp, &fbno))) in xfs_alloc_ag_vextent_small()
1473 if (fbno != NULLAGBLOCK) { in xfs_alloc_ag_vextent_small()
1478 args->agno, fbno, 0); in xfs_alloc_ag_vextent_small()
1482 args->agbno = fbno; in xfs_alloc_ag_vextent_small()
1512 *fbnop = fbno; in xfs_alloc_ag_vextent_small()