Searched refs:sc_wrbufsz (Results 1 – 4 of 4) sorted by relevance
107 sc->sc_wrbufsz = sc->sc_region[r].r_blksz; in cfi_block_start()108 sc->sc_wrbuf = malloc(sc->sc_wrbufsz, M_TEMP, M_WAITOK); in cfi_block_start()109 sc->sc_wrofs = ofs - (ofs - rofs) % sc->sc_wrbufsz; in cfi_block_start()113 for (r = 0; r < sc->sc_wrbufsz; r += sc->sc_width) { in cfi_block_start()127 sc->sc_wrbufcpy = malloc(sc->sc_wrbufsz, M_TEMP, M_WAITOK); in cfi_block_start()128 memcpy(sc->sc_wrbufcpy, sc->sc_wrbuf, sc->sc_wrbufsz); in cfi_block_start()146 sc->sc_wrbufsz = 0; in cfi_block_finish()241 top = sc->sc_wrofs + sc->sc_wrbufsz; in cfi_devwrite()253 top = sc->sc_wrofs + sc->sc_wrbufsz; in cfi_devwrite()
636 for (i = 0; i < sc->sc_wrbufsz; i++) in cfi_write_block()667 sc->sc_wrbufsz)) in cfi_write_block()696 for (i = 0; i < sc->sc_wrbufsz; i += wlen) { in cfi_write_block()697 wlen = MIN(sc->sc_maxbuf, sc->sc_wrbufsz - i); in cfi_write_block()750 for (i = 0; i < sc->sc_wrbufsz; i += sc->sc_width) { in cfi_write_block()
78 u_int sc_wrbufsz; member
235 top = sc->sc_wrofs + sc->sc_wrbufsz; in cfi_disk_write()250 top = sc->sc_wrofs + sc->sc_wrbufsz; in cfi_disk_write()