Lines Matching defs:pqueue
298 struct otx_cpt_pending_queue *pqueue,
324 spin_lock_bh(&pqueue->lock);
325 pentry = get_free_pending_entry(pqueue, pqueue->qlen);
328 spin_unlock_bh(&pqueue->lock);
330 spin_lock_bh(&pqueue->lock);
331 pentry = get_free_pending_entry(pqueue, pqueue->qlen);
336 spin_unlock_bh(&pqueue->lock);
346 pqueue->pending_count > (pqueue->qlen - CPT_IQ_STOP_MARGIN)) {
351 pqueue->pending_count++;
394 spin_unlock_bh(&pqueue->lock);
505 struct otx_cpt_pending_queue *pqueue)
517 spin_lock_bh(&pqueue->lock);
518 pentry = &pqueue->head[pqueue->front];
521 spin_unlock_bh(&pqueue->lock);
527 spin_unlock_bh(&pqueue->lock);
556 spin_unlock_bh(&pqueue->lock);
567 resume_index = modulo_inc(pqueue->front, pqueue->qlen,
569 resume_pentry = &pqueue->head[resume_index];
577 spin_unlock_bh(&pqueue->lock);
584 spin_lock_bh(&pqueue->lock);
592 pqueue->pending_count--;
593 pqueue->front = modulo_inc(pqueue->front, pqueue->qlen, 1);
594 spin_unlock_bh(&pqueue->lock);