Lines Matching refs:bn
610 unsigned offset, u64 bn) in gfs2_indirect_init() argument
617 mp->mp_bh[i] = gfs2_meta_new(gl, bn); in gfs2_indirect_init()
622 *ptr = cpu_to_be64(bn); in gfs2_indirect_init()
667 u64 bn; in __gfs2_iomap_alloc() local
708 ret = gfs2_alloc_blocks(ip, &bn, &n, 0, NULL); in __gfs2_iomap_alloc()
713 gfs2_trans_remove_revoke(sdp, bn, n); in __gfs2_iomap_alloc()
724 gfs2_indirect_init(mp, ip->i_gl, i, 0, bn++); in __gfs2_iomap_alloc()
753 mp->mp_list[i-1], bn++); in __gfs2_iomap_alloc()
765 iomap->addr = bn << inode->i_blkbits; in __gfs2_iomap_alloc()
768 *ptr++ = cpu_to_be64(bn++); in __gfs2_iomap_alloc()
1448 u64 bn, bstart, isize_blks; in sweep_bh_for_rgrps() local
1467 bn = be64_to_cpu(*p); in sweep_bh_for_rgrps()
1470 if (!rgrp_contains_block(rgd, bn)) { in sweep_bh_for_rgrps()
1475 rgd = gfs2_blk2rgrpd(sdp, bn, true); in sweep_bh_for_rgrps()
1545 if (bstart + blen == bn) { in sweep_bh_for_rgrps()
1554 bstart = bn; in sweep_bh_for_rgrps()