Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/bridge/netfilter/
H A Debtables.c1069 int ret, countersize; in do_replace() local
1091 countersize = COUNTER_OFFSET(tmp.nentries) * nr_cpu_ids; in do_replace()
1092 newinfo = __vmalloc(sizeof(*newinfo) + countersize, GFP_KERNEL_ACCOUNT); in do_replace()
1096 if (countersize) in do_replace()
1097 memset(newinfo->counters, 0, countersize); in do_replace()
1143 int ret, i, countersize; in ebt_register_table() local
1158 countersize = COUNTER_OFFSET(repl->nentries) * nr_cpu_ids; in ebt_register_table()
1159 newinfo = vmalloc(sizeof(*newinfo) + countersize); in ebt_register_table()
1174 if (countersize) in ebt_register_table()
1175 memset(newinfo->counters, 0, countersize); in ebt_register_table()
[all …]
/OK3568_Linux_fs/kernel/net/ipv4/netfilter/
H A Darp_tables.c650 unsigned int countersize; in alloc_counters() local
658 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
659 counters = vzalloc(countersize); in alloc_counters()
H A Dip_tables.c792 unsigned int countersize; in alloc_counters() local
799 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
800 counters = vzalloc(countersize); in alloc_counters()
/OK3568_Linux_fs/kernel/net/ipv6/netfilter/
H A 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()