Home
last modified time | relevance | path

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

/Linux-v6.6/net/bridge/netfilter/
Debtables.c1110 int ret, countersize; in do_replace() local
1132 countersize = COUNTER_OFFSET(tmp.nentries) * nr_cpu_ids; in do_replace()
1133 newinfo = __vmalloc(sizeof(*newinfo) + countersize, GFP_KERNEL_ACCOUNT); in do_replace()
1137 if (countersize) in do_replace()
1138 memset(newinfo->counters, 0, countersize); in do_replace()
1188 int ret, i, countersize; in ebt_register_table() local
1203 countersize = COUNTER_OFFSET(repl->nentries) * nr_cpu_ids; in ebt_register_table()
1204 newinfo = vmalloc(sizeof(*newinfo) + countersize); in ebt_register_table()
1219 if (countersize) in ebt_register_table()
1220 memset(newinfo->counters, 0, countersize); in ebt_register_table()
[all …]
/Linux-v6.6/net/ipv4/netfilter/
Darp_tables.c651 unsigned int countersize; in alloc_counters() local
659 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
660 counters = vzalloc(countersize); in alloc_counters()
Dip_tables.c791 unsigned int countersize; in alloc_counters() local
798 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
799 counters = vzalloc(countersize); in alloc_counters()
/Linux-v6.6/net/ipv6/netfilter/
Dip6_tables.c807 unsigned int countersize; in alloc_counters() local
814 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
815 counters = vzalloc(countersize); in alloc_counters()