Lines Matching refs:bn
609 unsigned offset, u64 bn) in gfs2_indirect_init() argument
616 mp->mp_bh[i] = gfs2_meta_new(gl, bn); in gfs2_indirect_init()
621 *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()
1501 u64 bn, bstart, isize_blks; in sweep_bh_for_rgrps() local
1520 bn = be64_to_cpu(*p); in sweep_bh_for_rgrps()
1523 if (!rgrp_contains_block(rgd, bn)) { in sweep_bh_for_rgrps()
1528 rgd = gfs2_blk2rgrpd(sdp, bn, true); in sweep_bh_for_rgrps()
1598 if (bstart + blen == bn) { in sweep_bh_for_rgrps()
1607 bstart = bn; in sweep_bh_for_rgrps()