Lines Matching refs:bn
573 unsigned offset, u64 bn) in gfs2_indirect_init() argument
580 mp->mp_bh[i] = gfs2_meta_new(gl, bn); in gfs2_indirect_init()
585 *ptr = cpu_to_be64(bn); in gfs2_indirect_init()
632 u64 bn; in gfs2_iomap_alloc() local
673 ret = gfs2_alloc_blocks(ip, &bn, &n, 0, NULL); in gfs2_iomap_alloc()
678 gfs2_trans_add_unrevoke(sdp, bn, n); in gfs2_iomap_alloc()
689 gfs2_indirect_init(mp, ip->i_gl, i, 0, bn++); in gfs2_iomap_alloc()
718 mp->mp_list[i-1], bn++); in gfs2_iomap_alloc()
730 iomap->addr = bn << inode->i_blkbits; in gfs2_iomap_alloc()
733 *ptr++ = cpu_to_be64(bn++); in gfs2_iomap_alloc()
1467 u64 bn, bstart, isize_blks; in sweep_bh_for_rgrps() local
1486 bn = be64_to_cpu(*p); in sweep_bh_for_rgrps()
1489 if (!rgrp_contains_block(rgd, bn)) { in sweep_bh_for_rgrps()
1494 rgd = gfs2_blk2rgrpd(sdp, bn, true); in sweep_bh_for_rgrps()
1564 if (bstart + blen == bn) { in sweep_bh_for_rgrps()
1573 bstart = bn; in sweep_bh_for_rgrps()