Lines Matching refs:tbh
592 struct buffer_head *tbh = bhs[i_bhs]; in ntfs_sync_mft_mirror() local
594 if (!trylock_buffer(tbh)) in ntfs_sync_mft_mirror()
596 BUG_ON(!buffer_uptodate(tbh)); in ntfs_sync_mft_mirror()
597 clear_buffer_dirty(tbh); in ntfs_sync_mft_mirror()
598 get_bh(tbh); in ntfs_sync_mft_mirror()
599 tbh->b_end_io = end_buffer_write_sync; in ntfs_sync_mft_mirror()
600 submit_bh(REQ_OP_WRITE, 0, tbh); in ntfs_sync_mft_mirror()
604 struct buffer_head *tbh = bhs[i_bhs]; in ntfs_sync_mft_mirror() local
606 wait_on_buffer(tbh); in ntfs_sync_mft_mirror()
607 if (unlikely(!buffer_uptodate(tbh))) { in ntfs_sync_mft_mirror()
613 set_buffer_uptodate(tbh); in ntfs_sync_mft_mirror()
789 struct buffer_head *tbh = bhs[i_bhs]; in write_mft_record_nolock() local
791 if (!trylock_buffer(tbh)) in write_mft_record_nolock()
793 BUG_ON(!buffer_uptodate(tbh)); in write_mft_record_nolock()
794 clear_buffer_dirty(tbh); in write_mft_record_nolock()
795 get_bh(tbh); in write_mft_record_nolock()
796 tbh->b_end_io = end_buffer_write_sync; in write_mft_record_nolock()
797 submit_bh(REQ_OP_WRITE, 0, tbh); in write_mft_record_nolock()
804 struct buffer_head *tbh = bhs[i_bhs]; in write_mft_record_nolock() local
806 wait_on_buffer(tbh); in write_mft_record_nolock()
807 if (unlikely(!buffer_uptodate(tbh))) { in write_mft_record_nolock()
814 set_buffer_uptodate(tbh); in write_mft_record_nolock()