Lines Matching refs:bd2
623 struct gfs2_bufdata *bd1 = NULL, *bd2; in gfs2_before_commit() local
631 bd1 = bd2 = list_prepare_entry(bd1, blist, bd_list); in gfs2_before_commit()
660 list_for_each_entry_continue(bd2, blist, bd_list) { in gfs2_before_commit()
661 get_bh(bd2->bd_bh); in gfs2_before_commit()
663 lock_buffer(bd2->bd_bh); in gfs2_before_commit()
665 if (buffer_escaped(bd2->bd_bh)) { in gfs2_before_commit()
669 kaddr = kmap_atomic(bd2->bd_bh->b_page); in gfs2_before_commit()
670 memcpy(ptr, kaddr + bh_offset(bd2->bd_bh), in gfs2_before_commit()
671 bd2->bd_bh->b_size); in gfs2_before_commit()
674 clear_buffer_escaped(bd2->bd_bh); in gfs2_before_commit()
675 unlock_buffer(bd2->bd_bh); in gfs2_before_commit()
676 brelse(bd2->bd_bh); in gfs2_before_commit()
679 gfs2_log_write_bh(sdp, bd2->bd_bh); in gfs2_before_commit()