/drivers/usb/usbip/ |
D | usbip_event.c | 34 static LIST_HEAD(event_list); 61 if (!list_empty(&event_list)) { in get_event() 62 ue = list_first_entry(&event_list, struct usbip_event, node); in get_event() 173 list_for_each_entry_reverse(ue, &event_list, node) { in usbip_event_add() 184 list_add_tail(&ue->node, &event_list); in usbip_event_add()
|
/drivers/gpu/drm/ |
D | drm_fops.c | 214 INIT_LIST_HEAD(&priv->event_list); in drm_open_helper() 294 list_for_each_entry_safe(e, et, &file_priv->event_list, link) { in drm_events_release() 418 WARN_ON(!list_empty(&file_priv->event_list)); in drm_release() 484 if (!list_empty(&file_priv->event_list)) { in drm_read() 485 e = list_first_entry(&file_priv->event_list, in drm_read() 503 !list_empty(&file_priv->event_list)); in drm_read() 515 list_add(&e->link, &file_priv->event_list); in drm_read() 559 if (!list_empty(&file_priv->event_list)) in drm_poll() 710 &e->file_priv->event_list); in drm_send_event_locked()
|
/drivers/uwb/ |
D | uwbd.c | 277 !list_empty(&rc->uwbd.event_list) in uwbd() 284 if (!list_empty(&rc->uwbd.event_list)) { in uwbd() 285 evt = list_first_entry(&rc->uwbd.event_list, struct uwb_event, list_node); in uwbd() 343 list_add(&evt->list_node, &rc->uwbd.event_list); in uwbd_event_queue() 360 list_for_each_entry_safe(evt, nxt, &rc->uwbd.event_list, list_node) { in uwbd_flush()
|
D | lc-rc.c | 356 INIT_LIST_HEAD(&rc->uwbd.event_list); in uwb_rc_add()
|
/drivers/infiniband/core/ |
D | uverbs_main.c | 208 list_for_each_entry_safe(evt, tmp, &uobj->event_list, obj_list) { in ib_uverbs_release_uevent() 384 while (list_empty(&file->event_list)) { in ib_uverbs_event_read() 391 (!list_empty(&file->event_list) || in ib_uverbs_event_read() 400 if (list_empty(&file->event_list) && in ib_uverbs_event_read() 407 event = list_entry(file->event_list.next, struct ib_uverbs_event, list); in ib_uverbs_event_read() 418 list_del(file->event_list.next); in ib_uverbs_event_read() 448 if (!list_empty(&file->event_list)) in ib_uverbs_event_poll() 472 list_for_each_entry_safe(entry, tmp, &file->event_list, list) { in ib_uverbs_event_close() 528 list_add_tail(&entry->list, &file->event_list); in ib_uverbs_comp_handler() 561 list_add_tail(&entry->list, &file->async_file->event_list); in ib_uverbs_async_handler() [all …]
|
D | ucma.c | 76 struct list_head event_list; member 307 list_for_each_entry(con_req_eve, &ctx->file->event_list, list) { in ucma_removal_event_handler() 366 list_add_tail(&uevent->list, &ctx->file->event_list); in ucma_event_handler() 390 while (list_empty(&file->event_list)) { in ucma_get_event() 397 !list_empty(&file->event_list))) in ucma_get_event() 403 uevent = list_entry(file->event_list.next, struct ucma_event, list); in ucma_get_event() 525 list_for_each_entry_safe(uevent, tmp, &mc->ctx->file->event_list, list) { in ucma_cleanup_mc_events() 556 list_for_each_entry_safe(uevent, tmp, &ctx->file->event_list, list) { in ucma_free_ctx() 1521 list_for_each_entry_safe(uevent, tmp, &ctx->file->event_list, list) in ucma_move_events() 1523 list_move_tail(&uevent->list, &file->event_list); in ucma_move_events() [all …]
|
D | uverbs.h | 112 struct list_head event_list; member 146 struct list_head event_list; member
|
D | uverbs_cmd.c | 1883 INIT_LIST_HEAD(&obj->uevent.event_list); in create_qp() 2164 INIT_LIST_HEAD(&obj->uevent.event_list); in ib_uverbs_open_qp() 3267 INIT_LIST_HEAD(&obj->uevent.event_list); in ib_uverbs_ex_create_wq() 3906 INIT_LIST_HEAD(&obj->uevent.event_list); in __uverbs_create_xsrq()
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_g2d.c | 226 struct list_head event_list; member 376 list_add_tail(&node->event->base.link, &g2d_priv->event_list); in g2d_add_cmdlist_to_inuse() 931 if (list_empty(&runqueue_node->event_list)) in g2d_finish_event() 934 e = list_first_entry(&runqueue_node->event_list, in g2d_finish_event() 1347 struct list_head *event_list; in exynos_g2d_exec_ioctl() local 1366 event_list = &runqueue_node->event_list; in exynos_g2d_exec_ioctl() 1368 INIT_LIST_HEAD(event_list); in exynos_g2d_exec_ioctl() 1373 list_splice_init(&g2d_priv->event_list, event_list); in exynos_g2d_exec_ioctl() 1445 INIT_LIST_HEAD(&g2d_priv->event_list); in g2d_open()
|
D | exynos_drm_ipp.c | 430 INIT_LIST_HEAD(&c_node->event_list); in exynos_drm_ipp_set_property() 648 list_add_tail(&e->base.link, &c_node->event_list); in ipp_get_event() 661 list_for_each_entry_safe(e, te, &c_node->event_list, base.link) { in ipp_put_event() 1427 if (list_empty(&c_node->event_list)) { in ipp_send_event() 1509 e = list_first_entry(&c_node->event_list, in ipp_send_event()
|
D | exynos_drm_ipp.h | 68 struct list_head event_list; member
|
D | exynos_drm_drv.h | 189 struct list_head event_list; member
|
/drivers/gpu/drm/arm/ |
D | malidp_drv.h | 23 struct list_head event_list; member
|
D | malidp_drv.c | 285 INIT_LIST_HEAD(&malidp->event_list); in malidp_bind()
|
/drivers/firewire/ |
D | core-cdev.c | 66 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/msm/ |
D | msm_drv.c | 147 list_for_each_entry_safe(vbl_ev, tmp, &vbl_ctrl->event_list, node) { in vblank_ctrl_worker() 181 list_add_tail(&vbl_ev->node, &vbl_ctrl->event_list); in vblank_ctrl_queue_work() 204 list_for_each_entry_safe(vbl_ev, tmp, &vbl_ctrl->event_list, node) { in msm_drm_uninit() 380 INIT_LIST_HEAD(&priv->vblank_ctrl.event_list); in msm_drm_init()
|
D | msm_drv.h | 75 struct list_head event_list; member
|
/drivers/scsi/ |
D | virtio_scsi.c | 104 struct virtio_scsi_event_node event_list[VIRTIO_SCSI_EVENT_LEN]; member 303 vscsi->event_list[i].vscsi = vscsi; in virtscsi_kick_event_all() 304 virtscsi_kick_event(vscsi, &vscsi->event_list[i]); in virtscsi_kick_event_all() 320 cancel_work_sync(&vscsi->event_list[i].work); in virtscsi_cancel_event_work()
|
D | scsi_lib.c | 2638 LIST_HEAD(event_list); in scsi_evt_thread() 2652 list_splice_init(&sdev->event_list, &event_list); in scsi_evt_thread() 2655 if (list_empty(&event_list)) in scsi_evt_thread() 2658 list_for_each_safe(this, tmp, &event_list) { in scsi_evt_thread() 2689 list_add_tail(&evt->node, &sdev->event_list); in sdev_evt_send()
|
D | scsi_scan.c | 239 INIT_LIST_HEAD(&sdev->event_list); in scsi_alloc_sdev()
|
D | scsi_sysfs.c | 445 list_for_each_safe(this, tmp, &sdev->event_list) { in scsi_device_dev_release_usercontext()
|
/drivers/media/i2c/ |
D | saa6588.c | 417 poll_wait(a->instance, &s->read_queue, a->event_list); in saa6588_ioctl()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_usif.c | 112 list_add_tail(&ntfy->p->base.link, &filp->event_list); in usif_notify()
|
/drivers/media/pci/saa7134/ |
D | saa7134-video.c | 1241 cmd.event_list = wait; in radio_poll()
|
/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 3347 cmd.event_list = wait; in radio_poll()
|