Searched refs:ev_queue (Results 1 – 7 of 7) sorted by relevance
201 spin_lock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq()206 spin_unlock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq()211 spin_lock_irq(&file->async_file->ev_queue.lock); in ib_uverbs_release_ucq()216 spin_unlock_irq(&file->async_file->ev_queue.lock); in ib_uverbs_release_ucq()224 spin_lock_irq(&file->async_file->ev_queue.lock); in ib_uverbs_release_uevent()229 spin_unlock_irq(&file->async_file->ev_queue.lock); in ib_uverbs_release_uevent()272 static ssize_t ib_uverbs_event_read(struct ib_uverbs_event_queue *ev_queue, in ib_uverbs_event_read() argument281 spin_lock_irq(&ev_queue->lock); in ib_uverbs_event_read()283 while (list_empty(&ev_queue->event_list)) { in ib_uverbs_event_read()284 spin_unlock_irq(&ev_queue->lock); in ib_uverbs_event_read()[all …]
41 struct ib_uverbs_event_queue *ev_queue = cq->cq_context; in uverbs_free_cq() local52 ev_queue ? container_of(ev_queue, in uverbs_free_cq()54 ev_queue) : in uverbs_free_cq()127 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in UVERBS_HANDLER()
126 struct ib_uverbs_event_queue ev_queue; member134 struct ib_uverbs_event_queue ev_queue; member228 void ib_uverbs_init_event_queue(struct ib_uverbs_event_queue *ev_queue);
200 struct ib_uverbs_event_queue *event_queue = &comp_event_file->ev_queue; in uverbs_hot_unplug_completion_event_file()
964 ib_uverbs_init_event_queue(&ev_file->ev_queue); in ib_uverbs_create_comp_channel()1037 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in create_cq()
36 smc->q.ev_put = smc->q.ev_get = smc->q.ev_queue ; in ev_init()47 if (++smc->q.ev_put == &smc->q.ev_queue[MAX_EVENT]) in queue_event()48 smc->q.ev_put = smc->q.ev_queue ; in queue_event()112 if (++ev == &smc->q.ev_queue[MAX_EVENT]) in ev_dispatcher()113 ev = smc->q.ev_queue ; in ev_dispatcher()
78 struct event_queue ev_queue[MAX_EVENT]; member