Lines Matching refs:tbh
353 struct buffer_head *tbh;
357 tbh = arr[i];
358 lock_buffer(tbh);
359 tbh->b_end_io = ntfs_end_buffer_async_read;
360 set_buffer_async_read(tbh);
364 tbh = arr[i];
365 if (likely(!buffer_uptodate(tbh)))
366 submit_bh(READ, tbh);
368 ntfs_end_buffer_async_read(tbh, 1);
909 struct buffer_head *bh, *head, *tbh, *rec_start_bh;
1109 tbh = bhs[i];
1110 ofs = bh_offset(tbh);
1174 tbh = bhs[i];
1175 if (!tbh)
1177 if (!trylock_buffer(tbh))
1180 clear_buffer_dirty(tbh);
1181 BUG_ON(!buffer_uptodate(tbh));
1182 BUG_ON(!buffer_mapped(tbh));
1183 get_bh(tbh);
1184 tbh->b_end_io = end_buffer_write_sync;
1185 submit_bh(WRITE, tbh);
1193 tbh = bhs[i];
1194 if (!tbh)
1196 wait_on_buffer(tbh);
1197 if (unlikely(!buffer_uptodate(tbh))) {
1203 page->index, bh_offset(tbh));
1210 set_buffer_uptodate(tbh);
1226 tbh = bhs[i];
1228 if (!tbh)
1230 ofs = bh_offset(tbh);
1245 tbh = bhs[i];
1246 if (!tbh)
1249 bh_offset(tbh)));