Searched refs:diagpkt_count (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_diag.c83 static atomic_t diagpkt_count = ATOMIC_INIT(0); variable
92 if (atomic_inc_return(&diagpkt_count) == 1) { ipath_diag_add()
119 if (atomic_dec_and_test(&diagpkt_count)) ipath_diag_remove()
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_diag.c147 static atomic_t diagpkt_count = ATOMIC_INIT(0); variable
165 if (atomic_inc_return(&diagpkt_count) == 1) { qib_diag_add()
187 if (atomic_dec_and_test(&diagpkt_count)) qib_diag_remove()
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Ddiag.c133 static atomic_t diagpkt_count = ATOMIC_INIT(0); variable
292 if (atomic_inc_return(&diagpkt_count) == 1) { hfi1_diag_add()
328 if (atomic_dec_and_test(&diagpkt_count)) hfi1_diag_remove()

Completed in 128 milliseconds