Lines Matching refs:ppos

208 		  void __user *buffer, size_t *lenp, loff_t *ppos);
210 void __user *buffer, size_t *lenp, loff_t *ppos);
215 void __user *buffer, size_t *lenp, loff_t *ppos);
219 void __user *buffer, size_t *lenp, loff_t *ppos);
222 void __user *buffer, size_t *lenp, loff_t *ppos);
225 void __user *buffer, size_t *lenp, loff_t *ppos);
233 loff_t *ppos) in sysrq_sysctl_handler() argument
237 error = proc_dointvec(table, write, buffer, lenp, ppos); in sysrq_sysctl_handler()
1923 size_t *lenp, loff_t *ppos) in _proc_do_string() argument
1941 if (*ppos > len) in _proc_do_string()
1943 len = *ppos; in _proc_do_string()
1949 *ppos += *lenp; in _proc_do_string()
1964 if (*ppos > len) { in _proc_do_string()
1969 data += *ppos; in _proc_do_string()
1970 len -= *ppos; in _proc_do_string()
1983 *ppos += len; in _proc_do_string()
2005 static bool proc_first_pos_non_zero_ignore(loff_t *ppos, in proc_first_pos_non_zero_ignore() argument
2008 if (!*ppos) in proc_first_pos_non_zero_ignore()
2040 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
2043 proc_first_pos_non_zero_ignore(ppos, table); in proc_dostring()
2046 (char __user *)buffer, lenp, ppos); in proc_dostring()
2220 size_t *lenp, loff_t *ppos, in __do_proc_dointvec() argument
2229 if (!tbl_data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_dointvec()
2242 if (proc_first_pos_non_zero_ignore(ppos, table)) in __do_proc_dointvec()
2296 *ppos += *lenp; in __do_proc_dointvec()
2301 void __user *buffer, size_t *lenp, loff_t *ppos, in do_proc_dointvec() argument
2307 buffer, lenp, ppos, conv, data); in do_proc_dointvec()
2313 size_t *lenp, loff_t *ppos, in do_proc_douintvec_w() argument
2327 if (proc_first_pos_non_zero_ignore(ppos, table)) in do_proc_douintvec_w()
2368 *ppos += *lenp; in do_proc_douintvec_w()
2373 size_t *lenp, loff_t *ppos, in do_proc_douintvec_r() argument
2398 *ppos += *lenp; in do_proc_douintvec_r()
2405 size_t *lenp, loff_t *ppos, in __do_proc_douintvec() argument
2413 if (!tbl_data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_douintvec()
2434 return do_proc_douintvec_w(i, table, buffer, lenp, ppos, in __do_proc_douintvec()
2436 return do_proc_douintvec_r(i, buffer, lenp, ppos, conv, data); in __do_proc_douintvec()
2440 void __user *buffer, size_t *lenp, loff_t *ppos, in do_proc_douintvec() argument
2447 buffer, lenp, ppos, conv, data); in do_proc_douintvec()
2464 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec() argument
2466 return do_proc_dointvec(table, write, buffer, lenp, ppos, NULL, NULL); in proc_dointvec()
2483 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec() argument
2485 return do_proc_douintvec(table, write, buffer, lenp, ppos, in proc_douintvec()
2494 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_taint() argument
2505 err = proc_doulongvec_minmax(&t, write, buffer, lenp, ppos); in proc_taint()
2526 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_sysadmin() argument
2531 return proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_sysadmin()
2590 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() argument
2596 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_dointvec_minmax()
2659 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec_minmax() argument
2665 return do_proc_douintvec(table, write, buffer, lenp, ppos, in proc_douintvec_minmax()
2690 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dopipe_max_size() argument
2692 return do_proc_douintvec(table, write, buffer, lenp, ppos, in proc_dopipe_max_size()
2711 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_coredump() argument
2713 int error = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_coredump()
2721 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring_coredump() argument
2723 int error = proc_dostring(table, write, buffer, lenp, ppos); in proc_dostring_coredump()
2732 size_t *lenp, loff_t *ppos, in __do_proc_doulongvec_minmax() argument
2741 if (!data || !table->maxlen || !*lenp || (*ppos && !write)) { in __do_proc_doulongvec_minmax()
2753 if (proc_first_pos_non_zero_ignore(ppos, table)) in __do_proc_doulongvec_minmax()
2806 *ppos += *lenp; in __do_proc_doulongvec_minmax()
2812 size_t *lenp, loff_t *ppos, in do_proc_doulongvec_minmax() argument
2817 buffer, lenp, ppos, convmul, convdiv); in do_proc_doulongvec_minmax()
2837 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_minmax() argument
2839 return do_proc_doulongvec_minmax(table, write, buffer, lenp, ppos, 1l, 1l); in proc_doulongvec_minmax()
2861 size_t *lenp, loff_t *ppos) in proc_doulongvec_ms_jiffies_minmax() argument
2864 lenp, ppos, HZ, 1000l); in proc_doulongvec_ms_jiffies_minmax()
2955 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_jiffies() argument
2957 return do_proc_dointvec(table,write,buffer,lenp,ppos, in proc_dointvec_jiffies()
2977 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_userhz_jiffies() argument
2979 return do_proc_dointvec(table,write,buffer,lenp,ppos, in proc_dointvec_userhz_jiffies()
3000 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_ms_jiffies() argument
3002 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_dointvec_ms_jiffies()
3007 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_cad_pid() argument
3016 lenp, ppos, NULL, NULL); in proc_do_cad_pid()
3046 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_large_bitmap() argument
3056 if (!bitmap || !bitmap_len || !left || (*ppos && !write)) { in proc_do_large_bitmap()
3155 if (*ppos) in proc_do_large_bitmap()
3161 *ppos += *lenp; in proc_do_large_bitmap()
3171 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
3177 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec() argument
3183 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec() argument
3189 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() argument
3195 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec_minmax() argument
3201 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_jiffies() argument
3207 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_userhz_jiffies() argument
3213 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_ms_jiffies() argument
3219 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_minmax() argument
3226 size_t *lenp, loff_t *ppos) in proc_doulongvec_ms_jiffies_minmax() argument