Lines Matching refs:bh
184 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in mext_page_mkuptodate() local
199 for (bh = head, block_start = 0; bh != head || !block_start; in mext_page_mkuptodate()
200 block++, block_start = block_end, bh = bh->b_this_page) { in mext_page_mkuptodate()
203 if (!buffer_uptodate(bh)) in mext_page_mkuptodate()
207 if (buffer_uptodate(bh)) in mext_page_mkuptodate()
209 if (!buffer_mapped(bh)) { in mext_page_mkuptodate()
210 err = ext4_get_block(inode, block, bh, 0); in mext_page_mkuptodate()
215 if (!buffer_mapped(bh)) { in mext_page_mkuptodate()
217 set_buffer_uptodate(bh); in mext_page_mkuptodate()
222 arr[nr++] = bh; in mext_page_mkuptodate()
229 bh = arr[i]; in mext_page_mkuptodate()
230 if (!bh_uptodate_or_lock(bh)) { in mext_page_mkuptodate()
231 err = bh_submit_read(bh); in mext_page_mkuptodate()
276 struct buffer_head *bh = NULL; in move_extent_per_page() local
389 bh = page_buffers(pagep[0]); in move_extent_per_page()
391 bh = bh->b_this_page; in move_extent_per_page()
393 *err = ext4_get_block(orig_inode, orig_blk_offset + i, bh, 0); in move_extent_per_page()
396 bh = bh->b_this_page; in move_extent_per_page()