Lines Matching refs:bhs
92 unsigned int nr, struct buffer_head *bhs[]) in ocfs2_read_blocks_sync() argument
107 new_bh = (bhs[0] == NULL); in ocfs2_read_blocks_sync()
110 if (bhs[i] == NULL) { in ocfs2_read_blocks_sync()
111 bhs[i] = sb_getblk(osb->sb, block++); in ocfs2_read_blocks_sync()
112 if (bhs[i] == NULL) { in ocfs2_read_blocks_sync()
118 bh = bhs[i]; in ocfs2_read_blocks_sync()
157 bh = bhs[i - 1]; in ocfs2_read_blocks_sync()
168 bhs[i - 1] = NULL; in ocfs2_read_blocks_sync()
196 struct buffer_head *bhs[], int flags, in ocfs2_read_blocks() argument
212 if (bhs == NULL) { in ocfs2_read_blocks()
233 new_bh = (bhs[0] == NULL); in ocfs2_read_blocks()
237 if (bhs[i] == NULL) { in ocfs2_read_blocks()
238 bhs[i] = sb_getblk(sb, block++); in ocfs2_read_blocks()
239 if (bhs[i] == NULL) { in ocfs2_read_blocks()
247 bh = bhs[i]; in ocfs2_read_blocks()
340 bh = bhs[i]; in ocfs2_read_blocks()
355 bhs[i] = NULL; in ocfs2_read_blocks()