Home | History | Annotate | Download | only in ata

Lines Matching defs:bn

291     u_int comp, daddr_t bn, void *addr, long bcount)
305 cbp->cb_buf.b_blkno = bn + sc->sc_aai->aai_offset;
344 daddr_t bn;
354 bn = bp->b_rawblkno;
355 while (bn >= adi->adi_compsize) {
356 bn -= adi->adi_compsize;
364 if ((adi->adi_compsize - bn) < btodb(rcount))
365 rcount = dbtob(adi->adi_compsize - bn);
367 cbp = ld_ataraid_make_cbuf(sc, bp, comp, bn, addr, rcount);
382 bn = 0;
402 daddr_t bn, cbn, tbn, off;
411 bn = bp->b_rawblkno;
416 tbn = bn / aai->aai_interleave;
417 off = bn % aai->aai_interleave;
481 bn += btodb(rcount);