/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_reqmgr.c | 231 struct otx2_cpt_pending_queue *pqueue, in process_request() 260 spin_lock_bh(&pqueue->lock); in process_request() 261 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request() 264 spin_unlock_bh(&pqueue->lock); 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 in process_request() 230 process_request(struct pci_dev *pdev, struct otx2_cpt_req_info *req, struct otx2_cpt_pending_queue *pqueue, struct otx2_cptlf_info *lf) process_request() argument 431 process_pending_queue(struct otx2_cptlfs_info *lfs, struct otx2_cpt_pending_queue *pqueue) process_pending_queue() argument [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 | 93 struct otx2_cpt_pending_queue pqueue; /* Pending queue */ member
|
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_reqmgr.c | 298 struct otx_cpt_pending_queue *pqueue, in process_request() 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 in process_request() 297 process_request(struct pci_dev *pdev, struct otx_cpt_req_info *req, struct otx_cpt_pending_queue *pqueue, struct otx_cptvf *cptvf) process_request() argument 504 process_pending_queue(struct pci_dev *pdev, struct otx_cpt_pending_queue *pqueue) process_pending_queue() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_reqmgr.c | 298 struct otx_cpt_pending_queue *pqueue, in process_request() 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 in process_request() 297 process_request(struct pci_dev *pdev, struct otx_cpt_req_info *req, struct otx_cpt_pending_queue *pqueue, struct otx_cptvf *cptvf) process_request() argument 504 process_pending_queue(struct pci_dev *pdev, struct otx_cpt_pending_queue *pqueue) process_pending_queue() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/ |
H A D | cptvf_reqmanager.c | 333 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 in process_pending_queue() 418 struct pending_queue *pqueue = NULL; process_request() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/cavium/cpt/ |
H A D | cptvf_reqmanager.c | 329 struct pending_queue *pqueue = &pqinfo->queue[qno]; in process_pending_queue() local 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() 360 atomic64_dec((&pqueue->pending_count)); in process_pending_queue() 364 spin_unlock_bh(&pqueue->lock); in process_pending_queue() 374 atomic64_dec((&pqueue->pending_count)); in process_pending_queue() 378 spin_unlock_bh(&pqueue in process_pending_queue() 414 struct pending_queue *pqueue = NULL; process_request() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
H A D | osdep_service.h | 42 #define _init_queue(pqueue) \ 44 INIT_LIST_HEAD(&((pqueue)->queue)); \ 45 spin_lock_init(&((pqueue)->lock)); \
|
/kernel/linux/linux-6.6/drivers/staging/rtl8712/ |
H A D | osdep_service.h | 41 #define _init_queue(pqueue) \ 43 INIT_LIST_HEAD(&((pqueue)->queue)); \ 44 spin_lock_init(&((pqueue)->lock)); \
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
H A D | osdep_service.c | 21 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()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
H A D | rtw_xmit.c | 2589 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 in enqueue_pending_xmitbuf_to_head() 2620 struct __queue *pqueue; dequeue_pending_xmitbuf() local 2645 struct __queue *pqueue; dequeue_pending_xmitbuf_under_survey() local 2685 struct __queue *pqueue; check_pending_xmitbuf() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/ |
H A D | rtw_xmit.c | 2379 struct __queue *pqueue; in enqueue_pending_xmitbuf() local 2382 pqueue = &pxmitpriv->pending_xmitbuf_queue; in enqueue_pending_xmitbuf() 2384 spin_lock_bh(&pqueue->lock); in enqueue_pending_xmitbuf() 2386 list_add_tail(&pxmitbuf->list, get_list_head(pqueue)); in enqueue_pending_xmitbuf() 2387 spin_unlock_bh(&pqueue->lock); in enqueue_pending_xmitbuf() 2394 struct __queue *pqueue; in enqueue_pending_xmitbuf_to_head() local 2396 pqueue = &pxmitpriv->pending_xmitbuf_queue; in enqueue_pending_xmitbuf_to_head() 2398 spin_lock_bh(&pqueue->lock); in enqueue_pending_xmitbuf_to_head() 2400 list_add(&pxmitbuf->list, get_list_head(pqueue)); in enqueue_pending_xmitbuf_to_head() 2401 spin_unlock_bh(&pqueue in enqueue_pending_xmitbuf_to_head() 2407 struct __queue *pqueue; dequeue_pending_xmitbuf() local 2431 struct __queue *pqueue; dequeue_pending_xmitbuf_under_survey() local 2470 struct __queue *pqueue; check_pending_xmitbuf() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/ |
H A D | rtl8723bs_xmit.c | 640 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()
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/ |
H A D | rtl8723bs_xmit.c | 565 struct __queue *pqueue; in rtl8723bs_free_xmit_priv() local 571 pqueue = &pxmitpriv->pending_xmitbuf_queue; in rtl8723bs_free_xmit_priv() 572 phead = get_list_head(pqueue); in rtl8723bs_free_xmit_priv() 575 spin_lock_bh(&pqueue->lock); in rtl8723bs_free_xmit_priv() 576 if (!list_empty(&pqueue->queue)) { in rtl8723bs_free_xmit_priv() 582 spin_unlock_bh(&pqueue->lock); in rtl8723bs_free_xmit_priv()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/ |
H A D | osdep_service.c | 56 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()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/ |
H A D | osdep_service.h | 67 void _rtw_init_queue(struct __queue *pqueue);
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/ |
H A D | osdep_service.h | 74 extern void _rtw_init_queue(struct __queue *pqueue);
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
H A D | osdep_service.h | 108 extern void _rtw_init_queue(struct __queue *pqueue);
|