Home
last modified time | relevance | path

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

/Linux-v6.1/fs/ntfs/
Daops.c332 struct buffer_head *tbh; in ntfs_read_block() local
336 tbh = arr[i]; in ntfs_read_block()
337 lock_buffer(tbh); in ntfs_read_block()
338 tbh->b_end_io = ntfs_end_buffer_async_read; in ntfs_read_block()
339 set_buffer_async_read(tbh); in ntfs_read_block()
343 tbh = arr[i]; in ntfs_read_block()
344 if (likely(!buffer_uptodate(tbh))) in ntfs_read_block()
345 submit_bh(REQ_OP_READ, tbh); in ntfs_read_block()
347 ntfs_end_buffer_async_read(tbh, 1); in ntfs_read_block()
911 struct buffer_head *bh, *head, *tbh, *rec_start_bh; in ntfs_write_mst_block() local
[all …]
Dcompress.c651 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, 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 …]
Dmft.c578 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, 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 …]
/Linux-v6.1/fs/reiserfs/
Djournal.c975 struct buffer_head *tbh = NULL; in flush_commit_list() local
1053 tbh = journal_find_get_block(s, bn); in flush_commit_list()
1054 if (tbh) { in flush_commit_list()
1055 if (buffer_dirty(tbh)) { in flush_commit_list()
1057 write_dirty_buffer(tbh, 0); in flush_commit_list()
1060 put_bh(tbh) ; in flush_commit_list()
1069 tbh = journal_find_get_block(s, bn); in flush_commit_list()
1072 __wait_on_buffer(tbh); in flush_commit_list()
1079 if (buffer_dirty(tbh)) { in flush_commit_list()
1081 sync_dirty_buffer(tbh); in flush_commit_list()
[all …]