Searched refs:_q_ptr (Results 1 – 1 of 1) sorted by relevance
146 #define BNA_QE_FREE_CNT(_q_ptr, _q_depth) \ argument147 (((_q_ptr)->consumer_index - (_q_ptr)->producer_index - 1) & \150 #define BNA_QE_IN_USE_CNT(_q_ptr, _q_depth) \ argument151 ((((_q_ptr)->producer_index - (_q_ptr)->consumer_index)) & \154 #define BNA_Q_GET_CI(_q_ptr) ((_q_ptr)->q.consumer_index) argument156 #define BNA_Q_GET_PI(_q_ptr) ((_q_ptr)->q.producer_index) argument158 #define BNA_Q_PI_ADD(_q_ptr, _num) \ argument159 (_q_ptr)->q.producer_index = \160 (((_q_ptr)->q.producer_index + (_num)) & \161 ((_q_ptr)->q.q_depth - 1))[all …]