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, 0, tbh);
347 ntfs_end_buffer_async_read(tbh, 1);
909 struct buffer_head *bh, *head, *tbh, *rec_start_bh;
1112 tbh = bhs[i];
1113 ofs = bh_offset(tbh);
1177 tbh = bhs[i];
1178 if (!tbh)
1180 if (!trylock_buffer(tbh))
1183 clear_buffer_dirty(tbh);
1184 BUG_ON(!buffer_uptodate(tbh));
1185 BUG_ON(!buffer_mapped(tbh));
1186 get_bh(tbh);
1187 tbh->b_end_io = end_buffer_write_sync;
1188 submit_bh(REQ_OP_WRITE, 0, tbh);
1196 tbh = bhs[i];
1197 if (!tbh)
1199 wait_on_buffer(tbh);
1200 if (unlikely(!buffer_uptodate(tbh))) {
1206 page->index, bh_offset(tbh));
1213 set_buffer_uptodate(tbh);
1229 tbh = bhs[i];
1231 if (!tbh)
1233 ofs = bh_offset(tbh);
1248 tbh = bhs[i];
1249 if (!tbh)
1252 bh_offset(tbh)));