Home
last modified time | relevance | path

Searched refs:comp_ev_file (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/infiniband/core/
H A Duverbs_main.c292 struct ib_uverbs_completion_event_file *comp_ev_file = in ib_uverbs_comp_event_read() local
295 return ib_uverbs_event_read(&comp_ev_file->ev_queue, filp, buf, count, in ib_uverbs_comp_event_read()
329 struct ib_uverbs_completion_event_file *comp_ev_file = in ib_uverbs_comp_event_poll() local
332 return ib_uverbs_event_poll(&comp_ev_file->ev_queue, filp, wait); in ib_uverbs_comp_event_poll()
344 struct ib_uverbs_completion_event_file *comp_ev_file = in ib_uverbs_comp_event_fasync() local
347 return fasync_helper(fd, filp, on, &comp_ev_file->ev_queue.async_queue); in ib_uverbs_comp_event_fasync()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Ddevx.c2601 struct devx_async_cmd_event_file *comp_ev_file = filp->private_data; in devx_async_cmd_event_read() local
2602 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; in devx_async_cmd_event_read()
2655 struct devx_async_cmd_event_file *comp_ev_file = filp->private_data; in devx_async_cmd_event_poll() local
2656 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; in devx_async_cmd_event_poll()
2797 struct devx_async_cmd_event_file *comp_ev_file = in devx_async_cmd_event_destroy_uobj() local
2800 struct devx_async_event_queue *ev_queue = &comp_ev_file->ev_queue; in devx_async_cmd_event_destroy_uobj()
2808 mlx5_cmd_cleanup_async_ctx(&comp_ev_file->async_ctx); in devx_async_cmd_event_destroy_uobj()
2810 spin_lock_irq(&comp_ev_file->ev_queue.lock); in devx_async_cmd_event_destroy_uobj()
2812 &comp_ev_file->ev_queue.event_list, list) { in devx_async_cmd_event_destroy_uobj()
2816 spin_unlock_irq(&comp_ev_file->ev_queue.lock); in devx_async_cmd_event_destroy_uobj()