H A D | sysctl.c | 106 * enum sysctl_writes_mode - supported sysctl write modes 108 * @SYSCTL_WRITES_LEGACY: each write syscall must fully contain the sysctl value 116 * sent to the write syscall. If dealing with strings respect the file 121 * These write modes control how current file position affects the behavior of 122 * updating sysctl values through the proc interface on each write. 146 static int _proc_do_string(char *data, int maxlen, int write, in _proc_do_string() argument 157 if (write) { in _proc_do_string() 245 * @write: %TRUE if this is a write to the sysctl file 259 int proc_dostring(const struct ctl_table *table, int write, in proc_dostring() argument 429 do_proc_dointvec_conv(bool * negp,unsigned long * lvalp,int * valp,int write,void * data) do_proc_dointvec_conv() argument 456 do_proc_douintvec_conv(unsigned long * lvalp,unsigned int * valp,int write,void * data) do_proc_douintvec_conv() argument 472 __do_proc_dointvec(void * tbl_data,const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos,int (* conv)(bool * negp,unsigned long * lvalp,int * valp,int write,void * data),void * data) __do_proc_dointvec() argument 544 do_proc_dointvec(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos,int (* conv)(bool * negp,unsigned long * lvalp,int * valp,int write,void * data),void * data) do_proc_dointvec() argument 560 do_proc_douintvec_w(unsigned int * tbl_data,const struct ctl_table * table,void * buffer,size_t * lenp,loff_t * ppos,int (* conv)(unsigned long * lvalp,unsigned int * valp,int write,void * data),void * data) do_proc_douintvec_w() argument 615 do_proc_douintvec_r(unsigned int * tbl_data,void * buffer,size_t * lenp,loff_t * ppos,int (* conv)(unsigned long * lvalp,unsigned int * valp,int write,void * data),void * data) do_proc_douintvec_r() argument 643 __do_proc_douintvec(void * tbl_data,const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos,int (* conv)(unsigned long * lvalp,unsigned int * valp,int write,void * data),void * data) __do_proc_douintvec() argument 678 do_proc_douintvec(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos,int (* conv)(unsigned long * lvalp,unsigned int * valp,int write,void * data),void * data) do_proc_douintvec() argument 705 proc_dobool(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dobool() argument 742 proc_dointvec(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec() argument 761 proc_douintvec(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_douintvec() argument 772 proc_taint(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_taint() argument 827 do_proc_dointvec_minmax_conv(bool * negp,unsigned long * lvalp,int * valp,int write,void * data) do_proc_dointvec_minmax_conv() argument 867 proc_dointvec_minmax(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec_minmax() argument 894 do_proc_douintvec_minmax_conv(unsigned long * lvalp,unsigned int * valp,int write,void * data) do_proc_douintvec_minmax_conv() argument 936 proc_douintvec_minmax(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_douintvec_minmax() argument 964 proc_dou8vec_minmax(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dou8vec_minmax() argument 1001 sysrq_sysctl_handler(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) sysrq_sysctl_handler() argument 1021 __do_proc_doulongvec_minmax(void * data,const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos,unsigned long convmul,unsigned long convdiv) __do_proc_doulongvec_minmax() argument 1094 do_proc_doulongvec_minmax(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos,unsigned long convmul,unsigned long convdiv) do_proc_doulongvec_minmax() argument 1118 proc_doulongvec_minmax(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_doulongvec_minmax() argument 1141 proc_doulongvec_ms_jiffies_minmax(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_doulongvec_ms_jiffies_minmax() argument 1151 do_proc_dointvec_jiffies_conv(bool * negp,unsigned long * lvalp,int * valp,int write,void * data) do_proc_dointvec_jiffies_conv() argument 1177 do_proc_dointvec_userhz_jiffies_conv(bool * negp,unsigned long * lvalp,int * valp,int write,void * data) do_proc_dointvec_userhz_jiffies_conv() argument 1200 do_proc_dointvec_ms_jiffies_conv(bool * negp,unsigned long * lvalp,int * valp,int write,void * data) do_proc_dointvec_ms_jiffies_conv() argument 1224 do_proc_dointvec_ms_jiffies_minmax_conv(bool * negp,unsigned long * lvalp,int * valp,int write,void * data) do_proc_dointvec_ms_jiffies_minmax_conv() argument 1262 proc_dointvec_jiffies(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec_jiffies() argument 1269 proc_dointvec_ms_jiffies_minmax(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec_ms_jiffies_minmax() argument 1295 proc_dointvec_userhz_jiffies(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec_userhz_jiffies() argument 1318 proc_dointvec_ms_jiffies(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec_ms_jiffies() argument 1325 proc_do_cad_pid(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_do_cad_pid() argument 1364 proc_do_large_bitmap(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_do_large_bitmap() argument 1496 proc_dostring(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dostring() argument 1502 proc_dobool(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dobool() argument 1508 proc_dointvec(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec() argument 1514 proc_douintvec(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_douintvec() argument 1520 proc_dointvec_minmax(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec_minmax() argument 1526 proc_douintvec_minmax(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_douintvec_minmax() argument 1532 proc_dou8vec_minmax(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dou8vec_minmax() argument 1538 proc_dointvec_jiffies(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec_jiffies() argument 1544 proc_dointvec_ms_jiffies_minmax(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec_ms_jiffies_minmax() argument 1550 proc_dointvec_userhz_jiffies(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec_userhz_jiffies() argument 1556 proc_dointvec_ms_jiffies(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_dointvec_ms_jiffies() argument 1562 proc_doulongvec_minmax(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_doulongvec_minmax() argument 1568 proc_doulongvec_ms_jiffies_minmax(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_doulongvec_ms_jiffies_minmax() argument 1574 proc_do_large_bitmap(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_do_large_bitmap() argument 1583 proc_do_static_key(const struct ctl_table * table,int write,void * buffer,size_t * lenp,loff_t * ppos) proc_do_static_key() argument [all...] |