Lines Matching refs:ppos

212 		  void __user *buffer, size_t *lenp, loff_t *ppos);
214 void __user *buffer, size_t *lenp, loff_t *ppos);
219 void __user *buffer, size_t *lenp, loff_t *ppos);
223 void __user *buffer, size_t *lenp, loff_t *ppos);
226 void __user *buffer, size_t *lenp, loff_t *ppos);
229 void __user *buffer, size_t *lenp, loff_t *ppos);
237 loff_t *ppos) in sysrq_sysctl_handler() argument
241 error = proc_dointvec(table, write, buffer, lenp, ppos); in sysrq_sysctl_handler()
2002 size_t *lenp, loff_t *ppos) in _proc_do_string() argument
2020 if (*ppos > len) in _proc_do_string()
2022 len = *ppos; in _proc_do_string()
2028 *ppos += *lenp; in _proc_do_string()
2043 if (*ppos > len) { in _proc_do_string()
2048 data += *ppos; in _proc_do_string()
2049 len -= *ppos; in _proc_do_string()
2062 *ppos += len; in _proc_do_string()
2084 static bool proc_first_pos_non_zero_ignore(loff_t *ppos, in proc_first_pos_non_zero_ignore() argument
2087 if (!*ppos) in proc_first_pos_non_zero_ignore()
2119 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
2122 proc_first_pos_non_zero_ignore(ppos, table); in proc_dostring()
2125 (char __user *)buffer, lenp, ppos); in proc_dostring()
2335 size_t *lenp, loff_t *ppos, in __do_proc_dointvec() argument
2344 if (!tbl_data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_dointvec()
2357 if (proc_first_pos_non_zero_ignore(ppos, table)) in __do_proc_dointvec()
2411 *ppos += *lenp; in __do_proc_dointvec()
2416 void __user *buffer, size_t *lenp, loff_t *ppos, in do_proc_dointvec() argument
2422 buffer, lenp, ppos, conv, data); in do_proc_dointvec()
2428 size_t *lenp, loff_t *ppos, in do_proc_douintvec_w() argument
2442 if (proc_first_pos_non_zero_ignore(ppos, table)) in do_proc_douintvec_w()
2483 *ppos += *lenp; in do_proc_douintvec_w()
2488 size_t *lenp, loff_t *ppos, in do_proc_douintvec_r() argument
2513 *ppos += *lenp; in do_proc_douintvec_r()
2520 size_t *lenp, loff_t *ppos, in __do_proc_douintvec() argument
2528 if (!tbl_data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_douintvec()
2549 return do_proc_douintvec_w(i, table, buffer, lenp, ppos, in __do_proc_douintvec()
2551 return do_proc_douintvec_r(i, buffer, lenp, ppos, conv, data); in __do_proc_douintvec()
2555 void __user *buffer, size_t *lenp, loff_t *ppos, in do_proc_douintvec() argument
2562 buffer, lenp, ppos, conv, data); in do_proc_douintvec()
2579 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec() argument
2581 return do_proc_dointvec(table, write, buffer, lenp, ppos, NULL, NULL); in proc_dointvec()
2598 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec() argument
2600 return do_proc_douintvec(table, write, buffer, lenp, ppos, in proc_douintvec()
2609 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_taint() argument
2620 err = proc_doulongvec_minmax(&t, write, buffer, lenp, ppos); in proc_taint()
2641 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_sysadmin() argument
2646 return proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_sysadmin()
2707 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() argument
2713 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_dointvec_minmax()
2776 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec_minmax() argument
2782 return do_proc_douintvec(table, write, buffer, lenp, ppos, in proc_douintvec_minmax()
2807 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dopipe_max_size() argument
2809 return do_proc_douintvec(table, write, buffer, lenp, ppos, in proc_dopipe_max_size()
2828 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_coredump() argument
2830 int error = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_coredump()
2838 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring_coredump() argument
2840 int error = proc_dostring(table, write, buffer, lenp, ppos); in proc_dostring_coredump()
2849 size_t *lenp, loff_t *ppos, in __do_proc_doulongvec_minmax() argument
2858 if (!data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_doulongvec_minmax()
2870 if (proc_first_pos_non_zero_ignore(ppos, table)) in __do_proc_doulongvec_minmax()
2927 *ppos += *lenp; in __do_proc_doulongvec_minmax()
2933 size_t *lenp, loff_t *ppos, in do_proc_doulongvec_minmax() argument
2938 buffer, lenp, ppos, convmul, convdiv); in do_proc_doulongvec_minmax()
2958 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_minmax() argument
2960 return do_proc_doulongvec_minmax(table, write, buffer, lenp, ppos, 1l, 1l); in proc_doulongvec_minmax()
2982 size_t *lenp, loff_t *ppos) in proc_doulongvec_ms_jiffies_minmax() argument
2985 lenp, ppos, HZ, 1000l); in proc_doulongvec_ms_jiffies_minmax()
3076 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_jiffies() argument
3078 return do_proc_dointvec(table,write,buffer,lenp,ppos, in proc_dointvec_jiffies()
3098 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_userhz_jiffies() argument
3100 return do_proc_dointvec(table,write,buffer,lenp,ppos, in proc_dointvec_userhz_jiffies()
3121 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_ms_jiffies() argument
3123 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_dointvec_ms_jiffies()
3128 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_cad_pid() argument
3137 lenp, ppos, NULL, NULL); in proc_do_cad_pid()
3167 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_large_bitmap() argument
3177 if (!bitmap || !bitmap_len || !left || (*ppos && !write)) { in proc_do_large_bitmap()
3301 if (*ppos) in proc_do_large_bitmap()
3307 *ppos += *lenp; in proc_do_large_bitmap()
3317 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
3323 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec() argument
3329 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec() argument
3335 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() argument
3341 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec_minmax() argument
3347 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_jiffies() argument
3353 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_userhz_jiffies() argument
3359 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_ms_jiffies() argument
3365 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_minmax() argument
3372 size_t *lenp, loff_t *ppos) in proc_doulongvec_ms_jiffies_minmax() argument
3378 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_large_bitmap() argument
3388 loff_t *ppos) in proc_do_static_key() argument
3406 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_do_static_key()