Lines Matching defs:table
875 static int addrconf_fixup_forwarding(struct ctl_table *table, int *p, int newf)
883 net = (struct net *)table->extra2;
914 dev_forward_change((struct inet6_dev *)table->extra1);
943 static int addrconf_fixup_linkdown(struct ctl_table *table, int *p, int newf)
951 net = (struct net *)table->extra2;
2461 struct fib6_table *table;
2464 table = fib6_get_table(dev_net(dev), tb_id);
2465 if (!table)
2469 fn = fib6_locate(&table->tb6_root, pfx, plen, NULL, 0, true);
3829 * addresses are to be removed from address hash table
3841 /* Step 2: clear hash table */
6330 static int addrconf_disable_ipv6(struct ctl_table *table, int *p, int newf)
6338 net = (struct net *)table->extra2;
6351 dev_disable_change((struct inet6_dev *)table->extra1);
7129 struct ctl_table *table;
7132 table = kmemdup(addrconf_sysctl, sizeof(addrconf_sysctl), GFP_KERNEL_ACCOUNT);
7133 if (!table)
7136 for (i = 0; table[i].data; i++) {
7137 table[i].data += (char *)p - (char *)&ipv6_devconf;
7142 if (!table[i].extra1 && !table[i].extra2) {
7143 table[i].extra1 = idev; /* embedded; no ref */
7144 table[i].extra2 = net;
7150 p->sysctl_header = register_net_sysctl_sz(net, path, table,
7166 kfree(table);
7174 struct ctl_table *table;
7179 table = p->sysctl_header->ctl_table_arg;
7182 kfree(table);
7313 * Check hash table, then free it.
7346 pr_crit("%s: cannot initialize default policy table: %d\n",