Home
last modified time | relevance | path

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

/linux-3.4.99/fs/ntfs/
Daops.c353 struct buffer_head *tbh; in ntfs_read_block() local
357 tbh = arr[i]; in ntfs_read_block()
358 lock_buffer(tbh); in ntfs_read_block()
359 tbh->b_end_io = ntfs_end_buffer_async_read; in ntfs_read_block()
360 set_buffer_async_read(tbh); in ntfs_read_block()
364 tbh = arr[i]; in ntfs_read_block()
365 if (likely(!buffer_uptodate(tbh))) in ntfs_read_block()
366 submit_bh(READ, tbh); in ntfs_read_block()
368 ntfs_end_buffer_async_read(tbh, 1); in ntfs_read_block()
930 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-3.4.99/drivers/tty/
Dtty_buffer.c171 struct tty_buffer **tbh = &tty->buf.free; in tty_buffer_find() local
172 while ((*tbh) != NULL) { in tty_buffer_find()
173 struct tty_buffer *t = *tbh; in tty_buffer_find()
175 *tbh = t->next; in tty_buffer_find()
183 tbh = &((*tbh)->next); in tty_buffer_find()
/linux-3.4.99/fs/reiserfs/
Djournal.c970 struct buffer_head *tbh = NULL; in flush_commit_list() local
1043 tbh = journal_find_get_block(s, bn); in flush_commit_list()
1044 if (tbh) { in flush_commit_list()
1045 if (buffer_dirty(tbh)) { in flush_commit_list()
1047 ll_rw_block(WRITE, 1, &tbh); in flush_commit_list()
1050 put_bh(tbh) ; in flush_commit_list()
1058 tbh = journal_find_get_block(s, bn); in flush_commit_list()
1061 wait_on_buffer(tbh); in flush_commit_list()
1067 if (buffer_dirty(tbh)) { in flush_commit_list()
1069 sync_dirty_buffer(tbh); in flush_commit_list()
[all …]
/linux-3.4.99/fs/ext4/
Dmballoc.c4518 struct buffer_head *tbh = bh; in ext4_free_blocks() local
4525 tbh = sb_find_get_block(inode->i_sb, in ext4_free_blocks()
4527 if (unlikely(!tbh)) in ext4_free_blocks()
4530 inode, tbh, block + i); in ext4_free_blocks()