Searched refs:data_available (Results 1 – 1 of 1) sorted by relevance
265 int rv, amnt, data_available; in powermac_nvram_read() local272 data_available = sizeof(sc->sc_data) - sc->sc_rpos; in powermac_nvram_read()273 if (data_available > 0) { in powermac_nvram_read()274 amnt = MIN(uio->uio_resid, data_available); in powermac_nvram_read()292 int rv, amnt, data_available; in powermac_nvram_write() local302 data_available = sizeof(sc->sc_data) - sc->sc_wpos; in powermac_nvram_write()303 if (data_available > 0) { in powermac_nvram_write()304 amnt = MIN(uio->uio_resid, data_available); in powermac_nvram_write()