• Home
  • Raw
  • Download

Lines Matching refs:fbno

301 	xfs_agblock_t	fbno,		/* starting block of free extent */  in xfs_alloc_fixup_trees()  argument
322 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees()
325 if ((error = xfs_alloc_lookup_eq(cnt_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
337 i == 1 && nfbno1 == fbno && nflen1 == flen); in xfs_alloc_fixup_trees()
340 if ((error = xfs_alloc_lookup_eq(bno_cur, fbno, flen, &i))) in xfs_alloc_fixup_trees()
363 if (rbno == fbno && rlen == flen) in xfs_alloc_fixup_trees()
365 else if (rbno == fbno) { in xfs_alloc_fixup_trees()
369 } else if (rbno + rlen == fbno + flen) { in xfs_alloc_fixup_trees()
370 nfbno1 = fbno; in xfs_alloc_fixup_trees()
374 nfbno1 = fbno; in xfs_alloc_fixup_trees()
375 nflen1 = rbno - fbno; in xfs_alloc_fixup_trees()
377 nflen2 = (fbno + flen) - nfbno2; in xfs_alloc_fixup_trees()
568 xfs_agblock_t fbno; /* start block of found extent */ in xfs_alloc_ag_vextent_exact() local
597 error = xfs_alloc_get_rec(bno_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_exact()
601 ASSERT(fbno <= args->agbno); in xfs_alloc_ag_vextent_exact()
606 xfs_alloc_busy_trim(args, fbno, flen, &tbno, &tlen); in xfs_alloc_ag_vextent_exact()
642 error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, args->agbno, in xfs_alloc_ag_vextent_exact()
1163 xfs_agblock_t fbno; /* start of found freespace */ in xfs_alloc_ag_vextent_size() local
1195 &fbno, &flen, &i); in xfs_alloc_ag_vextent_size()
1204 xfs_alloc_compute_aligned(args, fbno, flen, &rbno, &rlen); in xfs_alloc_ag_vextent_size()
1213 error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, &i); in xfs_alloc_ag_vextent_size()
1218 xfs_alloc_compute_aligned(args, fbno, flen, in xfs_alloc_ag_vextent_size()
1256 (rlen <= flen && rbno + rlen <= fbno + flen), error0); in xfs_alloc_ag_vextent_size()
1266 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1272 if ((error = xfs_alloc_get_rec(cnt_cur, &fbno, &flen, in xfs_alloc_ag_vextent_size()
1278 xfs_alloc_compute_aligned(args, fbno, flen, in xfs_alloc_ag_vextent_size()
1282 (rlen <= flen && rbno + rlen <= fbno + flen), in xfs_alloc_ag_vextent_size()
1288 bestfbno = fbno; in xfs_alloc_ag_vextent_size()
1300 fbno = bestfbno; in xfs_alloc_ag_vextent_size()
1327 if ((error = xfs_alloc_fixup_trees(cnt_cur, bno_cur, fbno, flen, in xfs_alloc_ag_vextent_size()
1371 xfs_agblock_t fbno; in xfs_alloc_ag_vextent_small() local
1378 if ((error = xfs_alloc_get_rec(ccur, &fbno, &flen, &i))) in xfs_alloc_ag_vextent_small()
1390 error = xfs_alloc_get_freelist(args->tp, args->agbp, &fbno, 0); in xfs_alloc_ag_vextent_small()
1393 if (fbno != NULLAGBLOCK) { in xfs_alloc_ag_vextent_small()
1394 xfs_alloc_busy_reuse(args->mp, args->agno, fbno, 1, in xfs_alloc_ag_vextent_small()
1401 args->agno, fbno, 0); in xfs_alloc_ag_vextent_small()
1405 args->agbno = fbno; in xfs_alloc_ag_vextent_small()
1425 fbno = NULLAGBLOCK; in xfs_alloc_ag_vextent_small()
1436 *fbnop = fbno; in xfs_alloc_ag_vextent_small()
2632 xfs_agblock_t fbno, in xfs_alloc_busy_update_extent() argument
2636 xfs_agblock_t fend = fbno + flen; in xfs_alloc_busy_update_extent()
2663 if (bbno < fbno && bend > fend) { in xfs_alloc_busy_update_extent()
2682 } else if (bbno >= fbno && bend <= fend) { in xfs_alloc_busy_update_extent()
2740 } else if (bbno < fbno) { in xfs_alloc_busy_update_extent()
2754 busyp->length = fbno - busyp->bno; in xfs_alloc_busy_update_extent()
2759 trace_xfs_alloc_busy_reuse(mp, pag->pag_agno, fbno, flen); in xfs_alloc_busy_update_extent()
2765 trace_xfs_alloc_busy_force(mp, pag->pag_agno, fbno, flen); in xfs_alloc_busy_update_extent()
2778 xfs_agblock_t fbno, in xfs_alloc_busy_reuse() argument
2797 if (fbno + flen <= bbno) { in xfs_alloc_busy_reuse()
2800 } else if (fbno >= bend) { in xfs_alloc_busy_reuse()
2805 if (!xfs_alloc_busy_update_extent(mp, pag, busyp, fbno, flen, in xfs_alloc_busy_reuse()
2827 xfs_agblock_t fbno; in xfs_alloc_busy_trim() local
2835 fbno = bno; in xfs_alloc_busy_trim()
2841 xfs_agblock_t fend = fbno + flen; in xfs_alloc_busy_trim()
2848 } else if (fbno >= bend) { in xfs_alloc_busy_trim()
2860 busyp, fbno, flen, in xfs_alloc_busy_trim()
2866 if (bbno <= fbno) { in xfs_alloc_busy_trim()
2916 fbno = bend; in xfs_alloc_busy_trim()
2972 if (bbno - fbno >= args->maxlen) { in xfs_alloc_busy_trim()
2977 fbno = bend; in xfs_alloc_busy_trim()
2978 } else if (bbno - fbno >= args->minlen) { in xfs_alloc_busy_trim()
2986 flen = fend - fbno; in xfs_alloc_busy_trim()
2990 if (fbno != bno || flen != len) { in xfs_alloc_busy_trim()
2992 fbno, flen); in xfs_alloc_busy_trim()
2994 *rbno = fbno; in xfs_alloc_busy_trim()
3003 trace_xfs_alloc_busy_trim(args->mp, args->agno, bno, len, fbno, 0); in xfs_alloc_busy_trim()
3004 *rbno = fbno; in xfs_alloc_busy_trim()