Lines Matching refs:tbh
587 struct buffer_head *tbh = bhs[i_bhs]; in ntfs_sync_mft_mirror() local
589 if (!trylock_buffer(tbh)) in ntfs_sync_mft_mirror()
591 BUG_ON(!buffer_uptodate(tbh)); in ntfs_sync_mft_mirror()
592 clear_buffer_dirty(tbh); in ntfs_sync_mft_mirror()
593 get_bh(tbh); in ntfs_sync_mft_mirror()
594 tbh->b_end_io = end_buffer_write_sync; in ntfs_sync_mft_mirror()
595 submit_bh(WRITE, tbh); in ntfs_sync_mft_mirror()
599 struct buffer_head *tbh = bhs[i_bhs]; in ntfs_sync_mft_mirror() local
601 wait_on_buffer(tbh); in ntfs_sync_mft_mirror()
602 if (unlikely(!buffer_uptodate(tbh))) { in ntfs_sync_mft_mirror()
608 set_buffer_uptodate(tbh); in ntfs_sync_mft_mirror()
780 struct buffer_head *tbh = bhs[i_bhs]; in write_mft_record_nolock() local
782 if (!trylock_buffer(tbh)) in write_mft_record_nolock()
784 BUG_ON(!buffer_uptodate(tbh)); in write_mft_record_nolock()
785 clear_buffer_dirty(tbh); in write_mft_record_nolock()
786 get_bh(tbh); in write_mft_record_nolock()
787 tbh->b_end_io = end_buffer_write_sync; in write_mft_record_nolock()
788 submit_bh(WRITE, tbh); in write_mft_record_nolock()
795 struct buffer_head *tbh = bhs[i_bhs]; in write_mft_record_nolock() local
797 wait_on_buffer(tbh); in write_mft_record_nolock()
798 if (unlikely(!buffer_uptodate(tbh))) { in write_mft_record_nolock()
805 set_buffer_uptodate(tbh); in write_mft_record_nolock()