Searched refs:Q_FREECNT (Results 1 – 2 of 2) sorted by relevance
373 num_wrs = Q_FREECNT(qhp->wq.sq_rptr, qhp->wq.sq_wptr, in iwch_post_send()483 num_wrs = Q_FREECNT(qhp->wq.rq_rptr, qhp->wq.rq_wptr, in iwch_post_receive()
50 #define Q_FREECNT(rptr,wptr,size_log2) ((1UL<<size_log2)-((wptr)-(rptr))) macro