Lines Matching defs:pqueue
333 struct pending_queue *pqueue = &pqinfo->queue[qno];
340 spin_lock_bh(&pqueue->lock);
341 pentry = &pqueue->head[pqueue->front];
343 spin_unlock_bh(&pqueue->lock);
351 spin_unlock_bh(&pqueue->lock);
364 atomic64_dec((&pqueue->pending_count));
368 spin_unlock_bh(&pqueue->lock);
378 atomic64_dec((&pqueue->pending_count));
382 spin_unlock_bh(&pqueue->lock);
389 spin_unlock_bh(&pqueue->lock);
397 atomic64_dec((&pqueue->pending_count));
399 spin_unlock_bh(&pqueue->lock);
418 struct pending_queue *pqueue = NULL;
480 pqueue = &cptvf->pqinfo.queue[queue];
482 if (atomic64_read(&pqueue->pending_count) > PENDING_THOLD) {
488 spin_lock_bh(&pqueue->lock);
489 pentry = get_free_pending_entry(pqueue, cptvf->pqinfo.qlen);
491 spin_unlock_bh(&pqueue->lock);
499 queue, pqueue->rear, pqueue->front);
510 atomic64_inc(&pqueue->pending_count);
529 spin_unlock_bh(&pqueue->lock);