Lines Matching refs:smc
85 struct smc_stats_tech smc[2]; member
98 this_cpu_inc((*stats).smc[t].key ## _cnt); \
103 this_cpu_inc((*stats).smc[t].key ## _pd.buf[_pos]); \
104 this_cpu_add((*stats).smc[t].key ## _bytes, r); \
112 struct smc_stats __percpu *_smc_stats = _net->smc.smc_stats; \
127 struct smc_stats __percpu *_smc_stats = _net->smc.smc_stats; \
148 this_cpu_inc((*(_smc_stats)).smc[t].k ## _rmbsize.buf[_pos]); \
153 this_cpu_inc((*(_smc_stats)).smc[t].rmb ## _ ## key.type ## _cnt)
158 struct smc_stats __percpu *_smc_stats = _net->smc.smc_stats; \
176 struct smc_stats __percpu *_smc_stats = net->smc.smc_stats; \
190 #define SMC_STAT_BUF_REUSE(smc, is_smcd, is_rx) \ argument
191 SMC_STAT_RMB(smc, reuse, is_smcd, is_rx)
193 #define SMC_STAT_RMB_ALLOC(smc, is_smcd, is_rx) \ argument
194 SMC_STAT_RMB(smc, alloc, is_smcd, is_rx)
196 #define SMC_STAT_RMB_DOWNGRADED(smc, is_smcd, is_rx) \ argument
197 SMC_STAT_RMB(smc, dgrade, is_smcd, is_rx)
199 #define SMC_STAT_RMB_TX_PEER_FULL(smc, is_smcd) \ argument
200 SMC_STAT_RMB(smc, buf_full_peer, is_smcd, false)
202 #define SMC_STAT_RMB_TX_FULL(smc, is_smcd) \ argument
203 SMC_STAT_RMB(smc, buf_full, is_smcd, false)
205 #define SMC_STAT_RMB_TX_PEER_SIZE_SMALL(smc, is_smcd) \ argument
206 SMC_STAT_RMB(smc, buf_size_small_peer, is_smcd, false)
208 #define SMC_STAT_RMB_TX_SIZE_SMALL(smc, is_smcd) \ argument
209 SMC_STAT_RMB(smc, buf_size_small, is_smcd, false)
211 #define SMC_STAT_RMB_RX_SIZE_SMALL(smc, is_smcd) \ argument
212 SMC_STAT_RMB(smc, buf_size_small, is_smcd, true)
214 #define SMC_STAT_RMB_RX_FULL(smc, is_smcd) \ argument
215 SMC_STAT_RMB(smc, buf_full, is_smcd, true)
222 struct smc_stats __percpu *smc_stats = net->smc.smc_stats; \
224 this_cpu_inc(smc_stats->smc[SMC_TYPE_D].type); \
226 this_cpu_inc(smc_stats->smc[SMC_TYPE_R].type); \
235 struct smc_stats __percpu *smc_stats = (net)->smc.smc_stats; \
237 this_cpu_inc(smc_stats->smc[SMC_TYPE_D].clnt_v2_succ_cnt); \
239 this_cpu_inc(smc_stats->smc[SMC_TYPE_R].clnt_v2_succ_cnt); \
241 this_cpu_inc(smc_stats->smc[SMC_TYPE_D].clnt_v1_succ_cnt); \
243 this_cpu_inc(smc_stats->smc[SMC_TYPE_R].clnt_v1_succ_cnt); \
253 typeof(net->smc.smc_stats) smc_stats = (net)->smc.smc_stats; \
255 this_cpu_inc(smc_stats->smc[SMC_TYPE_D].srv_v2_succ_cnt); \
257 this_cpu_inc(smc_stats->smc[SMC_TYPE_R].srv_v2_succ_cnt); \
259 this_cpu_inc(smc_stats->smc[SMC_TYPE_D].srv_v1_succ_cnt); \
261 this_cpu_inc(smc_stats->smc[SMC_TYPE_R].srv_v1_succ_cnt); \