Home
last modified time | relevance | path

Searched refs:tbh (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/fs/ntfs/
Daops.c352 struct buffer_head *tbh; in ntfs_read_block() local
356 tbh = arr[i]; in ntfs_read_block()
357 lock_buffer(tbh); in ntfs_read_block()
358 tbh->b_end_io = ntfs_end_buffer_async_read; in ntfs_read_block()
359 set_buffer_async_read(tbh); in ntfs_read_block()
363 tbh = arr[i]; in ntfs_read_block()
364 if (likely(!buffer_uptodate(tbh))) in ntfs_read_block()
365 submit_bh(READ, tbh); in ntfs_read_block()
367 ntfs_end_buffer_async_read(tbh, 1); in ntfs_read_block()
929 struct buffer_head *bh, *head, *tbh, *rec_start_bh; in ntfs_write_mst_block() local
[all …]
Dcompress.c667 struct buffer_head *tbh = bhs[i]; in ntfs_read_compressed_block() local
669 if (!trylock_buffer(tbh)) in ntfs_read_compressed_block()
671 if (unlikely(buffer_uptodate(tbh))) { in ntfs_read_compressed_block()
672 unlock_buffer(tbh); in ntfs_read_compressed_block()
675 get_bh(tbh); in ntfs_read_compressed_block()
676 tbh->b_end_io = end_buffer_read_sync; in ntfs_read_compressed_block()
677 submit_bh(READ, tbh); in ntfs_read_compressed_block()
682 struct buffer_head *tbh = bhs[i]; in ntfs_read_compressed_block() local
684 if (buffer_uptodate(tbh)) in ntfs_read_compressed_block()
686 wait_on_buffer(tbh); in ntfs_read_compressed_block()
[all …]
Dmft.c587 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()
[all …]
/linux-4.4.14/fs/reiserfs/
Djournal.c980 struct buffer_head *tbh = NULL; in flush_commit_list() local
1058 tbh = journal_find_get_block(s, bn); in flush_commit_list()
1059 if (tbh) { in flush_commit_list()
1060 if (buffer_dirty(tbh)) { in flush_commit_list()
1062 ll_rw_block(WRITE, 1, &tbh); in flush_commit_list()
1065 put_bh(tbh) ; in flush_commit_list()
1073 tbh = journal_find_get_block(s, bn); in flush_commit_list()
1076 __wait_on_buffer(tbh); in flush_commit_list()
1083 if (buffer_dirty(tbh)) { in flush_commit_list()
1085 sync_dirty_buffer(tbh); in flush_commit_list()
[all …]