Searched refs:dbq (Results 1 – 1 of 1) sorted by relevance
491 struct doorbell_queue *dbq; in fsl_hv_queue_doorbell() local497 list_for_each_entry(dbq, &db_list, list) { in fsl_hv_queue_doorbell()498 if (dbq->head != nextp(dbq->tail)) { in fsl_hv_queue_doorbell()499 dbq->q[dbq->tail] = doorbell; in fsl_hv_queue_doorbell()505 dbq->tail = nextp(dbq->tail); in fsl_hv_queue_doorbell()506 wake_up_interruptible(&dbq->wait); in fsl_hv_queue_doorbell()572 struct doorbell_queue *dbq = filp->private_data; in fsl_hv_poll() local576 spin_lock_irqsave(&dbq->lock, flags); in fsl_hv_poll()578 poll_wait(filp, &dbq->wait, p); in fsl_hv_poll()579 mask = (dbq->head == dbq->tail) ? 0 : (EPOLLIN | EPOLLRDNORM); in fsl_hv_poll()[all …]