Lines Matching defs:pqueue
329 struct pending_queue *pqueue = &pqinfo->queue[qno];
336 spin_lock_bh(&pqueue->lock);
337 pentry = &pqueue->head[pqueue->front];
339 spin_unlock_bh(&pqueue->lock);
347 spin_unlock_bh(&pqueue->lock);
360 atomic64_dec((&pqueue->pending_count));
364 spin_unlock_bh(&pqueue->lock);
374 atomic64_dec((&pqueue->pending_count));
378 spin_unlock_bh(&pqueue->lock);
385 spin_unlock_bh(&pqueue->lock);
393 atomic64_dec((&pqueue->pending_count));
395 spin_unlock_bh(&pqueue->lock);
414 struct pending_queue *pqueue = NULL;
476 pqueue = &cptvf->pqinfo.queue[queue];
478 if (atomic64_read(&pqueue->pending_count) > PENDING_THOLD) {
484 spin_lock_bh(&pqueue->lock);
485 pentry = get_free_pending_entry(pqueue, cptvf->pqinfo.qlen);
487 spin_unlock_bh(&pqueue->lock);
495 queue, pqueue->rear, pqueue->front);
506 atomic64_inc(&pqueue->pending_count);
525 spin_unlock_bh(&pqueue->lock);