Lines Matching refs:tbh
581 struct buffer_head *tbh = bhs[i_bhs];
583 if (unlikely(test_set_buffer_locked(tbh)))
585 BUG_ON(!buffer_uptodate(tbh));
586 clear_buffer_dirty(tbh);
587 get_bh(tbh);
588 tbh->b_end_io = end_buffer_write_sync;
589 submit_bh(WRITE, tbh);
593 struct buffer_head *tbh = bhs[i_bhs];
595 wait_on_buffer(tbh);
596 if (unlikely(!buffer_uptodate(tbh))) {
602 set_buffer_uptodate(tbh);
774 struct buffer_head *tbh = bhs[i_bhs];
776 if (unlikely(test_set_buffer_locked(tbh)))
778 BUG_ON(!buffer_uptodate(tbh));
779 clear_buffer_dirty(tbh);
780 get_bh(tbh);
781 tbh->b_end_io = end_buffer_write_sync;
782 submit_bh(WRITE, tbh);
789 struct buffer_head *tbh = bhs[i_bhs];
791 wait_on_buffer(tbh);
792 if (unlikely(!buffer_uptodate(tbh))) {
799 set_buffer_uptodate(tbh);