Lines Matching refs:ctl
1822 static void ndisc_warn_deprecated_sysctl(struct ctl_table *ctl, in ndisc_warn_deprecated_sysctl() argument
1831 dev_name, ctl->procname, in ndisc_warn_deprecated_sysctl()
1832 dev_name, ctl->procname); in ndisc_warn_deprecated_sysctl()
1837 int ndisc_ifinfo_sysctl_change(struct ctl_table *ctl, int write, void __user *buffer, size_t *lenp,… in ndisc_ifinfo_sysctl_change() argument
1839 struct net_device *dev = ctl->extra1; in ndisc_ifinfo_sysctl_change()
1843 if ((strcmp(ctl->procname, "retrans_time") == 0) || in ndisc_ifinfo_sysctl_change()
1844 (strcmp(ctl->procname, "base_reachable_time") == 0)) in ndisc_ifinfo_sysctl_change()
1845 ndisc_warn_deprecated_sysctl(ctl, "syscall", dev ? dev->name : "default"); in ndisc_ifinfo_sysctl_change()
1847 if (strcmp(ctl->procname, "retrans_time") == 0) in ndisc_ifinfo_sysctl_change()
1848 ret = neigh_proc_dointvec(ctl, write, buffer, lenp, ppos); in ndisc_ifinfo_sysctl_change()
1850 else if (strcmp(ctl->procname, "base_reachable_time") == 0) in ndisc_ifinfo_sysctl_change()
1851 ret = neigh_proc_dointvec_jiffies(ctl, write, in ndisc_ifinfo_sysctl_change()
1854 else if ((strcmp(ctl->procname, "retrans_time_ms") == 0) || in ndisc_ifinfo_sysctl_change()
1855 (strcmp(ctl->procname, "base_reachable_time_ms") == 0)) in ndisc_ifinfo_sysctl_change()
1856 ret = neigh_proc_dointvec_ms_jiffies(ctl, write, in ndisc_ifinfo_sysctl_change()
1862 if (ctl->data == &NEIGH_VAR(idev->nd_parms, BASE_REACHABLE_TIME)) in ndisc_ifinfo_sysctl_change()