Home
last modified time | relevance | path

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

/linux-5.19.10/net/bridge/netfilter/
Debtables.c1108 int ret, countersize; in do_replace() local
1130 countersize = COUNTER_OFFSET(tmp.nentries) * nr_cpu_ids; in do_replace()
1131 newinfo = __vmalloc(sizeof(*newinfo) + countersize, GFP_KERNEL_ACCOUNT); in do_replace()
1135 if (countersize) in do_replace()
1136 memset(newinfo->counters, 0, countersize); in do_replace()
1186 int ret, i, countersize; in ebt_register_table() local
1201 countersize = COUNTER_OFFSET(repl->nentries) * nr_cpu_ids; in ebt_register_table()
1202 newinfo = vmalloc(sizeof(*newinfo) + countersize); in ebt_register_table()
1217 if (countersize) in ebt_register_table()
1218 memset(newinfo->counters, 0, countersize); in ebt_register_table()
[all …]
/linux-5.19.10/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.c793 unsigned int countersize; in alloc_counters() local
800 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
801 counters = vzalloc(countersize); in alloc_counters()
/linux-5.19.10/net/ipv6/netfilter/
Dip6_tables.c809 unsigned int countersize; in alloc_counters() local
816 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
817 counters = vzalloc(countersize); in alloc_counters()