Lines Matching refs:tbl
3612 struct ctl_table *tbl; in sysctl_route_net_init() local
3614 tbl = ipv4_route_flush_table; in sysctl_route_net_init()
3616 tbl = kmemdup(tbl, sizeof(ipv4_route_flush_table), GFP_KERNEL); in sysctl_route_net_init()
3617 if (!tbl) in sysctl_route_net_init()
3622 if (tbl[0].procname != ipv4_route_flush_procname) in sysctl_route_net_init()
3623 tbl[0].procname = NULL; in sysctl_route_net_init()
3626 tbl[0].extra1 = net; in sysctl_route_net_init()
3628 net->ipv4.route_hdr = register_net_sysctl(net, "net/ipv4/route", tbl); in sysctl_route_net_init()
3634 if (tbl != ipv4_route_flush_table) in sysctl_route_net_init()
3635 kfree(tbl); in sysctl_route_net_init()
3642 struct ctl_table *tbl; in sysctl_route_net_exit() local
3644 tbl = net->ipv4.route_hdr->ctl_table_arg; in sysctl_route_net_exit()
3646 BUG_ON(tbl == ipv4_route_flush_table); in sysctl_route_net_exit()
3647 kfree(tbl); in sysctl_route_net_exit()