Lines Matching refs:write
668 static int proc_watchdog_common(int which, struct ctl_table *table, int write, in proc_watchdog_common() argument
675 if (!write) { in proc_watchdog_common()
681 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_common()
684 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_common()
695 int proc_watchdog(struct ctl_table *table, int write, in proc_watchdog() argument
699 table, write, buffer, lenp, ppos); in proc_watchdog()
705 int proc_nmi_watchdog(struct ctl_table *table, int write, in proc_nmi_watchdog() argument
708 if (!nmi_watchdog_available && write) in proc_nmi_watchdog()
711 table, write, buffer, lenp, ppos); in proc_nmi_watchdog()
717 int proc_soft_watchdog(struct ctl_table *table, int write, in proc_soft_watchdog() argument
721 table, write, buffer, lenp, ppos); in proc_soft_watchdog()
727 int proc_watchdog_thresh(struct ctl_table *table, int write, in proc_watchdog_thresh() argument
735 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_thresh()
737 if (!err && write && old != READ_ONCE(watchdog_thresh)) in proc_watchdog_thresh()
750 int proc_watchdog_cpumask(struct ctl_table *table, int write, in proc_watchdog_cpumask() argument
757 err = proc_do_large_bitmap(table, write, buffer, lenp, ppos); in proc_watchdog_cpumask()
758 if (!err && write) in proc_watchdog_cpumask()