Lines Matching refs:fbno

442 	xfs_agblock_t	fbno,		/* starting block of free extent */  in xfs_alloc_fixup_trees()  argument
467 nfbno1 != fbno || in xfs_alloc_fixup_trees()
472 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
486 nfbno1 != fbno || in xfs_alloc_fixup_trees()
491 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
517 if (rbno == fbno && rlen == flen) in xfs_alloc_fixup_trees()
519 else if (rbno == fbno) { in xfs_alloc_fixup_trees()
523 } else if (rbno + rlen == fbno + flen) { in xfs_alloc_fixup_trees()
524 nfbno1 = fbno; in xfs_alloc_fixup_trees()
528 nfbno1 = fbno; in xfs_alloc_fixup_trees()
529 nflen1 = rbno - fbno; in xfs_alloc_fixup_trees()
531 nflen2 = (fbno + flen) - nfbno2; in xfs_alloc_fixup_trees()
1037 xfs_agblock_t fbno = NULLAGBLOCK; in xfs_alloc_ag_vextent_small() local
1052 error = xfs_alloc_get_rec(ccur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_small()
1068 &fbno, 0); in xfs_alloc_ag_vextent_small()
1071 if (fbno == NULLAGBLOCK) in xfs_alloc_ag_vextent_small()
1074 xfs_extent_busy_reuse(args->mp, args->pag, fbno, 1, in xfs_alloc_ag_vextent_small()
1081 XFS_AGB_TO_DADDR(args->mp, args->agno, fbno), in xfs_alloc_ag_vextent_small()
1087 *fbnop = args->agbno = fbno; in xfs_alloc_ag_vextent_small()
1089 if (XFS_IS_CORRUPT(args->mp, fbno >= be32_to_cpu(agf->agf_length))) { in xfs_alloc_ag_vextent_small()
1100 error = xfs_rmap_free(args->tp, args->agbp, args->pag, fbno, 1, in xfs_alloc_ag_vextent_small()
1117 *fbnop = fbno; in xfs_alloc_ag_vextent_small()
1142 xfs_agblock_t fbno; /* start block of found extent */ in xfs_alloc_ag_vextent_exact() local
1172 error = xfs_alloc_get_rec(bno_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_exact()
1179 ASSERT(fbno <= args->agbno); in xfs_alloc_ag_vextent_exact()
1184 tbno = fbno; in xfs_alloc_ag_vextent_exact()
1218 error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, args->agbno, in xfs_alloc_ag_vextent_exact()
1599 xfs_agblock_t fbno; /* start of found freespace */ in xfs_alloc_ag_vextent_size() local
1631 &fbno, &flen, &i); in xfs_alloc_ag_vextent_size()
1640 busy = xfs_alloc_compute_aligned(args, fbno, flen, &rbno, in xfs_alloc_ag_vextent_size()
1647 error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_size()
1655 busy = xfs_alloc_compute_aligned(args, fbno, flen, in xfs_alloc_ag_vextent_size()
1690 rbno + rlen > fbno + flen))) { in xfs_alloc_ag_vextent_size()
1703 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1709 if ((error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, in xfs_alloc_ag_vextent_size()
1718 busy = xfs_alloc_compute_aligned(args, fbno, flen, in xfs_alloc_ag_vextent_size()
1724 rbno + rlen > fbno + flen))) { in xfs_alloc_ag_vextent_size()
1732 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1747 fbno = bestfbno; in xfs_alloc_ag_vextent_size()
1775 if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, in xfs_alloc_ag_vextent_size()
2477 xfs_agblock_t fbno; in xfs_exact_minlen_extent_available() local
2492 error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, stat); in xfs_exact_minlen_extent_available()