• Home
  • Raw
  • Download

Lines Matching refs:buffer

213 		  void __user *buffer, size_t *lenp, loff_t *ppos);
215 void __user *buffer, size_t *lenp, loff_t *ppos);
220 void __user *buffer, size_t *lenp, loff_t *ppos);
224 void __user *buffer, size_t *lenp, loff_t *ppos);
227 void __user *buffer, size_t *lenp, loff_t *ppos);
230 void __user *buffer, size_t *lenp, loff_t *ppos);
237 void __user *buffer, size_t *lenp, in sysrq_sysctl_handler() argument
242 error = proc_dointvec(table, write, buffer, lenp, ppos); in sysrq_sysctl_handler()
2010 char __user *buffer, in _proc_do_string() argument
2038 p = buffer; in _proc_do_string()
2039 while ((p - buffer) < *lenp && len < maxlen - 1) { in _proc_do_string()
2063 if (copy_to_user(buffer, data, len)) in _proc_do_string()
2066 if (put_user('\n', buffer + len)) in _proc_do_string()
2128 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
2134 (char __user *)buffer, lenp, ppos); in proc_dostring()
2289 char __user **buffer = (char __user **)buf; in proc_put_char() local
2290 if (put_user(c, *buffer)) in proc_put_char()
2292 (*size)--, (*buffer)++; in proc_put_char()
2293 *buf = *buffer; in proc_put_char()
2343 int write, void __user *buffer, in __do_proc_dointvec() argument
2371 p = kbuf = memdup_user_nul(buffer, left); in __do_proc_dointvec()
2400 err = proc_put_char(&buffer, &left, '\t'); in __do_proc_dointvec()
2403 err = proc_put_long(&buffer, &left, lval, neg); in __do_proc_dointvec()
2410 err = proc_put_char(&buffer, &left, '\n'); in __do_proc_dointvec()
2425 void __user *buffer, size_t *lenp, loff_t *ppos, in do_proc_dointvec() argument
2431 buffer, lenp, ppos, conv, data); in do_proc_dointvec()
2436 void __user *buffer, in do_proc_douintvec_w() argument
2457 p = kbuf = memdup_user_nul(buffer, left); in do_proc_douintvec_w()
2496 static int do_proc_douintvec_r(unsigned int *tbl_data, void __user *buffer, in do_proc_douintvec_r() argument
2514 err = proc_put_long(&buffer, &left, lval, false); in do_proc_douintvec_r()
2518 err = proc_put_char(&buffer, &left, '\n'); in do_proc_douintvec_r()
2528 int write, void __user *buffer, in __do_proc_douintvec() argument
2558 return do_proc_douintvec_w(i, table, buffer, lenp, ppos, in __do_proc_douintvec()
2560 return do_proc_douintvec_r(i, buffer, lenp, ppos, conv, data); in __do_proc_douintvec()
2564 void __user *buffer, size_t *lenp, loff_t *ppos, in do_proc_douintvec() argument
2571 buffer, lenp, ppos, conv, data); in do_proc_douintvec()
2588 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec() argument
2590 return do_proc_dointvec(table, write, buffer, lenp, ppos, NULL, NULL); in proc_dointvec()
2607 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec() argument
2609 return do_proc_douintvec(table, write, buffer, lenp, ppos, in proc_douintvec()
2618 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_taint() argument
2629 err = proc_doulongvec_minmax(&t, write, buffer, lenp, ppos); in proc_taint()
2650 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_sysadmin() argument
2655 return proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_sysadmin()
2716 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() argument
2722 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_dointvec_minmax()
2785 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec_minmax() argument
2791 return do_proc_douintvec(table, write, buffer, lenp, ppos, in proc_douintvec_minmax()
2816 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dopipe_max_size() argument
2818 return do_proc_douintvec(table, write, buffer, lenp, ppos, in proc_dopipe_max_size()
2837 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax_coredump() argument
2839 int error = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_dointvec_minmax_coredump()
2847 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring_coredump() argument
2849 int error = proc_dostring(table, write, buffer, lenp, ppos); in proc_dostring_coredump()
2857 void __user *buffer, in __do_proc_doulongvec_minmax() argument
2884 p = kbuf = memdup_user_nul(buffer, left); in __do_proc_doulongvec_minmax()
2915 err = proc_put_char(&buffer, &left, '\t'); in __do_proc_doulongvec_minmax()
2919 err = proc_put_long(&buffer, &left, val, false); in __do_proc_doulongvec_minmax()
2926 err = proc_put_char(&buffer, &left, '\n'); in __do_proc_doulongvec_minmax()
2941 void __user *buffer, in do_proc_doulongvec_minmax() argument
2947 buffer, lenp, ppos, convmul, convdiv); in do_proc_doulongvec_minmax()
2967 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_minmax() argument
2969 return do_proc_doulongvec_minmax(table, write, buffer, lenp, ppos, 1l, 1l); in proc_doulongvec_minmax()
2990 void __user *buffer, in proc_doulongvec_ms_jiffies_minmax() argument
2993 return do_proc_doulongvec_minmax(table, write, buffer, in proc_doulongvec_ms_jiffies_minmax()
3085 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_jiffies() argument
3087 return do_proc_dointvec(table,write,buffer,lenp,ppos, in proc_dointvec_jiffies()
3107 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_userhz_jiffies() argument
3109 return do_proc_dointvec(table,write,buffer,lenp,ppos, in proc_dointvec_userhz_jiffies()
3130 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_ms_jiffies() argument
3132 return do_proc_dointvec(table, write, buffer, lenp, ppos, in proc_dointvec_ms_jiffies()
3137 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_cad_pid() argument
3145 r = __do_proc_dointvec(&tmp, table, write, buffer, in proc_do_cad_pid()
3176 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_large_bitmap() argument
3201 p = kbuf = memdup_user_nul(buffer, left); in proc_do_large_bitmap()
3286 err = proc_put_char(&buffer, &left, ','); in proc_do_large_bitmap()
3290 err = proc_put_long(&buffer, &left, bit_a, false); in proc_do_large_bitmap()
3294 err = proc_put_char(&buffer, &left, '-'); in proc_do_large_bitmap()
3297 err = proc_put_long(&buffer, &left, bit_b, false); in proc_do_large_bitmap()
3305 err = proc_put_char(&buffer, &left, '\n'); in proc_do_large_bitmap()
3326 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dostring() argument
3332 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec() argument
3338 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec() argument
3344 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_minmax() argument
3350 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_douintvec_minmax() argument
3356 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_jiffies() argument
3362 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_userhz_jiffies() argument
3368 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dointvec_ms_jiffies() argument
3374 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_doulongvec_minmax() argument
3380 void __user *buffer, in proc_doulongvec_ms_jiffies_minmax() argument
3387 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_do_large_bitmap() argument
3396 void __user *buffer, size_t *lenp, in proc_do_static_key() argument
3415 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_do_static_key()