Lines Matching refs:bd_bh
76 unsigned int index = bd->bd_bh->b_blocknr - gl->gl_name.ln_number; in maybe_release_space()
83 gfs2_rgrp_send_discards(sdp, rgd->rd_data0, bd->bd_bh, bi, 1, NULL); in maybe_release_space()
85 bd->bd_bh->b_data + bi->bi_offset, bi->bi_bytes); in maybe_release_space()
644 if (bda->bd_bh->b_blocknr < bdb->bd_bh->b_blocknr) in blocknr_cmp()
646 if (bda->bd_bh->b_blocknr > bdb->bd_bh->b_blocknr) in blocknr_cmp()
679 *ptr++ = cpu_to_be64(bd1->bd_bh->b_blocknr); in gfs2_before_commit()
681 gfs2_check_magic(bd1->bd_bh); in gfs2_before_commit()
682 *ptr++ = cpu_to_be64(buffer_escaped(bd1->bd_bh) ? 1 : 0); in gfs2_before_commit()
694 get_bh(bd2->bd_bh); in gfs2_before_commit()
696 lock_buffer(bd2->bd_bh); in gfs2_before_commit()
698 if (buffer_escaped(bd2->bd_bh)) { in gfs2_before_commit()
703 memcpy_from_page(p, page, bh_offset(bd2->bd_bh), bd2->bd_bh->b_size); in gfs2_before_commit()
705 clear_buffer_escaped(bd2->bd_bh); in gfs2_before_commit()
706 unlock_buffer(bd2->bd_bh); in gfs2_before_commit()
707 brelse(bd2->bd_bh); in gfs2_before_commit()
710 gfs2_log_write_bh(sdp, bd2->bd_bh); in gfs2_before_commit()
745 gfs2_unpin(sdp, bd->bd_bh, tr); in buf_lo_after_commit()
1091 gfs2_unpin(sdp, bd->bd_bh, tr); in databuf_lo_after_commit()