Lines Matching refs:t

53 static void neigh_timer_handler(struct timer_list *t);
1082 static void neigh_timer_handler(struct timer_list *t) in neigh_timer_handler() argument
1085 struct neighbour *neigh = from_timer(neigh, t, timer); in neigh_timer_handler()
1621 static void neigh_proxy_process(struct timer_list *t) in neigh_proxy_process() argument
1623 struct neigh_table *tbl = from_timer(tbl, t, proxy_timer); in neigh_proxy_process()
2862 int t, family, s_t; in neigh_dump_info() local
2882 for (t = 0; t < NEIGH_NR_TABLES; t++) { in neigh_dump_info()
2883 tbl = neigh_tables[t]; in neigh_dump_info()
2887 if (t < s_t || (family && tbl->family != family)) in neigh_dump_info()
2889 if (t > s_t) in neigh_dump_info()
2900 cb->args[0] = t; in neigh_dump_info()
3791 struct neigh_sysctl_table *t; in neigh_sysctl_register() local
3797 t = kmemdup(&neigh_sysctl_template, sizeof(*t), GFP_KERNEL_ACCOUNT); in neigh_sysctl_register()
3798 if (!t) in neigh_sysctl_register()
3802 t->neigh_vars[i].data += (long) p; in neigh_sysctl_register()
3803 t->neigh_vars[i].extra1 = dev; in neigh_sysctl_register()
3804 t->neigh_vars[i].extra2 = p; in neigh_sysctl_register()
3807 neigh_vars_size = ARRAY_SIZE(t->neigh_vars); in neigh_sysctl_register()
3811 memset(&t->neigh_vars[NEIGH_VAR_GC_INTERVAL], 0, in neigh_sysctl_register()
3812 sizeof(t->neigh_vars[NEIGH_VAR_GC_INTERVAL])); in neigh_sysctl_register()
3817 t->neigh_vars[NEIGH_VAR_GC_INTERVAL].data = &tbl->gc_interval; in neigh_sysctl_register()
3818 t->neigh_vars[NEIGH_VAR_GC_THRESH1].data = &tbl->gc_thresh1; in neigh_sysctl_register()
3819 t->neigh_vars[NEIGH_VAR_GC_THRESH2].data = &tbl->gc_thresh2; in neigh_sysctl_register()
3820 t->neigh_vars[NEIGH_VAR_GC_THRESH3].data = &tbl->gc_thresh3; in neigh_sysctl_register()
3825 t->neigh_vars[NEIGH_VAR_RETRANS_TIME].proc_handler = handler; in neigh_sysctl_register()
3827 t->neigh_vars[NEIGH_VAR_BASE_REACHABLE_TIME].proc_handler = handler; in neigh_sysctl_register()
3829 t->neigh_vars[NEIGH_VAR_RETRANS_TIME_MS].proc_handler = handler; in neigh_sysctl_register()
3831 t->neigh_vars[NEIGH_VAR_BASE_REACHABLE_TIME_MS].proc_handler = handler; in neigh_sysctl_register()
3840 t->neigh_vars[NEIGH_VAR_BASE_REACHABLE_TIME].proc_handler = in neigh_sysctl_register()
3843 t->neigh_vars[NEIGH_VAR_BASE_REACHABLE_TIME_MS].proc_handler = in neigh_sysctl_register()
3860 t->sysctl_header = register_net_sysctl_sz(neigh_parms_net(p), in neigh_sysctl_register()
3861 neigh_path, t->neigh_vars, in neigh_sysctl_register()
3863 if (!t->sysctl_header) in neigh_sysctl_register()
3866 p->sysctl_table = t; in neigh_sysctl_register()
3870 kfree(t); in neigh_sysctl_register()
3879 struct neigh_sysctl_table *t = p->sysctl_table; in neigh_sysctl_unregister() local
3881 unregister_net_sysctl_table(t->sysctl_header); in neigh_sysctl_unregister()
3882 kfree(t); in neigh_sysctl_unregister()