Home
last modified time | relevance | path

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

/drivers/usb/usbip/
Dusbip_event.c34 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/
Ddrm_fops.c214 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/
Duwbd.c277 !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()
Dlc-rc.c356 INIT_LIST_HEAD(&rc->uwbd.event_list); in uwb_rc_add()
/drivers/infiniband/core/
Duverbs_main.c208 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 …]
Ducma.c76 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 …]
Duverbs.h112 struct list_head event_list; member
146 struct list_head event_list; member
Duverbs_cmd.c1883 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/
Dexynos_drm_g2d.c226 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()
Dexynos_drm_ipp.c430 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()
Dexynos_drm_ipp.h68 struct list_head event_list; member
Dexynos_drm_drv.h189 struct list_head event_list; member
/drivers/gpu/drm/arm/
Dmalidp_drv.h23 struct list_head event_list; member
Dmalidp_drv.c285 INIT_LIST_HEAD(&malidp->event_list); in malidp_bind()
/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/msm/
Dmsm_drv.c147 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()
Dmsm_drv.h75 struct list_head event_list; member
/drivers/scsi/
Dvirtio_scsi.c104 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()
Dscsi_lib.c2638 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()
Dscsi_scan.c239 INIT_LIST_HEAD(&sdev->event_list); in scsi_alloc_sdev()
Dscsi_sysfs.c445 list_for_each_safe(this, tmp, &sdev->event_list) { in scsi_device_dev_release_usercontext()
/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.c1241 cmd.event_list = wait; in radio_poll()
/drivers/media/pci/bt8xx/
Dbttv-driver.c3347 cmd.event_list = wait; in radio_poll()