Lines Matching refs:bh
181 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; in mext_page_mkuptodate() local
196 for (bh = head, block_start = 0; bh != head || !block_start; in mext_page_mkuptodate()
197 block++, block_start = block_end, bh = bh->b_this_page) { in mext_page_mkuptodate()
200 if (!buffer_uptodate(bh)) in mext_page_mkuptodate()
204 if (buffer_uptodate(bh)) in mext_page_mkuptodate()
206 if (!buffer_mapped(bh)) { in mext_page_mkuptodate()
207 err = ext4_get_block(inode, block, bh, 0); in mext_page_mkuptodate()
212 if (!buffer_mapped(bh)) { in mext_page_mkuptodate()
214 set_buffer_uptodate(bh); in mext_page_mkuptodate()
219 arr[nr++] = bh; in mext_page_mkuptodate()
226 bh = arr[i]; in mext_page_mkuptodate()
227 if (!bh_uptodate_or_lock(bh)) { in mext_page_mkuptodate()
228 err = bh_submit_read(bh); in mext_page_mkuptodate()
273 struct buffer_head *bh = NULL; in move_extent_per_page() local
386 bh = page_buffers(pagep[0]); in move_extent_per_page()
388 bh = bh->b_this_page; in move_extent_per_page()
390 *err = ext4_get_block(orig_inode, orig_blk_offset + i, bh, 0); in move_extent_per_page()
393 bh = bh->b_this_page; in move_extent_per_page()