Searched refs:loc_cpu_entry (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/net/ipv4/netfilter/ |
D | arp_tables.c | 771 void *loc_cpu_entry; in copy_entries_to_user() local 777 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in copy_entries_to_user() 779 if (copy_to_user(userptr, loc_cpu_entry, total_size) != 0) { in copy_entries_to_user() 789 e = (struct arpt_entry *)(loc_cpu_entry + off); in copy_entries_to_user() 866 void *loc_cpu_entry; in compat_table_info() local 875 loc_cpu_entry = info->entries[raw_smp_processor_id()]; in compat_table_info() 877 xt_entry_foreach(iter, loc_cpu_entry, info->size) { in compat_table_info() 878 ret = compat_calc_entry(iter, info, loc_cpu_entry, newinfo); in compat_table_info() 1069 void *loc_cpu_entry; in do_replace() local 1088 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in do_replace() [all …]
|
D | ip_tables.c | 936 const void *loc_cpu_entry; in copy_entries_to_user() local 946 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in copy_entries_to_user() 947 if (copy_to_user(userptr, loc_cpu_entry, total_size) != 0) { in copy_entries_to_user() 959 e = (struct ipt_entry *)(loc_cpu_entry + off); in copy_entries_to_user() 1054 void *loc_cpu_entry; in compat_table_info() local 1063 loc_cpu_entry = info->entries[raw_smp_processor_id()]; in compat_table_info() 1065 xt_entry_foreach(iter, loc_cpu_entry, info->size) { in compat_table_info() 1066 ret = compat_calc_entry(iter, info, loc_cpu_entry, newinfo); in compat_table_info() 1256 void *loc_cpu_entry; in do_replace() local 1275 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in do_replace() [all …]
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | ip6_tables.c | 949 const void *loc_cpu_entry; in copy_entries_to_user() local 959 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in copy_entries_to_user() 960 if (copy_to_user(userptr, loc_cpu_entry, total_size) != 0) { in copy_entries_to_user() 972 e = (struct ip6t_entry *)(loc_cpu_entry + off); in copy_entries_to_user() 1067 void *loc_cpu_entry; in compat_table_info() local 1076 loc_cpu_entry = info->entries[raw_smp_processor_id()]; in compat_table_info() 1078 xt_entry_foreach(iter, loc_cpu_entry, info->size) { in compat_table_info() 1079 ret = compat_calc_entry(iter, info, loc_cpu_entry, newinfo); in compat_table_info() 1269 void *loc_cpu_entry; in do_replace() local 1288 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in do_replace() [all …]
|