Searched refs:tbh (Results 1 – 4 of 4) sorted by relevance
/fs/ntfs/ |
D | aops.c | 335 struct buffer_head *tbh; in ntfs_read_block() local 339 tbh = arr[i]; in ntfs_read_block() 340 lock_buffer(tbh); in ntfs_read_block() 341 tbh->b_end_io = ntfs_end_buffer_async_read; in ntfs_read_block() 342 set_buffer_async_read(tbh); in ntfs_read_block() 346 tbh = arr[i]; in ntfs_read_block() 347 if (likely(!buffer_uptodate(tbh))) in ntfs_read_block() 348 submit_bh(REQ_OP_READ, 0, tbh); in ntfs_read_block() 350 ntfs_end_buffer_async_read(tbh, 1); in ntfs_read_block() 912 struct buffer_head *bh, *head, *tbh, *rec_start_bh; in ntfs_write_mst_block() local [all …]
|
D | compress.c | 651 struct buffer_head *tbh = bhs[i]; in ntfs_read_compressed_block() local 653 if (!trylock_buffer(tbh)) in ntfs_read_compressed_block() 655 if (unlikely(buffer_uptodate(tbh))) { in ntfs_read_compressed_block() 656 unlock_buffer(tbh); in ntfs_read_compressed_block() 659 get_bh(tbh); in ntfs_read_compressed_block() 660 tbh->b_end_io = end_buffer_read_sync; in ntfs_read_compressed_block() 661 submit_bh(REQ_OP_READ, 0, tbh); in ntfs_read_compressed_block() 666 struct buffer_head *tbh = bhs[i]; in ntfs_read_compressed_block() local 668 if (buffer_uptodate(tbh)) in ntfs_read_compressed_block() 670 wait_on_buffer(tbh); in ntfs_read_compressed_block() [all …]
|
D | mft.c | 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() [all …]
|
/fs/reiserfs/ |
D | journal.c | 977 struct buffer_head *tbh = NULL; in flush_commit_list() local 1055 tbh = journal_find_get_block(s, bn); in flush_commit_list() 1056 if (tbh) { in flush_commit_list() 1057 if (buffer_dirty(tbh)) { in flush_commit_list() 1059 ll_rw_block(REQ_OP_WRITE, 0, 1, &tbh); in flush_commit_list() 1062 put_bh(tbh) ; in flush_commit_list() 1070 tbh = journal_find_get_block(s, bn); in flush_commit_list() 1073 __wait_on_buffer(tbh); in flush_commit_list() 1080 if (buffer_dirty(tbh)) { in flush_commit_list() 1082 sync_dirty_buffer(tbh); in flush_commit_list() [all …]
|