Home
last modified time | relevance | path

Searched refs:countersize (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/net/bridge/netfilter/
Debtables.c1098 int ret, countersize; in do_replace() local
1123 countersize = COUNTER_OFFSET(tmp.nentries) * nr_cpu_ids; in do_replace()
1124 newinfo = vmalloc(sizeof(*newinfo) + countersize); in do_replace()
1128 if (countersize) in do_replace()
1129 memset(newinfo->counters, 0, countersize); in do_replace()
1159 int ret, i, countersize; in ebt_register_table() local
1176 countersize = COUNTER_OFFSET(repl->nentries) * nr_cpu_ids; in ebt_register_table()
1177 newinfo = vmalloc(sizeof(*newinfo) + countersize); in ebt_register_table()
1192 if (countersize) in ebt_register_table()
1193 memset(newinfo->counters, 0, countersize); in ebt_register_table()
[all …]
/linux-4.1.27/net/ipv4/netfilter/
Darp_tables.c743 unsigned int countersize; in alloc_counters() local
751 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
752 counters = vzalloc(countersize); in alloc_counters()
Dip_tables.c908 unsigned int countersize; in alloc_counters() local
915 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
916 counters = vzalloc(countersize); in alloc_counters()
/linux-4.1.27/net/ipv6/netfilter/
Dip6_tables.c921 unsigned int countersize; in alloc_counters() local
928 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
929 counters = vzalloc(countersize); in alloc_counters()