Lines Matching refs:sectorsize
147 decr_secsize = bp->bio_to->sectorsize; in g_eli_auth_read_done()
150 LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_read_done()
183 decr_secsize = bp->bio_to->sectorsize; in g_eli_auth_read_done()
185 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_read_done()
212 decr_secsize = bp->bio_to->sectorsize; in g_eli_auth_read_done()
214 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_read_done()
337 nsec = bp->bio_length / bp->bio_to->sectorsize; in g_eli_auth_write_done()
339 nsec = (nsec * sc->sc_bytes_per_sector) / cp->provider->sectorsize; in g_eli_auth_write_done()
341 cbp->bio_length = cp->provider->sectorsize * nsec; in g_eli_auth_write_done()
342 cbp->bio_offset = (bp->bio_offset / bp->bio_to->sectorsize) * sc->sc_bytes_per_sector; in g_eli_auth_write_done()
390 nsec = bp->bio_length / bp->bio_to->sectorsize; in g_eli_auth_read()
392 nsec = (nsec * sc->sc_bytes_per_sector) / cp->provider->sectorsize; in g_eli_auth_read()
394 cbp->bio_length = cp->provider->sectorsize * nsec; in g_eli_auth_read()
398 cbp->bio_offset = (bp->bio_offset / bp->bio_to->sectorsize) * sc->sc_bytes_per_sector; in g_eli_auth_read()
464 decr_secsize = bp->bio_to->sectorsize; in g_eli_auth_run()
466 encr_secsize = LIST_FIRST(&sc->sc_geom->consumer)->provider->sectorsize; in g_eli_auth_run()
476 dstoff = (bp->bio_offset / bp->bio_to->sectorsize) * sc->sc_bytes_per_sector; in g_eli_auth_run()