Lines Matching refs:fbno
570 xfs_agblock_t fbno, /* starting block of free extent */ in xfs_alloc_fixup_trees() argument
596 nfbno1 != fbno || in xfs_alloc_fixup_trees()
603 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
619 nfbno1 != fbno || in xfs_alloc_fixup_trees()
626 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
656 if (rbno == fbno && rlen == flen) in xfs_alloc_fixup_trees()
658 else if (rbno == fbno) { in xfs_alloc_fixup_trees()
662 } else if (rbno + rlen == fbno + flen) { in xfs_alloc_fixup_trees()
663 nfbno1 = fbno; in xfs_alloc_fixup_trees()
667 nfbno1 = fbno; in xfs_alloc_fixup_trees()
668 nflen1 = rbno - fbno; in xfs_alloc_fixup_trees()
670 nflen2 = (fbno + flen) - nfbno2; in xfs_alloc_fixup_trees()
1215 xfs_agblock_t fbno = NULLAGBLOCK; in xfs_alloc_ag_vextent_small() local
1230 error = xfs_alloc_get_rec(ccur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_small()
1247 &fbno, 0); in xfs_alloc_ag_vextent_small()
1250 if (fbno == NULLAGBLOCK) in xfs_alloc_ag_vextent_small()
1253 xfs_extent_busy_reuse(pag_group(args->pag), fbno, 1, in xfs_alloc_ag_vextent_small()
1260 xfs_agbno_to_daddr(args->pag, fbno), in xfs_alloc_ag_vextent_small()
1266 *fbnop = args->agbno = fbno; in xfs_alloc_ag_vextent_small()
1268 if (XFS_IS_CORRUPT(args->mp, fbno >= be32_to_cpu(agf->agf_length))) { in xfs_alloc_ag_vextent_small()
1280 error = xfs_rmap_free(args->tp, args->agbp, args->pag, fbno, 1, in xfs_alloc_ag_vextent_small()
1297 *fbnop = fbno; in xfs_alloc_ag_vextent_small()
1321 xfs_agblock_t fbno; /* start block of found extent */ in xfs_alloc_ag_vextent_exact() local
1351 error = xfs_alloc_get_rec(bno_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_exact()
1359 ASSERT(fbno <= args->agbno); in xfs_alloc_ag_vextent_exact()
1364 tbno = fbno; in xfs_alloc_ag_vextent_exact()
1399 error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, args->agbno, in xfs_alloc_ag_vextent_exact()
1797 xfs_agblock_t fbno; /* start of found freespace */ in xfs_alloc_ag_vextent_size() local
1832 &fbno, &flen, &i); in xfs_alloc_ag_vextent_size()
1841 busy = xfs_alloc_compute_aligned(args, fbno, flen, &rbno, in xfs_alloc_ag_vextent_size()
1848 error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_size()
1857 busy = xfs_alloc_compute_aligned(args, fbno, flen, in xfs_alloc_ag_vextent_size()
1899 rbno + rlen > fbno + flen))) { in xfs_alloc_ag_vextent_size()
1913 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1919 if ((error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, in xfs_alloc_ag_vextent_size()
1929 busy = xfs_alloc_compute_aligned(args, fbno, flen, in xfs_alloc_ag_vextent_size()
1935 rbno + rlen > fbno + flen))) { in xfs_alloc_ag_vextent_size()
1944 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1960 fbno = bestfbno; in xfs_alloc_ag_vextent_size()
2002 if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, in xfs_alloc_ag_vextent_size()
2792 xfs_agblock_t fbno; in xfs_exact_minlen_extent_available() local
2808 error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, stat); in xfs_exact_minlen_extent_available()