Searched refs:countersize (Results 1 – 4 of 4) sorted by relevance
1110 int ret, countersize; in do_replace() local1134 countersize = COUNTER_OFFSET(tmp.nentries) * nr_cpu_ids; in do_replace()1135 newinfo = __vmalloc(sizeof(*newinfo) + countersize, GFP_KERNEL_ACCOUNT); in do_replace()1139 if (countersize) in do_replace()1140 memset(newinfo->counters, 0, countersize); in do_replace()1190 int ret, i, countersize; in ebt_register_table() local1205 countersize = COUNTER_OFFSET(repl->nentries) * nr_cpu_ids; in ebt_register_table()1206 newinfo = vmalloc(sizeof(*newinfo) + countersize); in ebt_register_table()1221 if (countersize) in ebt_register_table()1222 memset(newinfo->counters, 0, countersize); in ebt_register_table()[all …]
651 unsigned int countersize; in alloc_counters() local659 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()660 counters = vzalloc(countersize); in alloc_counters()
791 unsigned int countersize; in alloc_counters() local798 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()799 counters = vzalloc(countersize); in alloc_counters()
807 unsigned int countersize; in alloc_counters() local814 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()815 counters = vzalloc(countersize); in alloc_counters()