Lines Matching refs:ctl
1349 static int mpls_conf_proc(const struct ctl_table *ctl, int write, in mpls_conf_proc() argument
1352 int oval = *(int *)ctl->data; in mpls_conf_proc()
1353 int ret = proc_dointvec(ctl, write, buffer, lenp, ppos); in mpls_conf_proc()
1356 struct mpls_dev *mdev = ctl->extra1; in mpls_conf_proc()
1357 int i = (int *)ctl->data - (int *)mdev; in mpls_conf_proc()
1358 struct net *net = ctl->extra2; in mpls_conf_proc()
1359 int val = *(int *)ctl->data; in mpls_conf_proc()
2676 net->mpls.ctl = register_net_sysctl_sz(net, "net/mpls", table, in mpls_net_init()
2678 if (net->mpls.ctl == NULL) { in mpls_net_init()
2693 table = net->mpls.ctl->ctl_table_arg; in mpls_net_exit()
2694 unregister_net_sysctl_table(net->mpls.ctl); in mpls_net_exit()