Lines Matching defs:tbh
578 struct buffer_head *tbh = bhs[i_bhs];
580 if (!trylock_buffer(tbh))
582 BUG_ON(!buffer_uptodate(tbh));
583 clear_buffer_dirty(tbh);
584 get_bh(tbh);
585 tbh->b_end_io = end_buffer_write_sync;
586 submit_bh(REQ_OP_WRITE, 0, tbh);
590 struct buffer_head *tbh = bhs[i_bhs];
592 wait_on_buffer(tbh);
593 if (unlikely(!buffer_uptodate(tbh))) {
599 set_buffer_uptodate(tbh);
775 struct buffer_head *tbh = bhs[i_bhs];
777 if (!trylock_buffer(tbh))
779 BUG_ON(!buffer_uptodate(tbh));
780 clear_buffer_dirty(tbh);
781 get_bh(tbh);
782 tbh->b_end_io = end_buffer_write_sync;
783 submit_bh(REQ_OP_WRITE, 0, tbh);
790 struct buffer_head *tbh = bhs[i_bhs];
792 wait_on_buffer(tbh);
793 if (unlikely(!buffer_uptodate(tbh))) {
800 set_buffer_uptodate(tbh);