Searched refs:countersize (Results 1 – 4 of 4) sorted by relevance
1098 int ret, countersize; in do_replace() local1123 countersize = COUNTER_OFFSET(tmp.nentries) * nr_cpu_ids; in do_replace()1124 newinfo = vmalloc(sizeof(*newinfo) + countersize); in do_replace()1128 if (countersize) in do_replace()1129 memset(newinfo->counters, 0, countersize); in do_replace()1159 int ret, i, countersize; in ebt_register_table() local1176 countersize = COUNTER_OFFSET(repl->nentries) * nr_cpu_ids; in ebt_register_table()1177 newinfo = vmalloc(sizeof(*newinfo) + countersize); in ebt_register_table()1192 if (countersize) in ebt_register_table()1193 memset(newinfo->counters, 0, countersize); in ebt_register_table()[all …]
743 unsigned int countersize; in alloc_counters() local751 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()752 counters = vzalloc(countersize); in alloc_counters()
908 unsigned int countersize; in alloc_counters() local915 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()916 counters = vzalloc(countersize); in alloc_counters()
921 unsigned int countersize; in alloc_counters() local928 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()929 counters = vzalloc(countersize); in alloc_counters()