Home
last modified time | relevance | path

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

/linux/drivers/crypto/marvell/octeontx2/
A Dotx2_cptvf_reqmgr.c260 spin_lock_bh(&pqueue->lock); in process_request()
261 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()
266 spin_lock_bh(&pqueue->lock); in process_request()
267 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()
281 pqueue->pending_count > (pqueue->qlen - CPT_IQ_STOP_MARGIN)) { in process_request()
286 pqueue->pending_count++; in process_request()
445 spin_lock_bh(&pqueue->lock); in process_pending_queue()
446 pentry = &pqueue->head[pqueue->front]; in process_pending_queue()
494 resume_index = modulo_inc(pqueue->front, pqueue->qlen, in process_pending_queue()
519 pqueue->pending_count--; in process_pending_queue()
[all …]
A Dotx2_cptvf_main.c176 kfree(lfs->lf[i].pqueue.head); in free_pending_queues()
177 lfs->lf[i].pqueue.head = NULL; in free_pending_queues()
189 lfs->lf[i].pqueue.qlen = OTX2_CPT_INST_QLEN_MSGS; in alloc_pending_queues()
190 size = lfs->lf[i].pqueue.qlen * in alloc_pending_queues()
193 lfs->lf[i].pqueue.head = kzalloc(size, GFP_KERNEL); in alloc_pending_queues()
194 if (!lfs->lf[i].pqueue.head) { in alloc_pending_queues()
200 spin_lock_init(&lfs->lf[i].pqueue.lock); in alloc_pending_queues()
A Dotx2_cptlf.h83 struct otx2_cpt_pending_queue pqueue; /* Pending queue */ member
/linux/drivers/crypto/marvell/octeontx/
A Dotx_cptvf_reqmgr.c324 spin_lock_bh(&pqueue->lock); in process_request()
325 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()
330 spin_lock_bh(&pqueue->lock); in process_request()
331 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()
346 pqueue->pending_count > (pqueue->qlen - CPT_IQ_STOP_MARGIN)) { in process_request()
351 pqueue->pending_count++; in process_request()
517 spin_lock_bh(&pqueue->lock); in process_pending_queue()
518 pentry = &pqueue->head[pqueue->front]; in process_pending_queue()
567 resume_index = modulo_inc(pqueue->front, pqueue->qlen, in process_pending_queue()
592 pqueue->pending_count--; in process_pending_queue()
[all …]
/linux/drivers/crypto/cavium/cpt/
A Dcptvf_reqmanager.c336 spin_lock_bh(&pqueue->lock); in process_pending_queue()
337 pentry = &pqueue->head[pqueue->front]; in process_pending_queue()
339 spin_unlock_bh(&pqueue->lock); in process_pending_queue()
347 spin_unlock_bh(&pqueue->lock); in process_pending_queue()
364 spin_unlock_bh(&pqueue->lock); in process_pending_queue()
378 spin_unlock_bh(&pqueue->lock); in process_pending_queue()
395 spin_unlock_bh(&pqueue->lock); in process_pending_queue()
484 spin_lock_bh(&pqueue->lock); in process_request()
487 spin_unlock_bh(&pqueue->lock); in process_request()
495 queue, pqueue->rear, pqueue->front); in process_request()
[all …]
/linux/drivers/staging/rtl8712/
A Dosdep_service.h41 #define _init_queue(pqueue) \ argument
43 INIT_LIST_HEAD(&((pqueue)->queue)); \
44 spin_lock_init(&((pqueue)->lock)); \
/linux/drivers/staging/rtl8723bs/core/
A Drtw_xmit.c2380 struct __queue *pqueue; in enqueue_pending_xmitbuf() local
2385 spin_lock_bh(&pqueue->lock); in enqueue_pending_xmitbuf()
2388 spin_unlock_bh(&pqueue->lock); in enqueue_pending_xmitbuf()
2395 struct __queue *pqueue; in enqueue_pending_xmitbuf_to_head() local
2399 spin_lock_bh(&pqueue->lock); in enqueue_pending_xmitbuf_to_head()
2408 struct __queue *pqueue; in dequeue_pending_xmitbuf() local
2413 spin_lock_bh(&pqueue->lock); in dequeue_pending_xmitbuf()
2432 struct __queue *pqueue; in dequeue_pending_xmitbuf_under_survey() local
2437 spin_lock_bh(&pqueue->lock); in dequeue_pending_xmitbuf_under_survey()
2471 struct __queue *pqueue; in check_pending_xmitbuf() local
[all …]
/linux/drivers/staging/rtl8723bs/hal/
A Drtl8723bs_xmit.c568 struct __queue *pqueue; in rtl8723bs_free_xmit_priv() local
574 pqueue = &pxmitpriv->pending_xmitbuf_queue; in rtl8723bs_free_xmit_priv()
575 phead = get_list_head(pqueue); in rtl8723bs_free_xmit_priv()
578 spin_lock_bh(&pqueue->lock); in rtl8723bs_free_xmit_priv()
579 if (!list_empty(&pqueue->queue)) { in rtl8723bs_free_xmit_priv()
585 spin_unlock_bh(&pqueue->lock); in rtl8723bs_free_xmit_priv()
/linux/drivers/staging/rtl8723bs/include/
A Dosdep_service.h74 extern void _rtw_init_queue(struct __queue *pqueue);

Completed in 17 milliseconds