Home
last modified time | relevance | path

Searched refs:sc_bytes_per_sector (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/geom/eli/
H A Dg_eli_integrity.c154 nsec = (nsec * sc->sc_bytes_per_sector) / encr_secsize; in g_eli_auth_read_done()
191 nsec = (nsec * sc->sc_bytes_per_sector) / encr_secsize; in g_eli_auth_read_done()
193 lsec = sc->sc_bytes_per_sector / encr_secsize; in g_eli_auth_read_done()
220 nsec = (nsec * sc->sc_bytes_per_sector) / encr_secsize; in g_eli_auth_read_done()
222 lsec = sc->sc_bytes_per_sector / encr_secsize; in g_eli_auth_read_done()
339 nsec = (nsec * sc->sc_bytes_per_sector) / cp->provider->sectorsize; 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()
392 nsec = (nsec * sc->sc_bytes_per_sector) / cp->provider->sectorsize; 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()
472 nsec = (nsec * sc->sc_bytes_per_sector) / encr_secsize; in g_eli_auth_run()
[all …]
H A Dg_eli.h210 u_int sc_bytes_per_sector; member
632 mediasize /= sc->sc_bytes_per_sector; in eli_mediasize()
676 sc->sc_bytes_per_sector = in eli_metadata_softc()
678 sc->sc_bytes_per_sector *= sectorsize; in eli_metadata_softc()