/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | uverbs_main.c | 137 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 if (ev_queue->is_closed) { in ib_uverbs_event_read() 226 spin_unlock_irq(&ev_queue->lock); in ib_uverbs_event_read() 230 spin_unlock_irq(&ev_queue in ib_uverbs_event_read() 289 ib_uverbs_event_poll(struct ib_uverbs_event_queue *ev_queue, struct file *filp, struct poll_table_struct *wait) ib_uverbs_event_poll() argument 359 struct ib_uverbs_event_queue *ev_queue = cq_context; ib_uverbs_comp_handler() local 469 ib_uverbs_init_event_queue(struct ib_uverbs_event_queue *ev_queue) ib_uverbs_init_event_queue() argument [all...] |
H A D | uverbs_std_types_cq.c | 43 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_METHOD_CQ_CREATE()
|
H A D | uverbs.h | 127 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);
|
H A D | uverbs_std_types_async_fd.c | 56 ib_uverbs_free_event_queue(&event_file->ev_queue); in uverbs_async_event_release()
|
H A D | uverbs_std_types.c | 168 ib_uverbs_free_event_queue(&file->ev_queue); in uverbs_completion_event_file_destroy_uobj()
|
H A D | uverbs_cmd.c | 963 ib_uverbs_init_event_queue(&ev_file->ev_queue); in ib_uverbs_create_comp_channel() 1014 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in create_cq()
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | uverbs_main.c | 148 spin_lock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq() 153 spin_unlock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq() 169 spin_lock_irq(&async_file->ev_queue.lock); in ib_uverbs_release_uevent() 174 spin_unlock_irq(&async_file->ev_queue.lock); in ib_uverbs_release_uevent() 225 static ssize_t ib_uverbs_event_read(struct ib_uverbs_event_queue *ev_queue, in ib_uverbs_event_read() argument 233 spin_lock_irq(&ev_queue->lock); in ib_uverbs_event_read() 235 while (list_empty(&ev_queue->event_list)) { in ib_uverbs_event_read() 236 if (ev_queue->is_closed) { in ib_uverbs_event_read() 237 spin_unlock_irq(&ev_queue->lock); in ib_uverbs_event_read() 241 spin_unlock_irq(&ev_queue in ib_uverbs_event_read() 300 ib_uverbs_event_poll(struct ib_uverbs_event_queue *ev_queue, struct file *filp, struct poll_table_struct *wait) ib_uverbs_event_poll() argument 370 struct ib_uverbs_event_queue *ev_queue = cq_context; ib_uverbs_comp_handler() local 480 ib_uverbs_init_event_queue(struct ib_uverbs_event_queue *ev_queue) ib_uverbs_init_event_queue() argument [all...] |
H A D | uverbs_std_types_cq.c | 43 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_METHOD_CQ_CREATE()
|
H A D | uverbs.h | 127 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);
|
H A D | uverbs_std_types_async_fd.c | 55 ib_uverbs_free_event_queue(&event_file->ev_queue); in uverbs_async_event_release()
|
H A D | uverbs_std_types.c | 165 ib_uverbs_free_event_queue(&file->ev_queue); in uverbs_completion_event_file_destroy_uobj()
|
H A D | uverbs_cmd.c | 997 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()
|
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
H A D | queue.c | 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()
|
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
H A D | queue.c | 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A D | devx.c | 1579 struct devx_async_event_queue ev_queue; member 1583 static void devx_init_event_queue(struct devx_async_event_queue *ev_queue) in devx_init_event_queue() argument 1585 spin_lock_init(&ev_queue->lock); in devx_init_event_queue() 1586 INIT_LIST_HEAD(&ev_queue->event_list); in devx_init_event_queue() 1587 init_waitqueue_head(&ev_queue->poll_wait); in devx_init_event_queue() 1588 atomic_set(&ev_queue->bytes_in_use, 0); in devx_init_event_queue() 1589 ev_queue->is_destroyed = 0; in devx_init_event_queue() 1603 devx_init_event_queue(&ev_file->ev_queue); in MLX5_IB_METHOD_DEVX_ASYNC_CMD_FD_ALLOC() 1645 struct devx_async_event_queue *ev_queue = &ev_file->ev_queue; in devx_query_callback() local 2435 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; devx_async_cmd_event_read() local 2489 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; devx_async_cmd_event_poll() local 2633 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; devx_async_cmd_event_destroy_uobj() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A D | devx.c | 1684 struct devx_async_event_queue ev_queue; member 1688 static void devx_init_event_queue(struct devx_async_event_queue *ev_queue) in devx_init_event_queue() argument 1690 spin_lock_init(&ev_queue->lock); in devx_init_event_queue() 1691 INIT_LIST_HEAD(&ev_queue->event_list); in devx_init_event_queue() 1692 init_waitqueue_head(&ev_queue->poll_wait); in devx_init_event_queue() 1693 atomic_set(&ev_queue->bytes_in_use, 0); in devx_init_event_queue() 1694 ev_queue->is_destroyed = 0; in devx_init_event_queue() 1708 devx_init_event_queue(&ev_file->ev_queue); in MLX5_IB_METHOD_DEVX_ASYNC_CMD_FD_ALLOC() 1750 struct devx_async_event_queue *ev_queue = &ev_file->ev_queue; in devx_query_callback() local 2602 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; devx_async_cmd_event_read() local 2656 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; devx_async_cmd_event_poll() local 2800 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; devx_async_cmd_event_destroy_uobj() local [all...] |
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/ |
H A D | smc.h | 74 struct event_queue ev_queue[MAX_EVENT]; member
|
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/h/ |
H A D | smc.h | 74 struct event_queue ev_queue[MAX_EVENT]; member
|