Lines Matching refs:write
671 static int proc_watchdog_common(int which, struct ctl_table *table, int write, in proc_watchdog_common() argument
678 if (!write) { in proc_watchdog_common()
684 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_common()
687 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_common()
698 int proc_watchdog(struct ctl_table *table, int write, in proc_watchdog() argument
702 table, write, buffer, lenp, ppos); in proc_watchdog()
708 int proc_nmi_watchdog(struct ctl_table *table, int write, in proc_nmi_watchdog() argument
711 if (!nmi_watchdog_available && write) in proc_nmi_watchdog()
714 table, write, buffer, lenp, ppos); in proc_nmi_watchdog()
720 int proc_soft_watchdog(struct ctl_table *table, int write, in proc_soft_watchdog() argument
724 table, write, buffer, lenp, ppos); in proc_soft_watchdog()
730 int proc_watchdog_thresh(struct ctl_table *table, int write, in proc_watchdog_thresh() argument
738 err = proc_dointvec_minmax(table, write, buffer, lenp, ppos); in proc_watchdog_thresh()
740 if (!err && write && old != READ_ONCE(watchdog_thresh)) in proc_watchdog_thresh()
753 int proc_watchdog_cpumask(struct ctl_table *table, int write, in proc_watchdog_cpumask() argument
760 err = proc_do_large_bitmap(table, write, buffer, lenp, ppos); in proc_watchdog_cpumask()
761 if (!err && write) in proc_watchdog_cpumask()