Searched refs:pqueue (Results 1 – 6 of 6) sorted by relevance
298 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 in process_request() 505 process_pending_queue(struct pci_dev * pdev,struct otx_cpt_pending_queue * pqueue) process_pending_queue() argument [all...]
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...]
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()
94 struct otx2_cpt_pending_queue pqueue; /* Pending queue */ member
549 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()
74 extern void _rtw_init_queue(struct __queue *pqueue);