Lines Matching refs:bhs
90 unsigned int nr, struct buffer_head *bhs[]) in ocfs2_read_blocks_sync() argument
105 new_bh = (bhs[0] == NULL); in ocfs2_read_blocks_sync()
108 if (bhs[i] == NULL) { in ocfs2_read_blocks_sync()
109 bhs[i] = sb_getblk(osb->sb, block++); in ocfs2_read_blocks_sync()
110 if (bhs[i] == NULL) { in ocfs2_read_blocks_sync()
116 bh = bhs[i]; in ocfs2_read_blocks_sync()
155 bh = bhs[i - 1]; in ocfs2_read_blocks_sync()
166 bhs[i - 1] = NULL; in ocfs2_read_blocks_sync()
194 struct buffer_head *bhs[], int flags, in ocfs2_read_blocks() argument
210 if (bhs == NULL) { in ocfs2_read_blocks()
231 new_bh = (bhs[0] == NULL); in ocfs2_read_blocks()
235 if (bhs[i] == NULL) { in ocfs2_read_blocks()
236 bhs[i] = sb_getblk(sb, block++); in ocfs2_read_blocks()
237 if (bhs[i] == NULL) { in ocfs2_read_blocks()
244 bh = bhs[i]; in ocfs2_read_blocks()
337 bh = bhs[i]; in ocfs2_read_blocks()
352 bhs[i] = NULL; in ocfs2_read_blocks()