Lines Matching defs:tbh
332 struct buffer_head *tbh;
336 tbh = arr[i];
337 lock_buffer(tbh);
338 tbh->b_end_io = ntfs_end_buffer_async_read;
339 set_buffer_async_read(tbh);
343 tbh = arr[i];
344 if (likely(!buffer_uptodate(tbh)))
345 submit_bh(REQ_OP_READ, tbh);
347 ntfs_end_buffer_async_read(tbh, 1);
911 struct buffer_head *bh, *head, *tbh, *rec_start_bh;
1114 tbh = bhs[i];
1115 ofs = bh_offset(tbh);
1179 tbh = bhs[i];
1180 if (!tbh)
1182 if (!trylock_buffer(tbh))
1185 clear_buffer_dirty(tbh);
1186 BUG_ON(!buffer_uptodate(tbh));
1187 BUG_ON(!buffer_mapped(tbh));
1188 get_bh(tbh);
1189 tbh->b_end_io = end_buffer_write_sync;
1190 submit_bh(REQ_OP_WRITE, tbh);
1198 tbh = bhs[i];
1199 if (!tbh)
1201 wait_on_buffer(tbh);
1202 if (unlikely(!buffer_uptodate(tbh))) {
1208 page->index, bh_offset(tbh));
1215 set_buffer_uptodate(tbh);
1231 tbh = bhs[i];
1233 if (!tbh)
1235 ofs = bh_offset(tbh);
1250 tbh = bhs[i];
1251 if (!tbh)
1254 bh_offset(tbh)));