Searched refs:pqueue (Results 1 – 9 of 9) sorted by relevance
298 struct otx_cpt_pending_queue *pqueue, in process_request() argument324 spin_lock_bh(&pqueue->lock); in process_request()325 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()328 spin_unlock_bh(&pqueue->lock); in process_request()330 spin_lock_bh(&pqueue->lock); in process_request()331 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()336 spin_unlock_bh(&pqueue->lock); in process_request()346 pqueue->pending_count > (pqueue->qlen - CPT_IQ_STOP_MARGIN)) { in process_request()351 pqueue->pending_count++; in process_request()394 spin_unlock_bh(&pqueue->lock); in process_request()[all …]
333 struct pending_queue *pqueue = &pqinfo->queue[qno]; in process_pending_queue() local340 spin_lock_bh(&pqueue->lock); in process_pending_queue()341 pentry = &pqueue->head[pqueue->front]; in process_pending_queue()343 spin_unlock_bh(&pqueue->lock); in process_pending_queue()351 spin_unlock_bh(&pqueue->lock); in process_pending_queue()364 atomic64_dec((&pqueue->pending_count)); in process_pending_queue()368 spin_unlock_bh(&pqueue->lock); in process_pending_queue()378 atomic64_dec((&pqueue->pending_count)); in process_pending_queue()382 spin_unlock_bh(&pqueue->lock); in process_pending_queue()389 spin_unlock_bh(&pqueue->lock); in process_pending_queue()[all …]
42 #define _init_queue(pqueue) \ argument44 INIT_LIST_HEAD(&((pqueue)->queue)); \45 spin_lock_init(&((pqueue)->lock)); \
21 void _rtw_init_queue(struct __queue *pqueue) in _rtw_init_queue() argument23 INIT_LIST_HEAD(&pqueue->queue); in _rtw_init_queue()24 spin_lock_init(&pqueue->lock); in _rtw_init_queue()
56 void _rtw_init_queue(struct __queue *pqueue) in _rtw_init_queue() argument58 INIT_LIST_HEAD(&(pqueue->queue)); in _rtw_init_queue()60 spin_lock_init(&(pqueue->lock)); in _rtw_init_queue()
2589 struct __queue *pqueue; in enqueue_pending_xmitbuf() local2592 pqueue = &pxmitpriv->pending_xmitbuf_queue; in enqueue_pending_xmitbuf()2594 spin_lock_bh(&pqueue->lock); in enqueue_pending_xmitbuf()2596 list_add_tail(&pxmitbuf->list, get_list_head(pqueue)); in enqueue_pending_xmitbuf()2597 spin_unlock_bh(&pqueue->lock); in enqueue_pending_xmitbuf()2606 struct __queue *pqueue; in enqueue_pending_xmitbuf_to_head() local2608 pqueue = &pxmitpriv->pending_xmitbuf_queue; in enqueue_pending_xmitbuf_to_head()2610 spin_lock_bh(&pqueue->lock); in enqueue_pending_xmitbuf_to_head()2612 list_add(&pxmitbuf->list, get_list_head(pqueue)); in enqueue_pending_xmitbuf_to_head()2613 spin_unlock_bh(&pqueue->lock); in enqueue_pending_xmitbuf_to_head()[all …]
640 struct __queue *pqueue; in rtl8723bs_free_xmit_priv() local646 pqueue = &pxmitpriv->pending_xmitbuf_queue; in rtl8723bs_free_xmit_priv()647 phead = get_list_head(pqueue); in rtl8723bs_free_xmit_priv()650 spin_lock_bh(&pqueue->lock); in rtl8723bs_free_xmit_priv()651 if (!list_empty(&pqueue->queue)) { in rtl8723bs_free_xmit_priv()657 spin_unlock_bh(&pqueue->lock); in rtl8723bs_free_xmit_priv()
67 void _rtw_init_queue(struct __queue *pqueue);
108 extern void _rtw_init_queue(struct __queue *pqueue);