Loading include/net/ip_vs.h +0 −17 Original line number Diff line number Diff line Loading @@ -377,22 +377,6 @@ struct ip_vs_stats { struct ip_vs_stats_user ustats0; /* reset values */ }; /* * Helper Macros for per cpu * ipvs->tot_stats->ustats.count */ #define IPVS_STAT_INC(ipvs, count) \ __this_cpu_inc((ipvs)->ustats->count) #define IPVS_STAT_ADD(ipvs, count, value) \ do {\ write_seqcount_begin(per_cpu_ptr((ipvs)->ustats_seq, \ raw_smp_processor_id())); \ __this_cpu_add((ipvs)->ustats->count, value); \ write_seqcount_end(per_cpu_ptr((ipvs)->ustats_seq, \ raw_smp_processor_id())); \ } while (0) struct dst_entry; struct iphdr; struct ip_vs_conn; Loading Loading @@ -853,7 +837,6 @@ struct netns_ipvs { /* ip_vs_ctl */ struct ip_vs_stats tot_stats; /* Statistics & est. */ seqcount_t *ustats_seq; /* u64 read retry */ int num_services; /* no of virtual services */ /* 1/rate drop and drop-entry variables */ Loading Loading
include/net/ip_vs.h +0 −17 Original line number Diff line number Diff line Loading @@ -377,22 +377,6 @@ struct ip_vs_stats { struct ip_vs_stats_user ustats0; /* reset values */ }; /* * Helper Macros for per cpu * ipvs->tot_stats->ustats.count */ #define IPVS_STAT_INC(ipvs, count) \ __this_cpu_inc((ipvs)->ustats->count) #define IPVS_STAT_ADD(ipvs, count, value) \ do {\ write_seqcount_begin(per_cpu_ptr((ipvs)->ustats_seq, \ raw_smp_processor_id())); \ __this_cpu_add((ipvs)->ustats->count, value); \ write_seqcount_end(per_cpu_ptr((ipvs)->ustats_seq, \ raw_smp_processor_id())); \ } while (0) struct dst_entry; struct iphdr; struct ip_vs_conn; Loading Loading @@ -853,7 +837,6 @@ struct netns_ipvs { /* ip_vs_ctl */ struct ip_vs_stats tot_stats; /* Statistics & est. */ seqcount_t *ustats_seq; /* u64 read retry */ int num_services; /* no of virtual services */ /* 1/rate drop and drop-entry variables */ Loading