Lines Matching refs:qsp
160 static __always_inline void hbm_update_stats(struct hbm_queue_stats *qsp, in hbm_update_stats() argument
172 if (qsp != NULL) { in hbm_update_stats()
174 __sync_add_and_fetch(&(qsp->bytes_total), len); in hbm_update_stats()
175 if (qsp->stats) { in hbm_update_stats()
177 if (qsp->firstPacketTime == 0) in hbm_update_stats()
178 qsp->firstPacketTime = curtime; in hbm_update_stats()
179 qsp->lastPacketTime = curtime; in hbm_update_stats()
180 __sync_add_and_fetch(&(qsp->pkts_total), 1); in hbm_update_stats()
182 __sync_add_and_fetch(&(qsp->pkts_marked), 1); in hbm_update_stats()
183 __sync_add_and_fetch(&(qsp->bytes_marked), len); in hbm_update_stats()
186 __sync_add_and_fetch(&(qsp->pkts_dropped), 1); in hbm_update_stats()
187 __sync_add_and_fetch(&(qsp->bytes_dropped), in hbm_update_stats()
191 __sync_add_and_fetch(&(qsp->pkts_ecn_ce), 1); in hbm_update_stats()
193 __sync_add_and_fetch(&(qsp->sum_cwnd), in hbm_update_stats()
195 __sync_add_and_fetch(&(qsp->sum_cwnd_cnt), 1); in hbm_update_stats()
198 __sync_add_and_fetch(&(qsp->sum_rtt), in hbm_update_stats()
200 __sync_add_and_fetch(&(qsp->sum_credit), credit); in hbm_update_stats()
207 __sync_add_and_fetch(&(qsp->returnValCount[0]), in hbm_update_stats()
210 __sync_add_and_fetch(&(qsp->returnValCount[1]), in hbm_update_stats()
213 __sync_add_and_fetch(&(qsp->returnValCount[2]), in hbm_update_stats()
216 __sync_add_and_fetch(&(qsp->returnValCount[3]), in hbm_update_stats()