Home
last modified time | relevance | path

Searched refs:event_list (Results 1 – 25 of 26) sorted by relevance

12

/drivers/uwb/
Duwbd.c277 !list_empty(&rc->uwbd.event_list) in uwbd()
285 if (!list_empty(&rc->uwbd.event_list)) { in uwbd()
286 evt = list_first_entry(&rc->uwbd.event_list, struct uwb_event, list_node); in uwbd()
344 list_add(&evt->list_node, &rc->uwbd.event_list); in uwbd_event_queue()
361 list_for_each_entry_safe(evt, nxt, &rc->uwbd.event_list, list_node) { in uwbd_flush()
Dlc-rc.c356 INIT_LIST_HEAD(&rc->uwbd.event_list); in uwb_rc_add()
/drivers/gpu/drm/
Ddrm_fops.c226 INIT_LIST_HEAD(&priv->event_list); in drm_open_helper()
327 list_for_each_entry_safe(e, et, &file_priv->event_list, link) { in drm_events_release()
488 WARN_ON(!list_empty(&file_priv->event_list)); in drm_release()
522 if (list_empty(&file_priv->event_list)) { in drm_read()
533 !list_empty(&file_priv->event_list)); in drm_read()
542 e = list_first_entry(&file_priv->event_list, in drm_read()
573 if (!list_empty(&file_priv->event_list)) in drm_poll()
Ddrm_irq.c1048 &e->base.file_priv->event_list); in send_vblank_event()
/drivers/infiniband/core/
Duverbs_main.c190 list_for_each_entry_safe(evt, tmp, &uobj->event_list, obj_list) { in ib_uverbs_release_uevent()
345 while (list_empty(&file->event_list)) { in ib_uverbs_event_read()
352 (!list_empty(&file->event_list) || in ib_uverbs_event_read()
361 if (list_empty(&file->event_list) && in ib_uverbs_event_read()
368 event = list_entry(file->event_list.next, struct ib_uverbs_event, list); in ib_uverbs_event_read()
379 list_del(file->event_list.next); in ib_uverbs_event_read()
409 if (!list_empty(&file->event_list)) in ib_uverbs_event_poll()
433 list_for_each_entry_safe(entry, tmp, &file->event_list, list) { in ib_uverbs_event_close()
489 list_add_tail(&entry->list, &file->event_list); in ib_uverbs_comp_handler()
522 list_add_tail(&entry->list, &file->async_file->event_list); in ib_uverbs_async_handler()
[all …]
Ducma.c78 struct list_head event_list; member
310 list_for_each_entry(con_req_eve, &ctx->file->event_list, list) { in ucma_removal_event_handler()
369 list_add_tail(&uevent->list, &ctx->file->event_list); in ucma_event_handler()
393 while (list_empty(&file->event_list)) { in ucma_get_event()
400 !list_empty(&file->event_list))) in ucma_get_event()
406 uevent = list_entry(file->event_list.next, struct ucma_event, list); in ucma_get_event()
528 list_for_each_entry_safe(uevent, tmp, &mc->ctx->file->event_list, list) { in ucma_cleanup_mc_events()
559 list_for_each_entry_safe(uevent, tmp, &ctx->file->event_list, list) { in ucma_free_ctx()
1519 list_for_each_entry_safe(uevent, tmp, &ctx->file->event_list, list) in ucma_move_events()
1521 list_move_tail(&uevent->list, &file->event_list); in ucma_move_events()
[all …]
Duverbs.h112 struct list_head event_list; member
146 struct list_head event_list; member
Duverbs_cmd.c1841 INIT_LIST_HEAD(&obj->uevent.event_list); in create_qp()
2109 INIT_LIST_HEAD(&obj->uevent.event_list); in ib_uverbs_open_qp()
3344 INIT_LIST_HEAD(&obj->uevent.event_list); in __uverbs_create_xsrq()
/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c215 struct list_head event_list; member
359 list_add_tail(&node->event->base.link, &g2d_priv->event_list); in g2d_add_cmdlist_to_inuse()
886 if (list_empty(&runqueue_node->event_list)) in g2d_finish_event()
889 e = list_first_entry(&runqueue_node->event_list, in g2d_finish_event()
898 list_move_tail(&e->base.link, &e->base.file_priv->event_list); in g2d_finish_event()
1244 struct list_head *event_list; in exynos_g2d_exec_ioctl() local
1263 event_list = &runqueue_node->event_list; in exynos_g2d_exec_ioctl()
1265 INIT_LIST_HEAD(event_list); in exynos_g2d_exec_ioctl()
1270 list_splice_init(&g2d_priv->event_list, event_list); in exynos_g2d_exec_ioctl()
1341 INIT_LIST_HEAD(&g2d_priv->event_list); in g2d_open()
Dexynos_drm_ipp.c430 INIT_LIST_HEAD(&c_node->event_list); in exynos_drm_ipp_set_property()
653 list_add_tail(&e->base.link, &c_node->event_list); in ipp_get_event()
666 list_for_each_entry_safe(e, te, &c_node->event_list, base.link) { in ipp_put_event()
1433 if (list_empty(&c_node->event_list)) { in ipp_send_event()
1515 e = list_first_entry(&c_node->event_list, in ipp_send_event()
1529 list_move_tail(&e->base.link, &e->base.file_priv->event_list); in ipp_send_event()
Dexynos_drm_ipp.h68 struct list_head event_list; member
Dexynos_drm_drv.h159 struct list_head event_list; member
Dexynos_drm_drv.c385 list_for_each_entry_safe(e, et, &file->event_list, link) { in exynos_drm_postclose()
/drivers/firewire/
Dcore-cdev.c66 struct list_head event_list; member
272 INIT_LIST_HEAD(&client->event_list); in fw_device_op_open()
298 list_add_tail(&event->link, &client->event_list); in queue_event()
312 !list_empty(&client->event_list) || in dequeue_event()
317 if (list_empty(&client->event_list) && in dequeue_event()
322 event = list_first_entry(&client->event_list, struct event, link); in dequeue_event()
1780 list_for_each_entry_safe(event, next_event, &client->event_list, link) in fw_device_op_release()
1797 if (!list_empty(&client->event_list)) in fw_device_op_poll()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fence.h120 struct list_head *event_list);
Dvmwgfx_fence.c851 struct list_head *event_list) in vmw_event_fence_fpriv_gone() argument
859 if (list_empty(event_list)) in vmw_event_fence_fpriv_gone()
861 eaction = list_first_entry(event_list, in vmw_event_fence_fpriv_gone()
910 list_add_tail(&eaction->event->link, &file_priv->event_list); in vmw_event_fence_action_seq_passed()
/drivers/gpu/drm/msm/
Dmsm_drv.c134 list_for_each_entry_safe(vbl_ev, tmp, &vbl_ctrl->event_list, node) { in vblank_ctrl_worker()
168 list_add_tail(&vbl_ev->node, &vbl_ctrl->event_list); in vblank_ctrl_queue_work()
193 list_for_each_entry_safe(vbl_ev, tmp, &vbl_ctrl->event_list, node) { in msm_unload()
354 INIT_LIST_HEAD(&priv->vblank_ctrl.event_list); in msm_load()
Dmsm_drv.h77 struct list_head event_list; member
/drivers/scsi/
Dvirtio_scsi.c104 struct virtio_scsi_event_node event_list[VIRTIO_SCSI_EVENT_LEN]; member
302 vscsi->event_list[i].vscsi = vscsi; in virtscsi_kick_event_all()
303 virtscsi_kick_event(vscsi, &vscsi->event_list[i]); in virtscsi_kick_event_all()
319 cancel_work_sync(&vscsi->event_list[i].work); in virtscsi_cancel_event_work()
Dscsi_lib.c2767 LIST_HEAD(event_list); in scsi_evt_thread()
2781 list_splice_init(&sdev->event_list, &event_list); in scsi_evt_thread()
2784 if (list_empty(&event_list)) in scsi_evt_thread()
2787 list_for_each_safe(this, tmp, &event_list) { in scsi_evt_thread()
2818 list_add_tail(&evt->node, &sdev->event_list); in sdev_evt_send()
Dscsi_sysfs.c417 list_for_each_safe(this, tmp, &sdev->event_list) { in scsi_device_dev_release_usercontext()
Dscsi_scan.c237 INIT_LIST_HEAD(&sdev->event_list); in scsi_alloc_sdev()
/drivers/media/i2c/
Dsaa6588.c417 poll_wait(a->instance, &s->read_queue, a->event_list); in saa6588_ioctl()
/drivers/gpu/drm/nouveau/
Dnouveau_usif.c112 list_add_tail(&ntfy->p->base.link, &filp->event_list); in usif_notify()
/drivers/media/pci/saa7134/
Dsaa7134-video.c1182 cmd.event_list = wait; in radio_poll()

12