Lines Matching refs:bn
607 unsigned offset, u64 bn) in gfs2_indirect_init() argument
614 mp->mp_bh[i] = gfs2_meta_new(gl, bn); in gfs2_indirect_init()
619 *ptr = cpu_to_be64(bn); in gfs2_indirect_init()
664 u64 bn; in __gfs2_iomap_alloc() local
705 ret = gfs2_alloc_blocks(ip, &bn, &n, 0); in __gfs2_iomap_alloc()
710 gfs2_trans_remove_revoke(sdp, bn, n); in __gfs2_iomap_alloc()
721 gfs2_indirect_init(mp, ip->i_gl, i, 0, bn++); in __gfs2_iomap_alloc()
750 mp->mp_list[i-1], bn++); in __gfs2_iomap_alloc()
762 iomap->addr = bn << inode->i_blkbits; in __gfs2_iomap_alloc()
765 *ptr++ = cpu_to_be64(bn++); in __gfs2_iomap_alloc()
1459 u64 bn, bstart, isize_blks; in sweep_bh_for_rgrps() local
1478 bn = be64_to_cpu(*p); in sweep_bh_for_rgrps()
1481 if (!rgrp_contains_block(rgd, bn)) { in sweep_bh_for_rgrps()
1486 rgd = gfs2_blk2rgrpd(sdp, bn, true); in sweep_bh_for_rgrps()
1556 if (bstart + blen == bn) { in sweep_bh_for_rgrps()
1565 bstart = bn; in sweep_bh_for_rgrps()