Lines Matching refs:write
647 static int proc_watchdog_common(int which, struct ctl_table *table, int write, in proc_watchdog_common() argument
654 if (!write) { in proc_watchdog_common()
660 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_common()
663 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_common()
674 int proc_watchdog(struct ctl_table *table, int write, in proc_watchdog() argument
678 table, write, buffer, lenp, ppos); in proc_watchdog()
684 int proc_nmi_watchdog(struct ctl_table *table, int write, in proc_nmi_watchdog() argument
687 if (!nmi_watchdog_available && write) in proc_nmi_watchdog()
690 table, write, buffer, lenp, ppos); in proc_nmi_watchdog()
696 int proc_soft_watchdog(struct ctl_table *table, int write, in proc_soft_watchdog() argument
700 table, write, buffer, lenp, ppos); in proc_soft_watchdog()
706 int proc_watchdog_thresh(struct ctl_table *table, int write, in proc_watchdog_thresh() argument
714 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_thresh()
716 if (!err && write && old != READ_ONCE(watchdog_thresh)) in proc_watchdog_thresh()
729 int proc_watchdog_cpumask(struct ctl_table *table, int write, in proc_watchdog_cpumask() argument
736 err = proc_do_large_bitmap(table, write, buffer, lenp, ppos); in proc_watchdog_cpumask()
737 if (!err && write) in proc_watchdog_cpumask()