Lines Matching refs:lenp
263 void *buffer, size_t *lenp, loff_t *ppos) in cmm_pages_handler() argument
273 rc = proc_doulongvec_minmax(&ctl_entry, write, buffer, lenp, ppos); in cmm_pages_handler()
282 void *buffer, size_t *lenp, in cmm_timed_pages_handler() argument
293 rc = proc_doulongvec_minmax(&ctl_entry, write, buffer, lenp, ppos); in cmm_timed_pages_handler()
302 void *buffer, size_t *lenp, loff_t *ppos) in cmm_timeout_handler() argument
308 if (!*lenp || (*ppos && !write)) { in cmm_timeout_handler()
309 *lenp = 0; in cmm_timeout_handler()
314 len = min(*lenp, sizeof(buf)); in cmm_timeout_handler()
322 *ppos += *lenp; in cmm_timeout_handler()
326 if (len > *lenp) in cmm_timeout_handler()
327 len = *lenp; in cmm_timeout_handler()
329 *lenp = len; in cmm_timeout_handler()