/drivers/uwb/ |
D | uwbd.c | 277 !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() 340 list_add(&evt->list_node, &rc->uwbd.event_list); in uwbd_event_queue() 357 list_for_each_entry_safe(evt, nxt, &rc->uwbd.event_list, list_node) { in uwbd_flush()
|
D | lc-rc.c | 254 INIT_LIST_HEAD(&rc->uwbd.event_list); in uwb_rc_add()
|
/drivers/infiniband/core/ |
D | uverbs_main.c | 169 list_for_each_entry_safe(evt, tmp, &uobj->event_list, obj_list) { in ib_uverbs_release_uevent() 306 while (list_empty(&file->event_list)) { in ib_uverbs_event_read() 313 !list_empty(&file->event_list))) in ib_uverbs_event_read() 319 event = list_entry(file->event_list.next, struct ib_uverbs_event, list); in ib_uverbs_event_read() 330 list_del(file->event_list.next); in ib_uverbs_event_read() 360 if (!list_empty(&file->event_list)) in ib_uverbs_event_poll() 381 list_for_each_entry_safe(entry, tmp, &file->event_list, list) { in ib_uverbs_event_close() 433 list_add_tail(&entry->list, &file->event_list); in ib_uverbs_comp_handler() 465 list_add_tail(&entry->list, &file->async_file->event_list); in ib_uverbs_async_handler() 492 event->event, &uobj->event_list, in ib_uverbs_qp_event_handler() [all …]
|
D | ucma.c | 73 struct list_head event_list; member 283 list_add_tail(&uevent->list, &ctx->file->event_list); in ucma_event_handler() 305 while (list_empty(&file->event_list)) { in ucma_get_event() 312 !list_empty(&file->event_list))) in ucma_get_event() 318 uevent = list_entry(file->event_list.next, struct ucma_event, list); in ucma_get_event() 433 list_for_each_entry_safe(uevent, tmp, &mc->ctx->file->event_list, list) { in ucma_cleanup_mc_events() 460 list_for_each_entry_safe(uevent, tmp, &ctx->file->event_list, list) { in ucma_free_ctx() 1158 list_for_each_entry_safe(uevent, tmp, &ctx->file->event_list, list) in ucma_move_events() 1160 list_move_tail(&uevent->list, &file->event_list); in ucma_move_events() 1281 if (!list_empty(&file->event_list)) in ucma_poll() [all …]
|
D | uverbs.h | 91 struct list_head event_list; member 121 struct list_head event_list; member
|
D | uverbs_cmd.c | 1592 INIT_LIST_HEAD(&obj->uevent.event_list); in ib_uverbs_create_qp() 1730 INIT_LIST_HEAD(&obj->uevent.event_list); in ib_uverbs_open_qp() 2640 INIT_LIST_HEAD(&obj->uevent.event_list); in __uverbs_create_xsrq()
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_g2d.c | 213 struct list_head event_list; member 354 list_add_tail(&node->event->base.link, &g2d_priv->event_list); in g2d_add_cmdlist_to_inuse() 890 if (list_empty(&runqueue_node->event_list)) in g2d_finish_event() 893 e = list_first_entry(&runqueue_node->event_list, in g2d_finish_event() 902 list_move_tail(&e->base.link, &e->base.file_priv->event_list); in g2d_finish_event() 1231 struct list_head *event_list; in exynos_g2d_exec_ioctl() local 1246 event_list = &runqueue_node->event_list; in exynos_g2d_exec_ioctl() 1248 INIT_LIST_HEAD(event_list); in exynos_g2d_exec_ioctl() 1253 list_splice_init(&g2d_priv->event_list, event_list); in exynos_g2d_exec_ioctl() 1333 INIT_LIST_HEAD(&g2d_priv->event_list); in g2d_open()
|
D | exynos_drm_drv.h | 217 struct list_head event_list; member 223 struct list_head event_list; member
|
D | exynos_drm_ipp.c | 551 INIT_LIST_HEAD(&c_node->event_list); in exynos_drm_ipp_set_property() 552 list_splice_init(&priv->event_list, &c_node->event_list); in exynos_drm_ipp_set_property() 849 list_add_tail(&e->base.link, &c_node->event_list); in ipp_get_event() 862 if (list_empty(&c_node->event_list)) { in ipp_put_event() 867 list_for_each_entry_safe(e, te, &c_node->event_list, base.link) { in ipp_put_event() 1587 if (list_empty(&c_node->event_list)) { in ipp_send_event() 1671 e = list_first_entry(&c_node->event_list, in ipp_send_event() 1691 list_move_tail(&e->base.link, &e->base.file_priv->event_list); in ipp_send_event() 1847 INIT_LIST_HEAD(&priv->event_list); in ipp_subdrv_open()
|
D | exynos_drm_ipp.h | 69 struct list_head event_list; member
|
/drivers/gpu/drm/ |
D | drm_fops.c | 282 INIT_LIST_HEAD(&priv->event_list); in drm_open_helper() 418 list_for_each_entry_safe(e, et, &file_priv->event_list, link) in drm_events_release() 582 if (list_empty(&file_priv->event_list)) in drm_dequeue_event() 584 e = list_first_entry(&file_priv->event_list, in drm_dequeue_event() 608 !list_empty(&file_priv->event_list)); in drm_read() 635 if (!list_empty(&file_priv->event_list)) in drm_poll()
|
D | drm_irq.c | 843 &e->base.file_priv->event_list); in send_vblank_event()
|
/drivers/usb/core/ |
D | hub.h | 44 struct list_head event_list; /* hubs w/data or errs ready */ member
|
D | hub.c | 579 if (!hub->disconnected && list_empty(&hub->event_list)) { in kick_khubd() 580 list_add_tail(&hub->event_list, &hub_event_list); in kick_khubd() 1603 if (!list_empty(&hub->event_list)) { in hub_disconnect() 1604 list_del_init(&hub->event_list); in hub_disconnect() 1723 INIT_LIST_HEAD(&hub->event_list); in hub_probe() 4626 hub = list_entry(tmp, struct usb_hub, event_list); in hub_events()
|
/drivers/firewire/ |
D | core-cdev.c | 65 struct list_head event_list; member 271 INIT_LIST_HEAD(&client->event_list); in fw_device_op_open() 297 list_add_tail(&event->link, &client->event_list); in queue_event() 311 !list_empty(&client->event_list) || in dequeue_event() 316 if (list_empty(&client->event_list) && in dequeue_event() 321 event = list_first_entry(&client->event_list, struct event, link); in dequeue_event() 1778 list_for_each_entry_safe(event, next_event, &client->event_list, link) in fw_device_op_release() 1795 if (!list_empty(&client->event_list)) in fw_device_op_poll()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fence.h | 113 struct list_head *event_list);
|
D | vmwgfx_fence.c | 801 struct list_head *event_list) in vmw_event_fence_fpriv_gone() argument 809 if (list_empty(event_list)) in vmw_event_fence_fpriv_gone() 811 eaction = list_first_entry(event_list, in vmw_event_fence_fpriv_gone() 860 list_add_tail(&eaction->event->link, &file_priv->event_list); in vmw_event_fence_action_seq_passed()
|
/drivers/scsi/ |
D | virtio_scsi.c | 106 struct virtio_scsi_event_node event_list[VIRTIO_SCSI_EVENT_LEN]; member 317 vscsi->event_list[i].vscsi = vscsi; in virtscsi_kick_event_all() 318 virtscsi_kick_event(vscsi, &vscsi->event_list[i]); in virtscsi_kick_event_all() 329 cancel_work_sync(&vscsi->event_list[i].work); in virtscsi_cancel_event_work()
|
D | scsi_lib.c | 2238 LIST_HEAD(event_list); in scsi_evt_thread() 2248 list_splice_init(&sdev->event_list, &event_list); in scsi_evt_thread() 2251 if (list_empty(&event_list)) in scsi_evt_thread() 2254 list_for_each_safe(this, tmp, &event_list) { in scsi_evt_thread() 2285 list_add_tail(&evt->node, &sdev->event_list); in sdev_evt_send()
|
D | scsi_sysfs.c | 353 list_for_each_safe(this, tmp, &sdev->event_list) { in scsi_device_dev_release_usercontext()
|
D | scsi_scan.c | 253 INIT_LIST_HEAD(&sdev->event_list); in scsi_alloc_sdev()
|
/drivers/media/i2c/ |
D | saa6588.c | 418 poll_wait(a->instance, &s->read_queue, a->event_list); in saa6588_ioctl()
|
/drivers/media/pci/saa7134/ |
D | saa7134-video.c | 1539 cmd.event_list = wait; in radio_poll()
|
/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 3338 cmd.event_list = wait; in radio_poll()
|