Searched refs:countersize (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/net/bridge/netfilter/ |
H A D | ebtables.c | 1110 int ret, countersize; in do_replace() local 1139 if (countersize) in do_replace() 1140 memset(newinfo->counters, 0, countersize); in do_replace() 1190 int ret, i, countersize; in ebt_register_table() local 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() 2254 int ret, i, countersize, size64; in compat_do_replace() local 2269 newinfo = vmalloc(sizeof(*newinfo) + countersize); in compat_do_replace() 2273 if (countersize) in compat_do_replace() [all …]
|
/openbmc/linux/net/ipv4/netfilter/ |
H A D | arp_tables.c | 651 unsigned int countersize; in alloc_counters() local 659 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters() 660 counters = vzalloc(countersize); in alloc_counters()
|
H A D | ip_tables.c | 791 unsigned int countersize; in alloc_counters() local 798 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters() 799 counters = vzalloc(countersize); in alloc_counters()
|
/openbmc/linux/net/ipv6/netfilter/ |
H A D | ip6_tables.c | 807 unsigned int countersize; in alloc_counters() local 814 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters() 815 counters = vzalloc(countersize); in alloc_counters()
|