Lines Matching refs:_smc_stats
92 #define SMC_STAT_PAYLOAD_SUB(_smc_stats, _tech, key, _len, _rc) \ argument
94 typeof(_smc_stats) stats = (_smc_stats); \
114 struct smc_stats __percpu *_smc_stats = _net->smc.smc_stats; \
119 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_D, tx, _len, _rc); \
121 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_R, tx, _len, _rc); \
129 struct smc_stats __percpu *_smc_stats = _net->smc.smc_stats; \
134 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_D, rx, _len, _rc); \
136 SMC_STAT_PAYLOAD_SUB(_smc_stats, SMC_TYPE_R, rx, _len, _rc); \
140 #define SMC_STAT_RMB_SIZE_SUB(_smc_stats, _tech, k, _is_add, _len) \ argument
142 typeof(_smc_stats) stats = (_smc_stats); \
161 #define SMC_STAT_RMB_SUB(_smc_stats, type, t, key) \ argument
162 this_cpu_inc((*(_smc_stats)).smc[t].rmb ## _ ## key.type ## _cnt)
167 struct smc_stats __percpu *_smc_stats = _net->smc.smc_stats; \
173 SMC_STAT_RMB_SIZE_SUB(_smc_stats, SMC_TYPE_D, rx, is_add, l); \
175 SMC_STAT_RMB_SIZE_SUB(_smc_stats, SMC_TYPE_D, tx, is_add, l); \
177 SMC_STAT_RMB_SIZE_SUB(_smc_stats, SMC_TYPE_R, rx, is_add, l); \
179 SMC_STAT_RMB_SIZE_SUB(_smc_stats, SMC_TYPE_R, tx, is_add, l); \
186 struct smc_stats __percpu *_smc_stats = net->smc.smc_stats; \
190 SMC_STAT_RMB_SUB(_smc_stats, type, SMC_TYPE_D, rx); \
192 SMC_STAT_RMB_SUB(_smc_stats, type, SMC_TYPE_D, tx); \
194 SMC_STAT_RMB_SUB(_smc_stats, type, SMC_TYPE_R, rx); \
196 SMC_STAT_RMB_SUB(_smc_stats, type, SMC_TYPE_R, tx); \