Searched refs:xt_counters (Results 1 – 9 of 9) sorted by relevance
27 #define arpt_counters xt_counters107 struct xt_counters counters;179 struct xt_counters __user *counters;
383 void __percpu *res = __alloc_percpu(sizeof(struct xt_counters), in xt_percpu_counter_alloc()384 sizeof(struct xt_counters)); in xt_percpu_counter_alloc()400 static inline struct xt_counters *401 xt_get_this_cpu_counter(struct xt_counters *cnt) in xt_get_this_cpu_counter()409 static inline struct xt_counters *410 xt_get_per_cpu_counter(struct xt_counters *cnt, unsigned int cpu) in xt_get_per_cpu_counter()
35 #define ipt_counters xt_counters119 struct xt_counters counters;201 struct xt_counters __user *counters;
35 #define ip6t_counters xt_counters123 struct xt_counters counters;241 struct xt_counters __user *counters;
298 struct xt_counters *counter; in arpt_do_table()618 e->counters = ((struct xt_counters) { 0, 0 }); in check_entry_size_and_hooks()726 struct xt_counters counters[]) in get_counters()737 struct xt_counters *tmp; in get_counters()754 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()757 struct xt_counters *counters; in alloc_counters()764 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()781 struct xt_counters *counters; in copy_entries_to_user()1009 struct xt_counters *counters; in __do_replace()1014 counters = vzalloc(num_counters * sizeof(struct xt_counters)); in __do_replace()[all …]
356 struct xt_counters *counter; in ipt_do_table()780 e->counters = ((struct xt_counters) { 0, 0 }); in check_entry_size_and_hooks()892 struct xt_counters counters[]) in get_counters()903 struct xt_counters *tmp; in get_counters()920 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()923 struct xt_counters *counters; in alloc_counters()929 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()947 struct xt_counters *counters; in copy_entries_to_user()1193 struct xt_counters *counters; in __do_replace()1197 counters = vzalloc(num_counters * sizeof(struct xt_counters)); in __do_replace()[all …]
109 struct xt_counters { struct121 struct xt_counters counters[0]; argument
378 struct xt_counters *counter; in ip6t_do_table()792 e->counters = ((struct xt_counters) { 0, 0 }); in check_entry_size_and_hooks()904 struct xt_counters counters[]) in get_counters()915 struct xt_counters *tmp; in get_counters()932 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()935 struct xt_counters *counters; in alloc_counters()941 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()959 struct xt_counters *counters; in copy_entries_to_user()1205 struct xt_counters *counters; in __do_replace()1209 counters = vzalloc(num_counters * sizeof(struct xt_counters)); in __do_replace()[all …]
810 size = sizeof(struct xt_counters); in xt_copy_counters_from_user()