Searched refs:countersize (Results 1 – 4 of 4) sorted by relevance
1076 int ret, countersize; in do_replace() local1098 countersize = COUNTER_OFFSET(tmp.nentries) * nr_cpu_ids; in do_replace()1099 newinfo = __vmalloc(sizeof(*newinfo) + countersize, GFP_KERNEL_ACCOUNT, in do_replace()1104 if (countersize) in do_replace()1105 memset(newinfo->counters, 0, countersize); in do_replace()1150 int ret, i, countersize; in ebt_register_table() local1165 countersize = COUNTER_OFFSET(repl->nentries) * nr_cpu_ids; in ebt_register_table()1166 newinfo = vmalloc(sizeof(*newinfo) + countersize); in ebt_register_table()1181 if (countersize) in ebt_register_table()1182 memset(newinfo->counters, 0, countersize); in ebt_register_table()[all …]
650 unsigned int countersize; in alloc_counters() local658 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()659 counters = vzalloc(countersize); in alloc_counters()
792 unsigned int countersize; in alloc_counters() local799 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()800 counters = vzalloc(countersize); in alloc_counters()
809 unsigned int countersize; in alloc_counters() local816 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()817 counters = vzalloc(countersize); in alloc_counters()