Lines Matching refs:qsp
157 static __always_inline void hbm_update_stats(struct hbm_queue_stats *qsp,
169 if (qsp != NULL) {
171 __sync_add_and_fetch(&(qsp->bytes_total), len);
172 if (qsp->stats) {
174 if (qsp->firstPacketTime == 0)
175 qsp->firstPacketTime = curtime;
176 qsp->lastPacketTime = curtime;
177 __sync_add_and_fetch(&(qsp->pkts_total), 1);
179 __sync_add_and_fetch(&(qsp->pkts_marked), 1);
180 __sync_add_and_fetch(&(qsp->bytes_marked), len);
183 __sync_add_and_fetch(&(qsp->pkts_dropped), 1);
184 __sync_add_and_fetch(&(qsp->bytes_dropped),
188 __sync_add_and_fetch(&(qsp->pkts_ecn_ce), 1);
190 __sync_add_and_fetch(&(qsp->sum_cwnd),
192 __sync_add_and_fetch(&(qsp->sum_cwnd_cnt), 1);
195 __sync_add_and_fetch(&(qsp->sum_rtt),
197 __sync_add_and_fetch(&(qsp->sum_credit), credit);
204 __sync_add_and_fetch(&(qsp->returnValCount[0]),
207 __sync_add_and_fetch(&(qsp->returnValCount[1]),
210 __sync_add_and_fetch(&(qsp->returnValCount[2]),
213 __sync_add_and_fetch(&(qsp->returnValCount[3]),