Lines Matching refs:lenp
247 void *buffer, size_t *lenp, loff_t *ppos) in cmm_pages_handler() argument
257 rc = proc_doulongvec_minmax(&ctl_entry, write, buffer, lenp, ppos); in cmm_pages_handler()
266 void *buffer, size_t *lenp, in cmm_timed_pages_handler() argument
277 rc = proc_doulongvec_minmax(&ctl_entry, write, buffer, lenp, ppos); in cmm_timed_pages_handler()
286 void *buffer, size_t *lenp, loff_t *ppos) in cmm_timeout_handler() argument
292 if (!*lenp || (*ppos && !write)) { in cmm_timeout_handler()
293 *lenp = 0; in cmm_timeout_handler()
298 len = min(*lenp, sizeof(buf)); in cmm_timeout_handler()
306 *ppos += *lenp; in cmm_timeout_handler()
310 if (len > *lenp) in cmm_timeout_handler()
311 len = *lenp; in cmm_timeout_handler()
313 *lenp = len; in cmm_timeout_handler()