Lines Matching refs:lenp
183 void __user *buffer, size_t *lenp, loff_t *ppos);
185 void __user *buffer, size_t *lenp, loff_t *ppos);
190 void __user *buffer, size_t *lenp, loff_t *ppos);
194 void __user *buffer, size_t *lenp, loff_t *ppos);
197 void __user *buffer, size_t *lenp, loff_t *ppos);
205 void __user *buffer, size_t *lenp, in sysrq_sysctl_handler() argument
210 error = proc_dointvec(table, write, buffer, lenp, ppos); in sysrq_sysctl_handler()
1951 size_t *lenp, loff_t *ppos) in _proc_do_string() argument
1957 if (!data || !maxlen || !*lenp) { in _proc_do_string()
1958 *lenp = 0; in _proc_do_string()
1977 *ppos += *lenp; in _proc_do_string()
1979 while ((p - buffer) < *lenp && len < maxlen - 1) { in _proc_do_string()
1993 *lenp = 0; in _proc_do_string()
2000 if (len > *lenp) in _proc_do_string()
2001 len = *lenp; in _proc_do_string()
2005 if (len < *lenp) { in _proc_do_string()
2010 *lenp = len; in _proc_do_string()
2042 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
2048 (char __user *)buffer, lenp, ppos); in proc_dostring()
2225 size_t *lenp, loff_t *ppos, in __do_proc_dointvec() argument
2234 if (!tbl_data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_dointvec()
2235 *lenp = 0; in __do_proc_dointvec()
2241 left = *lenp; in __do_proc_dointvec()
2308 *lenp -= left; in __do_proc_dointvec()
2310 *ppos += *lenp; in __do_proc_dointvec()
2315 void __user *buffer, size_t *lenp, loff_t *ppos, in do_proc_dointvec() argument
2321 buffer, lenp, ppos, conv, data); in do_proc_dointvec()
2338 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec() argument
2340 return do_proc_dointvec(table, write, buffer, lenp, ppos, NULL, NULL); in proc_dointvec()
2357 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec() argument
2359 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_douintvec()
2368 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_taint() argument
2379 err = proc_doulongvec_minmax(&t, write, buffer, lenp, ppos); in proc_taint()
2400 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_sysadmin() argument
2405 return proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_sysadmin()
2455 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() argument
2461 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_dointvec_minmax()
2478 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_coredump() argument
2480 int error = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_coredump()
2488 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring_coredump() argument
2490 int error = proc_dostring(table, write, buffer, lenp, ppos); in proc_dostring_coredump()
2499 size_t *lenp, loff_t *ppos, in __do_proc_doulongvec_minmax() argument
2508 if (!data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_doulongvec_minmax()
2509 *lenp = 0; in __do_proc_doulongvec_minmax()
2517 left = *lenp; in __do_proc_doulongvec_minmax()
2580 *lenp -= left; in __do_proc_doulongvec_minmax()
2582 *ppos += *lenp; in __do_proc_doulongvec_minmax()
2588 size_t *lenp, loff_t *ppos, in do_proc_doulongvec_minmax() argument
2593 buffer, lenp, ppos, convmul, convdiv); in do_proc_doulongvec_minmax()
2613 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_minmax() argument
2615 return do_proc_doulongvec_minmax(table, write, buffer, lenp, ppos, 1l, 1l); in proc_doulongvec_minmax()
2637 size_t *lenp, loff_t *ppos) in proc_doulongvec_ms_jiffies_minmax() argument
2640 lenp, ppos, HZ, 1000l); in proc_doulongvec_ms_jiffies_minmax()
2731 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_jiffies() argument
2733 return do_proc_dointvec(table,write,buffer,lenp,ppos, in proc_dointvec_jiffies()
2753 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_userhz_jiffies() argument
2755 return do_proc_dointvec(table,write,buffer,lenp,ppos, in proc_dointvec_userhz_jiffies()
2776 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_ms_jiffies() argument
2778 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_dointvec_ms_jiffies()
2783 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_cad_pid() argument
2792 lenp, ppos, NULL, NULL); in proc_do_cad_pid()
2822 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_large_bitmap() argument
2826 size_t left = *lenp; in proc_do_large_bitmap()
2833 *lenp = 0; in proc_do_large_bitmap()
2936 *lenp -= left; in proc_do_large_bitmap()
2937 *ppos += *lenp; in proc_do_large_bitmap()
2948 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
2954 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec() argument
2960 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec() argument
2966 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() argument
2972 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_jiffies() argument
2978 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_userhz_jiffies() argument
2984 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_ms_jiffies() argument
2990 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_minmax() argument
2997 size_t *lenp, loff_t *ppos) in proc_doulongvec_ms_jiffies_minmax() argument