Searched refs:togo (Results 1 – 1 of 1) sorted by relevance
187 static void jsfd_read(char *buf, unsigned long p, size_t togo) { in jsfd_read() argument193 while (togo >= 4) { in jsfd_read()194 togo -= 4; in jsfd_read()278 size_t togo, loff_t *ppos) in jsf_read() argument288 if (verify_area(VERIFY_WRITE, buf, togo)) in jsf_read()295 if ((p + togo) < p /* wrap */ in jsf_read()296 || (p + togo) >= JSF_BASE_TOP) { in jsf_read()297 togo = JSF_BASE_TOP - p; in jsf_read()300 if (p < JSF_BASE_ALL && togo != 0) { in jsf_read()303 if (x > togo) x = togo; in jsf_read()[all …]