Searched refs:loc_cpu_entry (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/net/ipv4/netfilter/ |
D | arp_tables.c | 767 void *loc_cpu_entry; in copy_entries_to_user() local 773 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in copy_entries_to_user() 775 if (copy_to_user(userptr, loc_cpu_entry, total_size) != 0) { in copy_entries_to_user() 785 e = (struct arpt_entry *)(loc_cpu_entry + off); in copy_entries_to_user() 862 void *loc_cpu_entry; in compat_table_info() local 871 loc_cpu_entry = info->entries[raw_smp_processor_id()]; in compat_table_info() 873 xt_entry_foreach(iter, loc_cpu_entry, info->size) { in compat_table_info() 874 ret = compat_calc_entry(iter, info, loc_cpu_entry, newinfo); in compat_table_info() 1065 void *loc_cpu_entry; in do_replace() local 1081 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in do_replace() [all …]
|
D | ip_tables.c | 933 const void *loc_cpu_entry; in copy_entries_to_user() local 943 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in copy_entries_to_user() 944 if (copy_to_user(userptr, loc_cpu_entry, total_size) != 0) { in copy_entries_to_user() 956 e = (struct ipt_entry *)(loc_cpu_entry + off); in copy_entries_to_user() 1051 void *loc_cpu_entry; in compat_table_info() local 1060 loc_cpu_entry = info->entries[raw_smp_processor_id()]; in compat_table_info() 1062 xt_entry_foreach(iter, loc_cpu_entry, info->size) { in compat_table_info() 1063 ret = compat_calc_entry(iter, info, loc_cpu_entry, newinfo); in compat_table_info() 1253 void *loc_cpu_entry; in do_replace() local 1269 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in do_replace() [all …]
|
/linux-3.4.99/net/ipv6/netfilter/ |
D | ip6_tables.c | 942 const void *loc_cpu_entry; in copy_entries_to_user() local 952 loc_cpu_entry = private->entries[raw_smp_processor_id()]; in copy_entries_to_user() 953 if (copy_to_user(userptr, loc_cpu_entry, total_size) != 0) { in copy_entries_to_user() 965 e = (struct ip6t_entry *)(loc_cpu_entry + off); in copy_entries_to_user() 1060 void *loc_cpu_entry; in compat_table_info() local 1069 loc_cpu_entry = info->entries[raw_smp_processor_id()]; in compat_table_info() 1071 xt_entry_foreach(iter, loc_cpu_entry, info->size) { in compat_table_info() 1072 ret = compat_calc_entry(iter, info, loc_cpu_entry, newinfo); in compat_table_info() 1262 void *loc_cpu_entry; in do_replace() local 1278 loc_cpu_entry = newinfo->entries[raw_smp_processor_id()]; in do_replace() [all …]
|