• Home
  • Raw
  • Download

Lines Matching refs:fbno

413 	xfs_agblock_t	fbno,		/* starting block of free extent */  in xfs_alloc_fixup_trees()  argument
437 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees()
440 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
452 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees()
455 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
478 if (rbno == fbno && rlen == flen) in xfs_alloc_fixup_trees()
480 else if (rbno == fbno) { in xfs_alloc_fixup_trees()
484 } else if (rbno + rlen == fbno + flen) { in xfs_alloc_fixup_trees()
485 nfbno1 = fbno; in xfs_alloc_fixup_trees()
489 nfbno1 = fbno; in xfs_alloc_fixup_trees()
490 nflen1 = rbno - fbno; in xfs_alloc_fixup_trees()
492 nflen2 = (fbno + flen) - nfbno2; in xfs_alloc_fixup_trees()
714 xfs_agblock_t fbno = NULLAGBLOCK; in xfs_alloc_ag_vextent_small() local
729 error = xfs_alloc_get_rec(ccur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_small()
742 error = xfs_alloc_get_freelist(args->tp, args->agbp, &fbno, 0); in xfs_alloc_ag_vextent_small()
745 if (fbno == NULLAGBLOCK) in xfs_alloc_ag_vextent_small()
748 xfs_extent_busy_reuse(args->mp, args->agno, fbno, 1, in xfs_alloc_ag_vextent_small()
754 bp = xfs_btree_get_bufs(args->mp, args->tp, args->agno, fbno); in xfs_alloc_ag_vextent_small()
762 *fbnop = args->agbno = fbno; in xfs_alloc_ag_vextent_small()
765 fbno < be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length), in xfs_alloc_ag_vextent_small()
774 error = xfs_rmap_free(args->tp, args->agbp, args->agno, fbno, 1, in xfs_alloc_ag_vextent_small()
791 *fbnop = fbno; in xfs_alloc_ag_vextent_small()
888 xfs_agblock_t fbno; /* start block of found extent */ in xfs_alloc_ag_vextent_exact() local
918 error = xfs_alloc_get_rec(bno_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_exact()
922 ASSERT(fbno <= args->agbno); in xfs_alloc_ag_vextent_exact()
927 tbno = fbno; in xfs_alloc_ag_vextent_exact()
962 error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, args->agbno, in xfs_alloc_ag_vextent_exact()
1499 xfs_agblock_t fbno; /* start of found freespace */ in xfs_alloc_ag_vextent_size() local
1532 &fbno, &flen, &i); in xfs_alloc_ag_vextent_size()
1541 busy = xfs_alloc_compute_aligned(args, fbno, flen, &rbno, in xfs_alloc_ag_vextent_size()
1548 error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_size()
1553 busy = xfs_alloc_compute_aligned(args, fbno, flen, in xfs_alloc_ag_vextent_size()
1586 (rlen <= flen && rbno + rlen <= fbno + flen), error0); in xfs_alloc_ag_vextent_size()
1596 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1602 if ((error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, in xfs_alloc_ag_vextent_size()
1608 busy = xfs_alloc_compute_aligned(args, fbno, flen, in xfs_alloc_ag_vextent_size()
1612 (rlen <= flen && rbno + rlen <= fbno + flen), in xfs_alloc_ag_vextent_size()
1618 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1630 fbno = bestfbno; in xfs_alloc_ag_vextent_size()
1655 if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, in xfs_alloc_ag_vextent_size()