Home
last modified time | relevance | path

Searched refs:ev_queue (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/infiniband/core/
Duverbs_main.c137 spin_lock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq()
142 spin_unlock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq()
158 spin_lock_irq(&async_file->ev_queue.lock); in ib_uverbs_release_uevent()
163 spin_unlock_irq(&async_file->ev_queue.lock); in ib_uverbs_release_uevent()
214 static ssize_t ib_uverbs_event_read(struct ib_uverbs_event_queue *ev_queue, in ib_uverbs_event_read() argument
222 spin_lock_irq(&ev_queue->lock); in ib_uverbs_event_read()
224 while (list_empty(&ev_queue->event_list)) { in ib_uverbs_event_read()
225 spin_unlock_irq(&ev_queue->lock); in ib_uverbs_event_read()
230 if (wait_event_interruptible(ev_queue->poll_wait, in ib_uverbs_event_read()
231 (!list_empty(&ev_queue->event_list) || in ib_uverbs_event_read()
[all …]
Duverbs_std_types_cq.c43 struct ib_uverbs_event_queue *ev_queue = cq->cq_context; in uverbs_free_cq() local
53 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()
Duverbs.h127 struct ib_uverbs_event_queue ev_queue; member
133 struct ib_uverbs_event_queue ev_queue; member
219 void ib_uverbs_init_event_queue(struct ib_uverbs_event_queue *ev_queue);
Duverbs_std_types_async_fd.c55 ib_uverbs_free_event_queue(&event_file->ev_queue); in uverbs_async_event_release()
Duverbs_std_types.c165 ib_uverbs_free_event_queue(&file->ev_queue); in uverbs_completion_event_file_destroy_uobj()
Duverbs_cmd.c997 ib_uverbs_init_event_queue(&ev_file->ev_queue); in ib_uverbs_create_comp_channel()
1048 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in create_cq()
/linux-6.1.9/drivers/net/fddi/skfp/
Dqueue.c28 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()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Ddevx.c1663 struct devx_async_event_queue ev_queue; member
1667 static void devx_init_event_queue(struct devx_async_event_queue *ev_queue) in devx_init_event_queue() argument
1669 spin_lock_init(&ev_queue->lock); in devx_init_event_queue()
1670 INIT_LIST_HEAD(&ev_queue->event_list); in devx_init_event_queue()
1671 init_waitqueue_head(&ev_queue->poll_wait); in devx_init_event_queue()
1672 atomic_set(&ev_queue->bytes_in_use, 0); in devx_init_event_queue()
1673 ev_queue->is_destroyed = 0; in devx_init_event_queue()
1687 devx_init_event_queue(&ev_file->ev_queue); in UVERBS_HANDLER()
1729 struct devx_async_event_queue *ev_queue = &ev_file->ev_queue; in devx_query_callback() local
1737 spin_lock_irqsave(&ev_queue->lock, flags); in devx_query_callback()
[all …]
/linux-6.1.9/drivers/net/fddi/skfp/h/
Dsmc.h74 struct event_queue ev_queue[MAX_EVENT]; member