Searched refs:pqueue (Results 1 – 3 of 3) 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 …]
2378 struct __queue *pqueue; in enqueue_pending_xmitbuf() local2381 pqueue = &pxmitpriv->pending_xmitbuf_queue; in enqueue_pending_xmitbuf()2383 spin_lock_bh(&pqueue->lock); in enqueue_pending_xmitbuf()2385 list_add_tail(&pxmitbuf->list, get_list_head(pqueue)); in enqueue_pending_xmitbuf()2386 spin_unlock_bh(&pqueue->lock); in enqueue_pending_xmitbuf()2393 struct __queue *pqueue; in enqueue_pending_xmitbuf_to_head() local2395 pqueue = &pxmitpriv->pending_xmitbuf_queue; in enqueue_pending_xmitbuf_to_head()2397 spin_lock_bh(&pqueue->lock); in enqueue_pending_xmitbuf_to_head()2399 list_add(&pxmitbuf->list, get_list_head(pqueue)); in enqueue_pending_xmitbuf_to_head()2400 spin_unlock_bh(&pqueue->lock); in enqueue_pending_xmitbuf_to_head()[all …]
549 struct __queue *pqueue = &pxmitpriv->pending_xmitbuf_queue; in rtl8723bs_free_xmit_priv() local554 phead = get_list_head(pqueue); in rtl8723bs_free_xmit_priv()557 spin_lock_bh(&pqueue->lock); in rtl8723bs_free_xmit_priv()558 if (!list_empty(&pqueue->queue)) { in rtl8723bs_free_xmit_priv()564 spin_unlock_bh(&pqueue->lock); in rtl8723bs_free_xmit_priv()