Searched refs:ev_queue (Results 1 – 8 of 8) sorted by relevance
143 spin_lock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq()148 spin_unlock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq()153 spin_lock_irq(&file->async_file->ev_queue.lock); in ib_uverbs_release_ucq()158 spin_unlock_irq(&file->async_file->ev_queue.lock); in ib_uverbs_release_ucq()166 spin_lock_irq(&file->async_file->ev_queue.lock); in ib_uverbs_release_uevent()171 spin_unlock_irq(&file->async_file->ev_queue.lock); in ib_uverbs_release_uevent()222 static ssize_t ib_uverbs_event_read(struct ib_uverbs_event_queue *ev_queue, in ib_uverbs_event_read() argument231 spin_lock_irq(&ev_queue->lock); in ib_uverbs_event_read()233 while (list_empty(&ev_queue->event_list)) { in ib_uverbs_event_read()234 spin_unlock_irq(&ev_queue->lock); in ib_uverbs_event_read()[all …]
42 struct ib_uverbs_event_queue *ev_queue = cq->cq_context; in uverbs_free_cq() local53 ev_queue ? container_of(ev_queue, in uverbs_free_cq()55 ev_queue) : in uverbs_free_cq()124 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in UVERBS_HANDLER()
127 struct ib_uverbs_event_queue ev_queue; member135 struct ib_uverbs_event_queue ev_queue; member221 void ib_uverbs_init_event_queue(struct ib_uverbs_event_queue *ev_queue);
211 struct ib_uverbs_event_queue *event_queue = &comp_event_file->ev_queue; in uverbs_hot_unplug_completion_event_file()
973 ib_uverbs_init_event_queue(&ev_file->ev_queue); in ib_uverbs_create_comp_channel()1030 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in create_cq()
1599 struct devx_async_event_queue ev_queue; member1603 static void devx_init_event_queue(struct devx_async_event_queue *ev_queue) in devx_init_event_queue() argument1605 spin_lock_init(&ev_queue->lock); in devx_init_event_queue()1606 INIT_LIST_HEAD(&ev_queue->event_list); in devx_init_event_queue()1607 init_waitqueue_head(&ev_queue->poll_wait); in devx_init_event_queue()1608 atomic_set(&ev_queue->bytes_in_use, 0); in devx_init_event_queue()1609 ev_queue->is_destroyed = 0; in devx_init_event_queue()1623 devx_init_event_queue(&ev_file->ev_queue); in UVERBS_HANDLER()1666 struct devx_async_event_queue *ev_queue; in devx_query_callback() local1671 ev_queue = &ev_file->ev_queue; in devx_query_callback()[all …]
32 smc->q.ev_put = smc->q.ev_get = smc->q.ev_queue ; in ev_init()43 if (++smc->q.ev_put == &smc->q.ev_queue[MAX_EVENT]) in queue_event()44 smc->q.ev_put = smc->q.ev_queue ; in queue_event()108 if (++ev == &smc->q.ev_queue[MAX_EVENT]) in ev_dispatcher()109 ev = smc->q.ev_queue ; in ev_dispatcher()
74 struct event_queue ev_queue[MAX_EVENT]; member