Lines Matching refs:smc
86 struct smc_stats_tech smc[2]; member
99 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; \
145 this_cpu_inc((*(_smc_stats)).smc[t].k ## _rmbsize.buf[_pos]); \
150 this_cpu_inc((*(_smc_stats)).smc[t].rmb ## _ ## key.type ## _cnt)
155 struct smc_stats __percpu *_smc_stats = _net->smc.smc_stats; \
173 struct smc_stats __percpu *_smc_stats = net->smc.smc_stats; \
187 #define SMC_STAT_BUF_REUSE(smc, is_smcd, is_rx) \ argument
188 SMC_STAT_RMB(smc, reuse, is_smcd, is_rx)
190 #define SMC_STAT_RMB_ALLOC(smc, is_smcd, is_rx) \ argument
191 SMC_STAT_RMB(smc, alloc, is_smcd, is_rx)
193 #define SMC_STAT_RMB_DOWNGRADED(smc, is_smcd, is_rx) \ argument
194 SMC_STAT_RMB(smc, dgrade, is_smcd, is_rx)
196 #define SMC_STAT_RMB_TX_PEER_FULL(smc, is_smcd) \ argument
197 SMC_STAT_RMB(smc, buf_full_peer, is_smcd, false)
199 #define SMC_STAT_RMB_TX_FULL(smc, is_smcd) \ argument
200 SMC_STAT_RMB(smc, buf_full, is_smcd, false)
202 #define SMC_STAT_RMB_TX_PEER_SIZE_SMALL(smc, is_smcd) \ argument
203 SMC_STAT_RMB(smc, buf_size_small_peer, is_smcd, false)
205 #define SMC_STAT_RMB_TX_SIZE_SMALL(smc, is_smcd) \ argument
206 SMC_STAT_RMB(smc, buf_size_small, is_smcd, false)
208 #define SMC_STAT_RMB_RX_SIZE_SMALL(smc, is_smcd) \ argument
209 SMC_STAT_RMB(smc, buf_size_small, is_smcd, true)
211 #define SMC_STAT_RMB_RX_FULL(smc, is_smcd) \ argument
212 SMC_STAT_RMB(smc, buf_full, is_smcd, true)
219 struct smc_stats __percpu *smc_stats = net->smc.smc_stats; \
221 this_cpu_inc(smc_stats->smc[SMC_TYPE_D].type); \
223 this_cpu_inc(smc_stats->smc[SMC_TYPE_R].type); \
232 struct smc_stats __percpu *smc_stats = (net)->smc.smc_stats; \
234 this_cpu_inc(smc_stats->smc[SMC_TYPE_D].clnt_v2_succ_cnt); \
236 this_cpu_inc(smc_stats->smc[SMC_TYPE_R].clnt_v2_succ_cnt); \
238 this_cpu_inc(smc_stats->smc[SMC_TYPE_D].clnt_v1_succ_cnt); \
240 this_cpu_inc(smc_stats->smc[SMC_TYPE_R].clnt_v1_succ_cnt); \
249 typeof(net->smc.smc_stats) smc_stats = (net)->smc.smc_stats; \
251 this_cpu_inc(smc_stats->smc[SMC_TYPE_D].srv_v2_succ_cnt); \
253 this_cpu_inc(smc_stats->smc[SMC_TYPE_R].srv_v2_succ_cnt); \
255 this_cpu_inc(smc_stats->smc[SMC_TYPE_D].srv_v1_succ_cnt); \
257 this_cpu_inc(smc_stats->smc[SMC_TYPE_R].srv_v1_succ_cnt); \