Lines Matching refs:fbno
468 * actual (current) free extent fbno for flen blocks.
476 xfs_agblock_t fbno, /* starting block of free extent */
501 nfbno1 != fbno ||
506 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i)))
520 nfbno1 != fbno ||
525 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i)))
551 if (rbno == fbno && rlen == flen)
553 else if (rbno == fbno) {
557 } else if (rbno + rlen == fbno + flen) {
558 nfbno1 = fbno;
562 nfbno1 = fbno;
563 nflen1 = rbno - fbno;
565 nflen2 = (fbno + flen) - nfbno2;
1084 xfs_agblock_t fbno = NULLAGBLOCK;
1099 error = xfs_alloc_get_rec(ccur, &fbno, &flen, &i);
1115 &fbno, 0);
1118 if (fbno == NULLAGBLOCK)
1121 xfs_extent_busy_reuse(args->mp, args->pag, fbno, 1,
1128 XFS_AGB_TO_DADDR(args->mp, args->agno, fbno),
1134 *fbnop = args->agbno = fbno;
1136 if (XFS_IS_CORRUPT(args->mp, fbno >= be32_to_cpu(agf->agf_length))) {
1147 error = xfs_rmap_free(args->tp, args->agbp, args->pag, fbno, 1,
1164 *fbnop = fbno;
1189 xfs_agblock_t fbno; /* start block of found extent */
1219 error = xfs_alloc_get_rec(bno_cur, &fbno, &flen, &i);
1226 ASSERT(fbno <= args->agbno);
1231 tbno = fbno;
1265 error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, args->agbno,
1660 xfs_agblock_t fbno; /* start of found freespace */
1695 &fbno, &flen, &i);
1704 busy = xfs_alloc_compute_aligned(args, fbno, flen, &rbno,
1711 error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, &i);
1719 busy = xfs_alloc_compute_aligned(args, fbno, flen,
1760 rbno + rlen > fbno + flen))) {
1773 bestfbno = fbno;
1779 if ((error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen,
1788 busy = xfs_alloc_compute_aligned(args, fbno, flen,
1794 rbno + rlen > fbno + flen))) {
1802 bestfbno = fbno;
1817 fbno = bestfbno;
1857 if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen,
2596 xfs_agblock_t fbno;
2611 error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, stat);