Home
last modified time | relevance | path

Searched refs:pqueue (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_reqmgr.c298 struct otx_cpt_pending_queue *pqueue, in process_request() argument
324 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 …]
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_xmit.c2378 struct __queue *pqueue; in enqueue_pending_xmitbuf() local
2381 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() local
2395 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 …]
/linux/drivers/staging/rtl8723bs/hal/
H A Drtl8723bs_xmit.c549 struct __queue *pqueue = &pxmitpriv->pending_xmitbuf_queue; in rtl8723bs_free_xmit_priv() local
554 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()