Lines Matching refs:bhs
938 bool wait, struct buffer_head **bhs) in ext4_bread_batch() argument
943 bhs[i] = ext4_getblk(NULL, inode, block + i, 0 /* map_flags */); in ext4_bread_batch()
944 if (IS_ERR(bhs[i])) { in ext4_bread_batch()
945 err = PTR_ERR(bhs[i]); in ext4_bread_batch()
953 if (bhs[i] && !ext4_buffer_uptodate(bhs[i])) in ext4_bread_batch()
954 ext4_read_bh_lock(bhs[i], REQ_META | REQ_PRIO, false); in ext4_bread_batch()
960 if (bhs[i]) in ext4_bread_batch()
961 wait_on_buffer(bhs[i]); in ext4_bread_batch()
964 if (bhs[i] && !buffer_uptodate(bhs[i])) { in ext4_bread_batch()
973 brelse(bhs[i]); in ext4_bread_batch()
974 bhs[i] = NULL; in ext4_bread_batch()