Home
last modified time | relevance | path

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

/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_main.c218 spin_lock_irq(&ev_queue->lock); in ib_uverbs_event_read()
228 ev_queue->is_closed))) in ib_uverbs_event_read()
231 spin_lock_irq(&ev_queue->lock); in ib_uverbs_event_read()
234 if (list_empty(&ev_queue->event_list) && ev_queue->is_closed) { in ib_uverbs_event_read()
253 spin_unlock_irq(&ev_queue->lock); in ib_uverbs_event_read()
295 spin_lock_irq(&ev_queue->lock); in ib_uverbs_event_poll()
360 if (!ev_queue) in ib_uverbs_comp_handler()
364 if (ev_queue->is_closed) { in ib_uverbs_comp_handler()
468 spin_lock_init(&ev_queue->lock); in ib_uverbs_init_event_queue()
471 ev_queue->is_closed = 0; in ib_uverbs_init_event_queue()
[all …]
H A Dib_uverbs_std_types_cq.c42 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 Duverbs.h131 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 Dib_uverbs_std_types_async_fd.c31 ib_uverbs_free_event_queue(&event_file->ev_queue); in uverbs_async_event_destroy_uobj()
H A Dib_uverbs_std_types.c235 ib_uverbs_free_event_queue(&file->ev_queue); in uverbs_completion_event_file_destroy_uobj()
H A Dib_uverbs_cmd.c981 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 Dmlx5_ib_devx.c1603 ev_queue->is_destroyed = 0; in devx_init_event_queue()
1659 struct devx_async_event_queue *ev_queue = &ev_file->ev_queue; in devx_query_callback() local
2434 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; in devx_async_cmd_event_read() local
2439 spin_lock_irq(&ev_queue->lock); in devx_async_cmd_event_read()
2448 ev_queue->poll_wait, in devx_async_cmd_event_read()
2455 if (ev_queue->is_destroyed) { in devx_async_cmd_event_read()
2488 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; in devx_async_cmd_event_poll() local
2493 spin_lock_irq(&ev_queue->lock); in devx_async_cmd_event_poll()
2494 if (ev_queue->is_destroyed) in devx_async_cmd_event_poll()
2632 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; in devx_async_cmd_event_destroy_uobj() local
[all …]
/freebsd/sys/dev/mps/
H A Dmps_sas.h101 TAILQ_HEAD(, mps_fw_event_work) ev_queue;
H A Dmps_sas_lsi.c177 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 Dmps_sas.c736 TAILQ_INIT(&sassc->ev_queue); in mps_attach_sas()
/freebsd/sys/dev/mpr/
H A Dmpr_sas.h107 TAILQ_HEAD(, mpr_fw_event_work) ev_queue;
H A Dmpr_sas_lsi.c181 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 Dmpr_sas.c788 TAILQ_INIT(&sassc->ev_queue); in mpr_attach_sas()
/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr_cam.h147 TAILQ_HEAD(, mpi3mr_fw_event_work) ev_queue;
H A Dmpi3mr_cam.c1550 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()
2131 TAILQ_INIT(&cam_sc->ev_queue); in mpi3mr_cam_attach()
H A Dmpi3mr.c4254 TAILQ_INSERT_TAIL(&sc->cam_sc->ev_queue, fw_event, ev_link); in mpi3mr_process_events()