• Home
  • Raw
  • Download

Lines Matching refs:bno

145 	xfs_agblock_t		bno,	/* starting block of extent */  in xfs_alloc_lookup_eq()  argument
149 cur->bc_rec.a.ar_startblock = bno; in xfs_alloc_lookup_eq()
161 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_ge() argument
165 cur->bc_rec.a.ar_startblock = bno; in xfs_alloc_lookup_ge()
177 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_le() argument
181 cur->bc_rec.a.ar_startblock = bno; in xfs_alloc_lookup_le()
194 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_update() argument
199 rec.alloc.ar_startblock = cpu_to_be32(bno); in xfs_alloc_update()
210 xfs_agblock_t *bno, /* output: starting block of extent */ in xfs_alloc_get_rec() argument
223 *bno = be32_to_cpu(rec->alloc.ar_startblock); in xfs_alloc_get_rec()
230 if (!xfs_verify_agbno(mp, agno, *bno)) in xfs_alloc_get_rec()
232 if (*bno > *bno + *len) in xfs_alloc_get_rec()
234 if (!xfs_verify_agbno(mp, agno, *bno + *len - 1)) in xfs_alloc_get_rec()
244 "start block 0x%x block count 0x%x", *bno, *len); in xfs_alloc_get_rec()
261 xfs_agblock_t bno = foundbno; in xfs_alloc_compute_aligned() local
267 busy = xfs_extent_busy_trim(args, &bno, &len, busy_gen); in xfs_alloc_compute_aligned()
273 if (bno < args->min_agbno && bno + len > args->min_agbno) { in xfs_alloc_compute_aligned()
274 diff = args->min_agbno - bno; in xfs_alloc_compute_aligned()
276 bno += diff; in xfs_alloc_compute_aligned()
282 xfs_agblock_t aligned_bno = roundup(bno, args->alignment); in xfs_alloc_compute_aligned()
284 diff = aligned_bno - bno; in xfs_alloc_compute_aligned()
289 *resbno = bno; in xfs_alloc_compute_aligned()
1693 xfs_agblock_t bno, in xfs_free_ag_extent() argument
1717 error = xfs_rmap_free(tp, agbp, agno, bno, len, oinfo); in xfs_free_ag_extent()
1730 if ((error = xfs_alloc_lookup_le(bno_cur, bno, len, &haveleft))) in xfs_free_ag_extent()
1742 if (ltbno + ltlen < bno) in xfs_free_ag_extent()
1751 ltbno + ltlen <= bno, error0); in xfs_free_ag_extent()
1770 if (bno + len < gtbno) in xfs_free_ag_extent()
1778 XFS_WANT_CORRUPTED_GOTO(mp, gtbno >= bno + len, error0); in xfs_free_ag_extent()
1889 nbno = bno; in xfs_free_ag_extent()
1899 nbno = bno; in xfs_free_ag_extent()
1932 trace_xfs_free_extent(mp, agno, bno, len, type, haveleft, haveright); in xfs_free_ag_extent()
1937 trace_xfs_free_extent(mp, agno, bno, len, type, -1, -1); in xfs_free_ag_extent()
2247 xfs_agblock_t bno; /* freelist block */ in xfs_alloc_fix_freelist() local
2336 error = xfs_alloc_get_freelist(tp, agbp, &bno, 0); in xfs_alloc_fix_freelist()
2341 xfs_defer_agfl_block(tp, args->agno, bno, &targs.oinfo); in xfs_alloc_fix_freelist()
2379 for (bno = targs.agbno; bno < targs.agbno + targs.len; bno++) { in xfs_alloc_fix_freelist()
2381 agflbp, bno, 0); in xfs_alloc_fix_freelist()
2413 xfs_agblock_t bno; /* block number returned */ in xfs_alloc_get_freelist() local
2441 bno = be32_to_cpu(agfl_bno[be32_to_cpu(agf->agf_flfirst)]); in xfs_alloc_get_freelist()
2462 *bnop = bno; in xfs_alloc_get_freelist()
2537 xfs_agblock_t bno, /* block being freed */ in xfs_alloc_put_freelist() argument
2579 *blockp = cpu_to_be32(bno); in xfs_alloc_put_freelist()
3047 xfs_fsblock_t bno, in __xfs_free_extent() argument
3055 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, bno); in __xfs_free_extent()
3056 xfs_agblock_t agbno = XFS_FSB_TO_AGBNO(mp, bno); in __xfs_free_extent()
3153 xfs_agblock_t bno, in xfs_alloc_has_record() argument
3161 low.a.ar_startblock = bno; in xfs_alloc_has_record()
3163 high.a.ar_startblock = bno + len - 1; in xfs_alloc_has_record()