Lines Matching refs:lenp

178 		  void __user *buffer, size_t *lenp, loff_t *ppos);
180 void __user *buffer, size_t *lenp, loff_t *ppos);
185 void __user *buffer, size_t *lenp, loff_t *ppos);
189 void __user *buffer, size_t *lenp, loff_t *ppos);
192 void __user *buffer, size_t *lenp, loff_t *ppos);
200 void __user *buffer, size_t *lenp, in sysrq_sysctl_handler() argument
205 error = proc_dointvec(table, write, buffer, lenp, ppos); in sysrq_sysctl_handler()
1748 size_t *lenp, loff_t *ppos) in _proc_do_string() argument
1754 if (!data || !maxlen || !*lenp) { in _proc_do_string()
1755 *lenp = 0; in _proc_do_string()
1774 *ppos += *lenp; in _proc_do_string()
1776 while ((p - buffer) < *lenp && len < maxlen - 1) { in _proc_do_string()
1790 *lenp = 0; in _proc_do_string()
1797 if (len > *lenp) in _proc_do_string()
1798 len = *lenp; in _proc_do_string()
1802 if (len < *lenp) { in _proc_do_string()
1807 *lenp = len; in _proc_do_string()
1839 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
1845 (char __user *)buffer, lenp, ppos); in proc_dostring()
2004 size_t *lenp, loff_t *ppos, in __do_proc_dointvec() argument
2014 if (!tbl_data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_dointvec()
2015 *lenp = 0; in __do_proc_dointvec()
2021 left = *lenp; in __do_proc_dointvec()
2095 *lenp -= left; in __do_proc_dointvec()
2097 *ppos += *lenp; in __do_proc_dointvec()
2102 void __user *buffer, size_t *lenp, loff_t *ppos, in do_proc_dointvec() argument
2108 buffer, lenp, ppos, conv, data); in do_proc_dointvec()
2125 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec() argument
2127 return do_proc_dointvec(table,write,buffer,lenp,ppos, in proc_dointvec()
2136 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_taint() argument
2147 err = proc_doulongvec_minmax(&t, write, buffer, lenp, ppos); in proc_taint()
2168 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_sysadmin() argument
2173 return proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_sysadmin()
2223 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() argument
2229 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_dointvec_minmax()
2246 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_coredump() argument
2248 int error = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_coredump()
2256 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring_coredump() argument
2258 int error = proc_dostring(table, write, buffer, lenp, ppos); in proc_dostring_coredump()
2267 size_t *lenp, loff_t *ppos, in __do_proc_doulongvec_minmax() argument
2277 if (!data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_doulongvec_minmax()
2278 *lenp = 0; in __do_proc_doulongvec_minmax()
2286 left = *lenp; in __do_proc_doulongvec_minmax()
2355 *lenp -= left; in __do_proc_doulongvec_minmax()
2357 *ppos += *lenp; in __do_proc_doulongvec_minmax()
2363 size_t *lenp, loff_t *ppos, in do_proc_doulongvec_minmax() argument
2368 buffer, lenp, ppos, convmul, convdiv); in do_proc_doulongvec_minmax()
2388 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_minmax() argument
2390 return do_proc_doulongvec_minmax(table, write, buffer, lenp, ppos, 1l, 1l); in proc_doulongvec_minmax()
2412 size_t *lenp, loff_t *ppos) in proc_doulongvec_ms_jiffies_minmax() argument
2415 lenp, ppos, HZ, 1000l); in proc_doulongvec_ms_jiffies_minmax()
2506 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_jiffies() argument
2508 return do_proc_dointvec(table,write,buffer,lenp,ppos, in proc_dointvec_jiffies()
2528 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_userhz_jiffies() argument
2530 return do_proc_dointvec(table,write,buffer,lenp,ppos, in proc_dointvec_userhz_jiffies()
2551 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_ms_jiffies() argument
2553 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_dointvec_ms_jiffies()
2558 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_cad_pid() argument
2567 lenp, ppos, NULL, NULL); in proc_do_cad_pid()
2597 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_large_bitmap() argument
2601 size_t left = *lenp; in proc_do_large_bitmap()
2608 *lenp = 0; in proc_do_large_bitmap()
2718 *lenp -= left; in proc_do_large_bitmap()
2719 *ppos += *lenp; in proc_do_large_bitmap()
2730 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
2736 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec() argument
2742 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() argument
2748 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_jiffies() argument
2754 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_userhz_jiffies() argument
2760 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_ms_jiffies() argument
2766 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_minmax() argument
2773 size_t *lenp, loff_t *ppos) in proc_doulongvec_ms_jiffies_minmax() argument