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