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, argument 157 if (write) { 245 * @write: %TRUE if this is a write to the sysctl file 259 int proc_dostring(struct ctl_table *table, int write, argument 427 do_proc_dointvec_conv(bool *negp, unsigned long *lvalp, int *valp, int write, void *data) argument 454 do_proc_douintvec_conv(unsigned long *lvalp, unsigned int *valp, int write, void *data) argument 471 __do_proc_dointvec(void *tbl_data, 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) argument 544 do_proc_dointvec(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) argument 554 do_proc_douintvec_w(unsigned int *tbl_data, 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) argument 611 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) argument 642 __do_proc_douintvec(void *tbl_data, 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) argument 678 do_proc_douintvec(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) argument 705 proc_dobool(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 742 proc_dointvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 761 proc_douintvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 772 proc_taint(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 825 do_proc_dointvec_minmax_conv(bool *negp, unsigned long *lvalp, int *valp, int write, void *data) argument 867 proc_dointvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 892 do_proc_douintvec_minmax_conv(unsigned long *lvalp, unsigned int *valp, int write, void *data) argument 936 proc_douintvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 964 proc_dou8vec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1007 sysrq_sysctl_handler(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1026 __do_proc_doulongvec_minmax(void *data, struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, unsigned long convmul, unsigned long convdiv) argument 1099 do_proc_doulongvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos, unsigned long convmul, unsigned long convdiv) argument 1123 proc_doulongvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1146 proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1154 do_proc_dointvec_jiffies_conv(bool *negp, unsigned long *lvalp, int *valp, int write, void *data) argument 1180 do_proc_dointvec_userhz_jiffies_conv(bool *negp, unsigned long *lvalp, int *valp, int write, void *data) argument 1203 do_proc_dointvec_ms_jiffies_conv(bool *negp, unsigned long *lvalp, int *valp, int write, void *data) argument 1228 do_proc_dointvec_ms_jiffies_minmax_conv(bool *negp, unsigned long *lvalp, int *valp, int write, void *data) argument 1267 proc_dointvec_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1274 proc_dointvec_ms_jiffies_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1300 proc_dointvec_userhz_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1323 proc_dointvec_ms_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1330 proc_do_cad_pid(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1369 proc_do_large_bitmap(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1501 proc_dostring(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1507 proc_dobool(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1513 proc_dointvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1519 proc_douintvec(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1525 proc_dointvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1531 proc_douintvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1537 proc_dou8vec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1543 proc_dointvec_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1549 proc_dointvec_ms_jiffies_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1555 proc_dointvec_userhz_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1561 proc_dointvec_ms_jiffies(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1567 proc_doulongvec_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1573 proc_doulongvec_ms_jiffies_minmax(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1579 proc_do_large_bitmap(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument 1588 proc_do_static_key(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument [all...] |