Lines Matching refs:bio_offset
187 if (bp->bio_offset > sc->sc_size) {
195 while (resid > 0 && bp->bio_offset < sc->sc_size) {
196 *dp++ = cfi_read_raw(sc, bp->bio_offset);
197 bp->bio_offset += 1, resid -= 1;
201 while (resid > 0 && bp->bio_offset < sc->sc_size) {
202 *dp++ = cfi_read_raw(sc, bp->bio_offset);
203 bp->bio_offset += 2, resid -= 2;
207 while (resid > 0 && bp->bio_offset < sc->sc_size) {
208 *dp++ = cfi_read_raw(sc, bp->bio_offset);
209 bp->bio_offset += 4, resid -= 4;
226 if (bp->bio_offset > sc->sc_size) {
239 if (bp->bio_offset < sc->sc_wrofs ||
240 bp->bio_offset >= top)
246 bp->bio_error = cfi_block_start(sc, bp->bio_offset);
255 sc->sc_wrbuf + bp->bio_offset - sc->sc_wrofs,
256 MIN(top - bp->bio_offset, resid));
257 resid -= MIN(top - bp->bio_offset, resid);