Searched refs:diagpkt_count (Results 1 – 2 of 2) sorted by relevance
83 static atomic_t diagpkt_count = ATOMIC_INIT(0); variable92 if (atomic_inc_return(&diagpkt_count) == 1) { in ipath_diag_add()119 if (atomic_dec_and_test(&diagpkt_count)) in ipath_diag_remove()
147 static atomic_t diagpkt_count = ATOMIC_INIT(0); variable165 if (atomic_inc_return(&diagpkt_count) == 1) { in qib_diag_add()187 if (atomic_dec_and_test(&diagpkt_count)) in qib_diag_remove()