Searched refs:ev_queue (Results 1 – 9 of 9) sorted by relevance
222 spin_lock_irq(&ev_queue->lock); in ib_uverbs_event_read()232 ev_queue->is_closed))) in ib_uverbs_event_read()235 spin_lock_irq(&ev_queue->lock); in ib_uverbs_event_read()238 if (list_empty(&ev_queue->event_list) && ev_queue->is_closed) { in ib_uverbs_event_read()257 spin_unlock_irq(&ev_queue->lock); in ib_uverbs_event_read()299 spin_lock_irq(&ev_queue->lock); in ib_uverbs_event_poll()302 else if (ev_queue->is_closed) in ib_uverbs_event_poll()366 if (!ev_queue) in ib_uverbs_comp_handler()370 if (ev_queue->is_closed) { in ib_uverbs_comp_handler()476 ev_queue->is_closed = 0; in ib_uverbs_init_event_queue()[all …]
43 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()125 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in UVERBS_HANDLER()
127 struct ib_uverbs_event_queue ev_queue; member133 struct ib_uverbs_event_queue ev_queue; member219 void ib_uverbs_init_event_queue(struct ib_uverbs_event_queue *ev_queue);
55 ib_uverbs_free_event_queue(&event_file->ev_queue); in uverbs_async_event_release()
165 ib_uverbs_free_event_queue(&file->ev_queue); in uverbs_completion_event_file_destroy_uobj()
994 ib_uverbs_init_event_queue(&ev_file->ev_queue); in ib_uverbs_create_comp_channel()1045 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in create_cq()
1662 ev_queue->is_destroyed = 0; in devx_init_event_queue()1718 struct devx_async_event_queue *ev_queue = &ev_file->ev_queue; in devx_query_callback() local2549 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; in devx_async_cmd_event_read() local2554 spin_lock_irq(&ev_queue->lock); in devx_async_cmd_event_read()2563 ev_queue->poll_wait, in devx_async_cmd_event_read()2570 if (ev_queue->is_destroyed) { in devx_async_cmd_event_read()2603 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; in devx_async_cmd_event_poll() local2608 spin_lock_irq(&ev_queue->lock); in devx_async_cmd_event_poll()2609 if (ev_queue->is_destroyed) in devx_async_cmd_event_poll()2747 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; in devx_async_cmd_event_destroy_uobj() local[all …]
28 smc->q.ev_put = smc->q.ev_get = smc->q.ev_queue ; in ev_init()39 if (++smc->q.ev_put == &smc->q.ev_queue[MAX_EVENT]) in queue_event()40 smc->q.ev_put = smc->q.ev_queue ; in queue_event()104 if (++ev == &smc->q.ev_queue[MAX_EVENT]) in ev_dispatcher()105 ev = smc->q.ev_queue ; in ev_dispatcher()
74 struct event_queue ev_queue[MAX_EVENT]; member
Completed in 25 milliseconds