Searched refs:countersize (Results 1 – 4 of 4) sorted by relevance
1100 int ret, countersize; in do_replace() local1125 countersize = COUNTER_OFFSET(tmp.nentries) * nr_cpu_ids; in do_replace()1126 newinfo = vmalloc(sizeof(*newinfo) + countersize); in do_replace()1130 if (countersize) in do_replace()1131 memset(newinfo->counters, 0, countersize); in do_replace()1161 int ret, i, countersize; in ebt_register_table() local1178 countersize = COUNTER_OFFSET(repl->nentries) * nr_cpu_ids; in ebt_register_table()1179 newinfo = vmalloc(sizeof(*newinfo) + countersize); in ebt_register_table()1194 if (countersize) in ebt_register_table()1195 memset(newinfo->counters, 0, countersize); in ebt_register_table()[all …]
756 unsigned int countersize; in alloc_counters() local764 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()765 counters = vzalloc(countersize); in alloc_counters()
922 unsigned int countersize; in alloc_counters() local929 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()930 counters = vzalloc(countersize); in alloc_counters()
934 unsigned int countersize; in alloc_counters() local941 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()942 counters = vzalloc(countersize); in alloc_counters()