Lines Matching defs:bh
93 struct buffer_head *bh;
95 if (!(bh = sb_bread(s, *cur_index)))
101 (bh->b_data + *offset));
104 (bh->b_data + *offset));
105 brelse(bh);
106 if (!(bh = sb_bread(s, ++(*cur_index))))
110 bh->b_data);
113 bh->b_data);
119 (bh->b_data + *offset));
121 (bh->b_data + *offset + 1));
124 (bh->b_data + *offset));
126 (bh->b_data + *offset + 1));
134 brelse(bh);
135 if (!(bh = sb_bread(s, ++(*cur_index))))
139 if (*((unsigned char *) (bh->b_data + *offset)) !=
143 brelse(bh);
148 return bh;
160 struct buffer_head *bh[((SQUASHFS_FILE_MAX_SIZE - 1) >>
178 if (!(bh[0] = sb_getblk(s, cur_index)))
182 if (!(bh[b] = sb_getblk(s, ++cur_index)))
186 ll_rw_block(READ, b, bh);
188 if (!(bh[0] = get_block_length(s, &cur_index, &offset,
201 if (!(bh[b] = sb_getblk(s, ++cur_index)))
205 ll_rw_block(READ, b - 1, bh + 1);
215 wait_on_buffer(bh[k]);
216 if (!buffer_uptodate(bh[k]))
218 memcpy(c_buffer + bytes, bh[k]->b_data + offset, avail_bytes);
221 brelse(bh[k]);
256 brelse(bh[b]);