Lines Matching defs:tbh
348 struct buffer_head *tbh;
352 tbh = arr[i];
353 lock_buffer(tbh);
354 tbh->b_end_io = ntfs_end_buffer_async_read;
355 set_buffer_async_read(tbh);
359 tbh = arr[i];
360 if (likely(!buffer_uptodate(tbh)))
361 submit_bh(READ, tbh);
363 ntfs_end_buffer_async_read(tbh, 1);
897 struct buffer_head *bh, *head, *tbh, *rec_start_bh;
1097 tbh = bhs[i];
1098 ofs = bh_offset(tbh);
1162 tbh = bhs[i];
1163 if (!tbh)
1165 if (unlikely(test_set_buffer_locked(tbh)))
1168 clear_buffer_dirty(tbh);
1169 BUG_ON(!buffer_uptodate(tbh));
1170 BUG_ON(!buffer_mapped(tbh));
1171 get_bh(tbh);
1172 tbh->b_end_io = end_buffer_write_sync;
1173 submit_bh(WRITE, tbh);
1181 tbh = bhs[i];
1182 if (!tbh)
1184 wait_on_buffer(tbh);
1185 if (unlikely(!buffer_uptodate(tbh))) {
1191 page->index, bh_offset(tbh));
1198 set_buffer_uptodate(tbh);
1214 tbh = bhs[i];
1216 if (!tbh)
1218 ofs = bh_offset(tbh);
1233 tbh = bhs[i];
1234 if (!tbh)
1237 bh_offset(tbh)));