Lines Matching refs:ctl
1365 static int mpls_conf_proc(struct ctl_table *ctl, int write, in mpls_conf_proc() argument
1368 int oval = *(int *)ctl->data; in mpls_conf_proc()
1369 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in mpls_conf_proc()
1372 struct mpls_dev *mdev = ctl->extra1; in mpls_conf_proc()
1373 int i = (int *)ctl->data - (int *)mdev; in mpls_conf_proc()
1374 struct net *net = ctl->extra2; in mpls_conf_proc()
1375 int val = *(int *)ctl->data; in mpls_conf_proc()
2701 net->mpls.ctl = register_net_sysctl(net, "net/mpls", table); in mpls_net_init()
2702 if (net->mpls.ctl == NULL) { in mpls_net_init()
2717 table = net->mpls.ctl->ctl_table_arg; in mpls_net_exit()
2718 unregister_net_sysctl_table(net->mpls.ctl); in mpls_net_exit()