Searched refs:ev_queue (Results 1 – 16 of 16) sorted by relevance
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_main.c | 135 spin_lock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq() 140 spin_unlock_irq(&ev_file->ev_queue.lock); in ib_uverbs_release_ucq() 157 spin_lock_irq(&async_file->ev_queue.lock); in ib_uverbs_release_uevent() 162 spin_unlock_irq(&async_file->ev_queue.lock); in ib_uverbs_release_uevent() 210 static ssize_t ib_uverbs_event_read(struct ib_uverbs_event_queue *ev_queue, in ib_uverbs_event_read() argument 218 spin_lock_irq(&ev_queue->lock); in ib_uverbs_event_read() 220 while (list_empty(&ev_queue->event_list)) { in ib_uverbs_event_read() 221 spin_unlock_irq(&ev_queue->lock); in ib_uverbs_event_read() 226 if (wait_event_interruptible(ev_queue->poll_wait, in ib_uverbs_event_read() 227 (!list_empty(&ev_queue->event_list) || in ib_uverbs_event_read() [all …]
|
H A D | ib_uverbs_std_types_cq.c | 42 struct ib_uverbs_event_queue *ev_queue = cq->cq_context; in uverbs_free_cq() local 52 ev_queue ? container_of(ev_queue, in uverbs_free_cq() 54 ev_queue) : in uverbs_free_cq() 121 cq->cq_context = ev_file ? &ev_file->ev_queue : NULL; in UVERBS_HANDLER()
|
H A D | uverbs.h | 131 struct ib_uverbs_event_queue ev_queue; member 137 struct ib_uverbs_event_queue ev_queue; member 221 void ib_uverbs_init_event_queue(struct ib_uverbs_event_queue *ev_queue);
|
H A D | ib_uverbs_std_types_async_fd.c | 31 ib_uverbs_free_event_queue(&event_file->ev_queue); in uverbs_async_event_destroy_uobj()
|
H A D | ib_uverbs_std_types.c | 235 ib_uverbs_free_event_queue(&file->ev_queue); in uverbs_completion_event_file_destroy_uobj()
|
H A D | ib_uverbs_cmd.c | 981 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()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_devx.c | 1593 struct devx_async_event_queue ev_queue; member 1597 static void devx_init_event_queue(struct devx_async_event_queue *ev_queue) in devx_init_event_queue() argument 1599 spin_lock_init(&ev_queue->lock); in devx_init_event_queue() 1600 INIT_LIST_HEAD(&ev_queue->event_list); in devx_init_event_queue() 1601 init_waitqueue_head(&ev_queue->poll_wait); in devx_init_event_queue() 1602 atomic_set(&ev_queue->bytes_in_use, 0); in devx_init_event_queue() 1603 ev_queue->is_destroyed = 0; in devx_init_event_queue() 1617 devx_init_event_queue(&ev_file->ev_queue); in UVERBS_HANDLER() 1659 struct devx_async_event_queue *ev_queue = &ev_file->ev_queue; in devx_query_callback() local 1667 spin_lock_irqsave(&ev_queue->lock, flags); in devx_query_callback() [all …]
|
/freebsd/sys/dev/mps/ |
H A D | mps_sas.h | 101 TAILQ_HEAD(, mps_fw_event_work) ev_queue;
|
H A D | mps_sas_lsi.c | 177 TAILQ_INSERT_TAIL(&sc->sassc->ev_queue, fw_event, ev_link); in mpssas_evt_handler() 605 while ((fw_event = TAILQ_FIRST(&sc->sassc->ev_queue)) != NULL) { in mpssas_firmware_event_work() 606 TAILQ_REMOVE(&sc->sassc->ev_queue, fw_event, ev_link); in mpssas_firmware_event_work()
|
H A D | mps_sas.c | 736 TAILQ_INIT(&sassc->ev_queue); in mps_attach_sas()
|
/freebsd/sys/dev/mpr/ |
H A D | mpr_sas.h | 107 TAILQ_HEAD(, mpr_fw_event_work) ev_queue;
|
H A D | mpr_sas_lsi.c | 181 TAILQ_INSERT_TAIL(&sc->sassc->ev_queue, fw_event, ev_link); in mprsas_evt_handler() 810 while ((fw_event = TAILQ_FIRST(&sc->sassc->ev_queue)) != NULL) { in mprsas_firmware_event_work() 811 TAILQ_REMOVE(&sc->sassc->ev_queue, fw_event, ev_link); in mprsas_firmware_event_work()
|
H A D | mpr_sas.c | 788 TAILQ_INIT(&sassc->ev_queue); in mpr_attach_sas()
|
/freebsd/sys/dev/mpi3mr/ |
H A D | mpi3mr_cam.h | 147 TAILQ_HEAD(, mpi3mr_fw_event_work) ev_queue;
|
H A D | mpi3mr_cam.c | 1550 while ((fw_event = TAILQ_FIRST(&sc->cam_sc->ev_queue)) != NULL) { in mpi3mr_freeup_events() 1551 TAILQ_REMOVE(&sc->cam_sc->ev_queue, fw_event, ev_link); in mpi3mr_freeup_events() 2072 while ((fw_event = TAILQ_FIRST(&sc->cam_sc->ev_queue)) != NULL) { in mpi3mr_firmware_event_work() 2073 TAILQ_REMOVE(&sc->cam_sc->ev_queue, fw_event, ev_link); in mpi3mr_firmware_event_work() 2125 TAILQ_INIT(&cam_sc->ev_queue); in mpi3mr_cam_attach()
|
H A D | mpi3mr.c | 4254 TAILQ_INSERT_TAIL(&sc->cam_sc->ev_queue, fw_event, ev_link); in mpi3mr_process_events()
|