FreeBSD/sys/dev/cfi/cfi_dev.c
/*
 * Finish updating the current block/sector by writing the compound
 * set of changes to the flash.
 */
Finish updating the current block/sector by writing the compound
set of changes to the flash.
Finish updating the current block / sector by writing the compound set of changes to the flash .
int
cfi_block_finish(struct cfi_softc *sc)
{
	int error;
	error = cfi_write_block(sc);
	free(sc->sc_wrbuf, M_TEMP);
	free(sc->sc_wrbufcpy, M_TEMP);
	sc->sc_wrbuf = NULL;
	sc->sc_wrbufsz = 0;
	sc->sc_wrofs = 0;
	sc->sc_writing = 0;
	return (error);
}
int cfi_block_finish ( struct cfi_softc * sc ) { int error ; error = cfi_write_block ( sc ) ; free ( sc -> sc_wrbuf , M_TEMP ) ; free ( sc -> sc_wrbufcpy , M_TEMP ) ; sc -> sc_wrbuf = NULL ; sc -> sc_wrbufsz = 0 ; sc -> sc_wrofs = 0 ; sc -> sc_writing = 0 ; return ( error ) ; }
Finish updating the current block/sector by writing the compound
 set of changes to the flash.
Finish updating the current block / sector by writing the compound set of changes to the flash .