Searched refs:countersize (Results 1 – 4 of 4) sorted by relevance
1114 int ret, countersize; in do_replace() local1139 countersize = COUNTER_OFFSET(tmp.nentries) * nr_cpu_ids; in do_replace()1140 newinfo = vmalloc(sizeof(*newinfo) + countersize); in do_replace()1144 if (countersize) in do_replace()1145 memset(newinfo->counters, 0, countersize); in do_replace()1190 int ret, i, countersize; in ebt_register_table() local1207 countersize = COUNTER_OFFSET(repl->nentries) * nr_cpu_ids; in ebt_register_table()1208 newinfo = vmalloc(sizeof(*newinfo) + countersize); in ebt_register_table()1223 if (countersize) in ebt_register_table()1224 memset(newinfo->counters, 0, countersize); in ebt_register_table()[all …]
644 unsigned int countersize; in alloc_counters() local652 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()653 counters = vzalloc(countersize); in alloc_counters()
795 unsigned int countersize; in alloc_counters() local802 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()803 counters = vzalloc(countersize); in alloc_counters()
811 unsigned int countersize; in alloc_counters() local818 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()819 counters = vzalloc(countersize); in alloc_counters()