Searched refs:pqueue (Results 1 – 4 of 4) sorted by relevance
85 struct otx2_cpt_pending_queue *pqueue, in process_request() argument114 spin_lock_bh(&pqueue->lock); in process_request()115 pentry = get_free_pending_entry(pqueue, pqueue->qlen); in process_request()118 spin_unlock_bh(&pqueue->lock); 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()185 spin_unlock_bh(&pqueue->lock); in process_request()191 spin_unlock_bh(&pqueue->lock); in process_request()[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
298 struct otx_cpt_pending_queue *pqueue, in process_request() argument324 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 …]