Lines Matching refs:ctl
2363 static int devinet_conf_proc(struct ctl_table *ctl, int write, in devinet_conf_proc() argument
2367 int old_value = *(int *)ctl->data; in devinet_conf_proc()
2368 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in devinet_conf_proc()
2369 int new_value = *(int *)ctl->data; in devinet_conf_proc()
2372 struct ipv4_devconf *cnf = ctl->extra1; in devinet_conf_proc()
2373 struct net *net = ctl->extra2; in devinet_conf_proc()
2374 int i = (int *)ctl->data - cnf->data; in devinet_conf_proc()
2416 static int devinet_sysctl_forward(struct ctl_table *ctl, int write, in devinet_sysctl_forward() argument
2420 int *valp = ctl->data; in devinet_sysctl_forward()
2423 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in devinet_sysctl_forward()
2426 struct net *net = ctl->extra2; in devinet_sysctl_forward()
2438 struct ipv4_devconf *cnf = ctl->extra1; in devinet_sysctl_forward()
2460 static int ipv4_doint_and_flush(struct ctl_table *ctl, int write, in ipv4_doint_and_flush() argument
2464 int *valp = ctl->data; in ipv4_doint_and_flush()
2466 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in ipv4_doint_and_flush()
2467 struct net *net = ctl->extra2; in ipv4_doint_and_flush()