Home
last modified time | relevance | path

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

/linux/net/bridge/netfilter/
H A Debtables.c1115 int ret, countersize; in do_replace() local
1138 countersize = COUNTER_OFFSET(tmp.nentries) * nr_cpu_ids; in do_replace()
1139 newinfo = __vmalloc(sizeof(*newinfo) + countersize, GFP_KERNEL_ACCOUNT); in do_replace()
1143 if (countersize) in do_replace()
1144 memset(newinfo->counters, 0, countersize); in do_replace()
1189 int ret, i, countersize; in ebt_register_table() local
1204 countersize = COUNTER_OFFSET(repl->nentries) * nr_cpu_ids; in ebt_register_table()
1205 newinfo = vmalloc(sizeof(*newinfo) + countersize); in ebt_register_table()
1220 if (countersize) in ebt_register_table()
1221 memset(newinfo->counters, 0, countersize); in ebt_register_table()
[all …]
/linux/net/ipv4/netfilter/
H A Darp_tables.c662 unsigned int countersize; in alloc_counters() local
670 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
671 counters = vzalloc(countersize); in alloc_counters()
/linux/net/ipv6/netfilter/
H A Dip6_tables.c812 unsigned int countersize; in alloc_counters() local
819 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
820 counters = vzalloc(countersize); in alloc_counters()