Searched refs:pqueue (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cptvf_reqmgr.c | 114 spin_lock_bh(&pqueue->lock); in process_request() 115 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request() 120 spin_lock_bh(&pqueue->lock); in process_request() 121 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request() 135 pqueue->pending_count > (pqueue->qlen - CPT_IQ_STOP_MARGIN)) { in process_request() 140 pqueue->pending_count++; in process_request() 300 spin_lock_bh(&pqueue->lock); in process_pending_queue() 301 pentry = &pqueue->head[pqueue->front]; in process_pending_queue() 349 resume_index = modulo_inc(pqueue->front, pqueue->qlen, in process_pending_queue() 374 pqueue->pending_count--; in process_pending_queue() [all …]
|
| H A D | otx2_cptvf_main.c | 176 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()
|
| H A D | otx2_cptlf.h | 94 struct otx2_cpt_pending_queue pqueue; /* Pending queue */ member
|
| /linux-6.15/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptvf_reqmgr.c | 324 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-6.15/drivers/crypto/cavium/cpt/ |
| H A D | cptvf_reqmanager.c | 336 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-6.15/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_xmit.c | 2380 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-6.15/drivers/staging/rtl8723bs/hal/ |
| H A D | rtl8723bs_xmit.c | 562 struct __queue *pqueue; in rtl8723bs_free_xmit_priv() local 568 pqueue = &pxmitpriv->pending_xmitbuf_queue; in rtl8723bs_free_xmit_priv() 569 phead = get_list_head(pqueue); in rtl8723bs_free_xmit_priv() 572 spin_lock_bh(&pqueue->lock); in rtl8723bs_free_xmit_priv() 573 if (!list_empty(&pqueue->queue)) { in rtl8723bs_free_xmit_priv() 579 spin_unlock_bh(&pqueue->lock); in rtl8723bs_free_xmit_priv()
|
| /linux-6.15/drivers/staging/rtl8723bs/include/ |
| H A D | osdep_service.h | 74 extern void _rtw_init_queue(struct __queue *pqueue);
|