Home
last modified time | relevance | path

Searched refs:loc_cpu_entry (Results 1 – 3 of 3) sorted by relevance

/net/ipv4/netfilter/
Darp_tables.c681 void *loc_cpu_entry; in copy_entries_to_user() local
687 loc_cpu_entry = private->entries; in copy_entries_to_user()
689 if (copy_to_user(userptr, loc_cpu_entry, total_size) != 0) { in copy_entries_to_user()
699 e = (struct arpt_entry *)(loc_cpu_entry + off); in copy_entries_to_user()
776 const void *loc_cpu_entry; in compat_table_info() local
785 loc_cpu_entry = info->entries; in compat_table_info()
787 xt_entry_foreach(iter, loc_cpu_entry, info->size) { in compat_table_info()
788 ret = compat_calc_entry(iter, info, loc_cpu_entry, newinfo); in compat_table_info()
965 void *loc_cpu_entry; in do_replace() local
983 loc_cpu_entry = newinfo->entries; in do_replace()
[all …]
Dip_tables.c831 const void *loc_cpu_entry; in copy_entries_to_user() local
837 loc_cpu_entry = private->entries; in copy_entries_to_user()
838 if (copy_to_user(userptr, loc_cpu_entry, total_size) != 0) { in copy_entries_to_user()
850 e = (struct ipt_entry *)(loc_cpu_entry + off); in copy_entries_to_user()
945 const void *loc_cpu_entry; in compat_table_info() local
954 loc_cpu_entry = info->entries; in compat_table_info()
956 xt_entry_foreach(iter, loc_cpu_entry, info->size) { in compat_table_info()
957 ret = compat_calc_entry(iter, info, loc_cpu_entry, newinfo); in compat_table_info()
1131 void *loc_cpu_entry; in do_replace() local
1149 loc_cpu_entry = newinfo->entries; in do_replace()
[all …]
/net/ipv6/netfilter/
Dip6_tables.c859 const void *loc_cpu_entry; in copy_entries_to_user() local
865 loc_cpu_entry = private->entries; in copy_entries_to_user()
866 if (copy_to_user(userptr, loc_cpu_entry, total_size) != 0) { in copy_entries_to_user()
878 e = (struct ip6t_entry *)(loc_cpu_entry + off); in copy_entries_to_user()
973 const void *loc_cpu_entry; in compat_table_info() local
982 loc_cpu_entry = info->entries; in compat_table_info()
984 xt_entry_foreach(iter, loc_cpu_entry, info->size) { in compat_table_info()
985 ret = compat_calc_entry(iter, info, loc_cpu_entry, newinfo); in compat_table_info()
1160 void *loc_cpu_entry; in do_replace() local
1178 loc_cpu_entry = newinfo->entries; in do_replace()
[all …]