Lines Matching refs:bno
58 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_eq() argument
62 cur->bc_rec.a.ar_startblock = bno; in xfs_alloc_lookup_eq()
74 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_ge() argument
78 cur->bc_rec.a.ar_startblock = bno; in xfs_alloc_lookup_ge()
90 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_lookup_le() argument
94 cur->bc_rec.a.ar_startblock = bno; in xfs_alloc_lookup_le()
107 xfs_agblock_t bno, /* starting block of extent */ in xfs_alloc_update() argument
112 rec.alloc.ar_startblock = cpu_to_be32(bno); in xfs_alloc_update()
123 xfs_agblock_t *bno, /* output: starting block of extent */ in xfs_alloc_get_rec() argument
132 *bno = be32_to_cpu(rec->alloc.ar_startblock); in xfs_alloc_get_rec()
150 xfs_agblock_t bno; in xfs_alloc_compute_aligned() local
154 xfs_extent_busy_trim(args, foundbno, foundlen, &bno, &len); in xfs_alloc_compute_aligned()
157 xfs_agblock_t aligned_bno = roundup(bno, args->alignment); in xfs_alloc_compute_aligned()
158 xfs_extlen_t diff = aligned_bno - bno; in xfs_alloc_compute_aligned()
163 *resbno = bno; in xfs_alloc_compute_aligned()
1550 xfs_agblock_t bno, /* starting block number */ in xfs_free_ag_extent() argument
1579 if ((error = xfs_alloc_lookup_le(bno_cur, bno, len, &haveleft))) in xfs_free_ag_extent()
1591 if (ltbno + ltlen < bno) in xfs_free_ag_extent()
1600 ltbno + ltlen <= bno, error0); in xfs_free_ag_extent()
1619 if (bno + len < gtbno) in xfs_free_ag_extent()
1627 XFS_WANT_CORRUPTED_GOTO(mp, gtbno >= bno + len, error0); in xfs_free_ag_extent()
1738 nbno = bno; in xfs_free_ag_extent()
1748 nbno = bno; in xfs_free_ag_extent()
1782 trace_xfs_free_extent(mp, agno, bno, len, isfl, haveleft, haveright); in xfs_free_ag_extent()
1787 trace_xfs_free_extent(mp, agno, bno, len, isfl, -1, -1); in xfs_free_ag_extent()
1853 xfs_agblock_t bno; /* freelist block */ in xfs_alloc_fix_freelist() local
1955 error = xfs_alloc_get_freelist(tp, agbp, &bno, 0); in xfs_alloc_fix_freelist()
1958 if ((error = xfs_free_ag_extent(tp, agbp, args->agno, bno, 1, 1))) in xfs_alloc_fix_freelist()
1960 bp = xfs_btree_get_bufs(mp, tp, args->agno, bno, 0); in xfs_alloc_fix_freelist()
2004 for (bno = targs.agbno; bno < targs.agbno + targs.len; bno++) { in xfs_alloc_fix_freelist()
2006 agflbp, bno, 0); in xfs_alloc_fix_freelist()
2029 xfs_agblock_t bno; /* block number returned */ in xfs_alloc_get_freelist() local
2057 bno = be32_to_cpu(agfl_bno[be32_to_cpu(agf->agf_flfirst)]); in xfs_alloc_get_freelist()
2077 *bnop = bno; in xfs_alloc_get_freelist()
2146 xfs_agblock_t bno, /* block being freed */ in xfs_alloc_put_freelist() argument
2187 *blockp = cpu_to_be32(bno); in xfs_alloc_put_freelist()
2596 xfs_fsblock_t bno, /* starting block number of extent */ in xfs_free_extent() argument
2611 args.agno = XFS_FSB_TO_AGNO(args.mp, bno); in xfs_free_extent()
2615 args.agbno = XFS_FSB_TO_AGBNO(args.mp, bno); in xfs_free_extent()