Lines Matching refs:bn
611 unsigned offset, u64 bn) in gfs2_indirect_init() argument
618 mp->mp_bh[i] = gfs2_meta_new(gl, bn); in gfs2_indirect_init()
623 *ptr = cpu_to_be64(bn); in gfs2_indirect_init()
669 u64 bn; in __gfs2_iomap_alloc() local
710 ret = gfs2_alloc_blocks(ip, &bn, &n, 0, NULL); in __gfs2_iomap_alloc()
715 gfs2_trans_remove_revoke(sdp, bn, n); in __gfs2_iomap_alloc()
726 gfs2_indirect_init(mp, ip->i_gl, i, 0, bn++); in __gfs2_iomap_alloc()
755 mp->mp_list[i-1], bn++); in __gfs2_iomap_alloc()
767 iomap->addr = bn << inode->i_blkbits; in __gfs2_iomap_alloc()
770 *ptr++ = cpu_to_be64(bn++); in __gfs2_iomap_alloc()
1451 u64 bn, bstart, isize_blks; in sweep_bh_for_rgrps() local
1470 bn = be64_to_cpu(*p); in sweep_bh_for_rgrps()
1473 if (!rgrp_contains_block(rgd, bn)) { in sweep_bh_for_rgrps()
1478 rgd = gfs2_blk2rgrpd(sdp, bn, true); in sweep_bh_for_rgrps()
1548 if (bstart + blen == bn) { in sweep_bh_for_rgrps()
1557 bstart = bn; in sweep_bh_for_rgrps()