Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/marvell/octeontx/
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-v5.10/drivers/crypto/cavium/cpt/
Dcptvf_reqmanager.c333 struct pending_queue *pqueue = &pqinfo->queue[qno]; in process_pending_queue() local
340 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 …]
/Linux-v5.10/drivers/staging/rtl8712/
Dosdep_service.h42 #define _init_queue(pqueue) \ argument
44 INIT_LIST_HEAD(&((pqueue)->queue)); \
45 spin_lock_init(&((pqueue)->lock)); \
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/
Dosdep_service.c21 void _rtw_init_queue(struct __queue *pqueue) in _rtw_init_queue() argument
23 INIT_LIST_HEAD(&pqueue->queue); in _rtw_init_queue()
24 spin_lock_init(&pqueue->lock); in _rtw_init_queue()
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/
Dosdep_service.c56 void _rtw_init_queue(struct __queue *pqueue) in _rtw_init_queue() argument
58 INIT_LIST_HEAD(&(pqueue->queue)); in _rtw_init_queue()
60 spin_lock_init(&(pqueue->lock)); in _rtw_init_queue()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_xmit.c2589 struct __queue *pqueue; in enqueue_pending_xmitbuf() local
2592 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() local
2608 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 …]
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Drtl8723bs_xmit.c640 struct __queue *pqueue; in rtl8723bs_free_xmit_priv() local
646 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()
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Dosdep_service.h67 void _rtw_init_queue(struct __queue *pqueue);
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Dosdep_service.h108 extern void _rtw_init_queue(struct __queue *pqueue);