Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/usb/usbip/
Dusbip_event.c20 static LIST_HEAD(event_list);
47 if (!list_empty(&event_list)) { in get_event()
48 ue = list_first_entry(&event_list, struct usbip_event, node); in get_event()
155 list_for_each_entry_reverse(ue, &event_list, node) { in usbip_event_add()
166 list_add_tail(&ue->node, &event_list); in usbip_event_add()
/Linux-v4.19/tools/perf/scripts/python/
Dnetdev-times.py119 event_list = hunk['event_list']
120 for i in range(len(event_list)):
121 event = event_list[i]
125 if i == len(event_list) - 1:
343 event_list = 0
349 event_list = net_rx_dic[cpu]['event_list']
351 if irq_list == [] or event_list == 0:
354 'irq_list':irq_list, 'event_list':event_list}
362 event_list = net_rx_dic[cpu]['event_list']
366 event_list.append(rec_data)
[all …]
/Linux-v4.19/drivers/acpi/
Devged.c54 struct list_head event_list; member
130 list_add_tail(&event->node, &geddev->event_list); in acpi_ged_request_interrupt()
144 INIT_LIST_HEAD(&geddev->event_list); in ged_probe()
161 list_for_each_entry_safe(event, next, &geddev->event_list, node) { in ged_shutdown()
/Linux-v4.19/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()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_file.c138 INIT_LIST_HEAD(&file->event_list); in drm_file_alloc()
190 list_for_each_entry_safe(e, et, &file_priv->event_list, link) { in drm_events_release()
259 WARN_ON(!list_empty(&file->event_list)); in drm_file_free()
539 if (!list_empty(&file_priv->event_list)) { in drm_read()
540 e = list_first_entry(&file_priv->event_list, in drm_read()
558 !list_empty(&file_priv->event_list)); in drm_read()
570 list_add(&e->link, &file_priv->event_list); in drm_read()
614 if (!list_empty(&file_priv->event_list)) in drm_poll()
766 &e->file_priv->event_list); in drm_send_event_locked()
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_power_handle.c46 list_for_each_entry(event, &phandle->event_list, list) { in dpu_power_event_trigger_locked()
105 INIT_LIST_HEAD(&phandle->event_list); in dpu_power_resource_init()
132 &phandle->event_list, list) { in dpu_power_resource_deinit()
228 list_add(&event->list, &phandle->event_list); in dpu_power_handle_register_event()
Ddpu_power_handle.h131 struct list_head event_list; member
/Linux-v4.19/drivers/infiniband/core/
Duverbs_main.c225 list_for_each_entry_safe(evt, tmp, &uobj->event_list, obj_list) { in ib_uverbs_release_uevent()
283 while (list_empty(&ev_queue->event_list)) { in ib_uverbs_event_read()
290 (!list_empty(&ev_queue->event_list) || in ib_uverbs_event_read()
299 if (list_empty(&ev_queue->event_list) && in ib_uverbs_event_read()
306 event = list_entry(ev_queue->event_list.next, struct ib_uverbs_event, list); in ib_uverbs_event_read()
312 list_del(ev_queue->event_list.next); in ib_uverbs_event_read()
364 if (!list_empty(&ev_queue->event_list)) in ib_uverbs_event_poll()
412 list_for_each_entry_safe(entry, tmp, &file->ev_queue.event_list, list) { in ib_uverbs_async_event_close()
438 list_for_each_entry_safe(entry, tmp, &file->ev_queue.event_list, list) { in ib_uverbs_comp_event_close()
496 list_add_tail(&entry->list, &ev_queue->event_list); in ib_uverbs_comp_handler()
[all …]
Ducma.c78 struct list_head event_list; member
329 list_for_each_entry(con_req_eve, &ctx->file->event_list, list) { in ucma_removal_event_handler()
389 list_add_tail(&uevent->list, &ctx->file->event_list); in ucma_event_handler()
417 while (list_empty(&file->event_list)) { in ucma_get_event()
424 !list_empty(&file->event_list))) in ucma_get_event()
430 uevent = list_entry(file->event_list.next, struct ucma_event, list); in ucma_get_event()
553 list_for_each_entry_safe(uevent, tmp, &mc->ctx->file->event_list, list) { in ucma_cleanup_mc_events()
584 list_for_each_entry_safe(uevent, tmp, &ctx->file->event_list, list) { in ucma_free_ctx()
1565 list_for_each_entry_safe(uevent, tmp, &ctx->file->event_list, list) in ucma_move_events()
1567 list_move_tail(&uevent->list, &file->event_list); in ucma_move_events()
[all …]
Duverbs.h122 struct list_head event_list; member
187 struct list_head event_list; member
/Linux-v4.19/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c227 struct list_head event_list; member
373 list_add_tail(&node->event->base.link, &file_priv->event_list); in g2d_add_cmdlist_to_inuse()
911 if (list_empty(&runqueue_node->event_list)) in g2d_finish_event()
914 e = list_first_entry(&runqueue_node->event_list, in g2d_finish_event()
1299 struct list_head *event_list; in exynos_g2d_exec_ioctl() local
1306 event_list = &runqueue_node->event_list; in exynos_g2d_exec_ioctl()
1308 INIT_LIST_HEAD(event_list); in exynos_g2d_exec_ioctl()
1313 list_splice_init(&file_priv->event_list, event_list); in exynos_g2d_exec_ioctl()
1345 INIT_LIST_HEAD(&file_priv->event_list); in g2d_open()
Dexynos_drm_drv.h185 struct list_head event_list; member
/Linux-v4.19/include/media/i2c/
Dsaa6588.h34 poll_table *event_list; member
/Linux-v4.19/arch/x86/events/intel/
Duncore.c352 box->event_list[n] = leader; in uncore_collect_events()
367 box->event_list[n] = event; in uncore_collect_events()
415 c = uncore_get_event_constraint(box, box->event_list[i]); in uncore_assign_events()
423 hwc = &box->event_list[i]->hw; in uncore_assign_events()
449 uncore_put_event_constraint(box, box->event_list[i]); in uncore_assign_events()
566 event = box->event_list[i]; in uncore_pmu_event_add()
584 event = box->event_list[i]; in uncore_pmu_event_add()
619 if (event == box->event_list[i]) { in uncore_pmu_event_del()
623 box->event_list[i - 1] = box->event_list[i]; in uncore_pmu_event_del()
/Linux-v4.19/arch/x86/events/
Dcore.c882 c = x86_pmu.get_event_constraints(cpuc, i, cpuc->event_list[i]); in x86_schedule_events()
893 hwc = &cpuc->event_list[i]->hw; in x86_schedule_events()
947 e = cpuc->event_list[i]; in x86_schedule_events()
954 e = cpuc->event_list[i]; in x86_schedule_events()
993 cpuc->event_list[n] = leader; in collect_events()
1007 cpuc->event_list[n] = event; in collect_events()
1069 event = cpuc->event_list[i]; in x86_pmu_enable()
1096 event = cpuc->event_list[i]; in x86_pmu_enable()
1395 if (event == cpuc->event_list[i]) in x86_pmu_del()
1411 cpuc->event_list[i-1] = cpuc->event_list[i]; in x86_pmu_del()
/Linux-v4.19/include/drm/
Ddrm_file.h315 struct list_head event_list; member
/Linux-v4.19/tools/lib/traceevent/
Dparse-filter.c27 struct event_list { struct
28 struct event_list *next; argument
230 static int add_event(struct event_list **events, in add_event()
233 struct event_list *list; in add_event()
258 find_event(struct tep_handle *pevent, struct event_list **events, in find_event()
324 static void free_events(struct event_list *events) in free_events()
326 struct event_list *event; in free_events()
1260 struct event_list *event; in tep_filter_add_filter_str()
1261 struct event_list *events = NULL; in tep_filter_add_filter_str()
/Linux-v4.19/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()
1779 list_for_each_entry_safe(event, next_event, &client->event_list, link) in fw_device_op_release()
1796 if (!list_empty(&client->event_list)) in fw_device_op_poll()
/Linux-v4.19/net/vmw_vsock/
Dvirtio_transport.c64 struct virtio_vsock_event event_list[8]; member
405 for (i = 0; i < ARRAY_SIZE(vsock->event_list); i++) { in virtio_vsock_event_fill()
406 struct virtio_vsock_event *event = &vsock->event_list[i]; in virtio_vsock_event_fill()
/Linux-v4.19/drivers/scsi/
Dvirtio_scsi.c103 struct virtio_scsi_event_node event_list[VIRTIO_SCSI_EVENT_LEN]; member
296 vscsi->event_list[i].vscsi = vscsi; in virtscsi_kick_event_all()
297 virtscsi_kick_event(vscsi, &vscsi->event_list[i]); in virtscsi_kick_event_all()
313 cancel_work_sync(&vscsi->event_list[i].work); in virtscsi_cancel_event_work()
Dscsi_lib.c2873 LIST_HEAD(event_list); in scsi_evt_thread()
2887 list_splice_init(&sdev->event_list, &event_list); in scsi_evt_thread()
2890 if (list_empty(&event_list)) in scsi_evt_thread()
2893 list_for_each_safe(this, tmp, &event_list) { in scsi_evt_thread()
2924 list_add_tail(&evt->node, &sdev->event_list); in sdev_evt_send()
/Linux-v4.19/kernel/events/
Dinternal.h35 struct list_head event_list; member
/Linux-v4.19/net/sctp/
Dulpqueue.c770 struct sk_buff_head *event_list; in sctp_ulpq_retrieve_ordered() local
779 event_list = (struct sk_buff_head *) sctp_event2skb(event)->prev; in sctp_ulpq_retrieve_ordered()
804 __skb_queue_tail(event_list, pos); in sctp_ulpq_retrieve_ordered()
/Linux-v4.19/drivers/gpu/drm/msm/
Dmsm_drv.c223 list_for_each_entry_safe(vbl_ev, tmp, &vbl_ctrl->event_list, node) { in vblank_ctrl_worker()
257 list_add_tail(&vbl_ev->node, &vbl_ctrl->event_list); in vblank_ctrl_queue_work()
282 list_for_each_entry_safe(vbl_ev, tmp, &vbl_ctrl->event_list, node) { in msm_drm_uninit()
480 INIT_LIST_HEAD(&priv->vblank_ctrl.event_list); in msm_drm_init()
/Linux-v4.19/net/wireless/
Dsme.c864 list_add_tail(&ev->list, &wdev->event_list); in cfg80211_connect_done()
997 list_add_tail(&ev->list, &wdev->event_list); in cfg80211_roamed()
1041 list_add_tail(&ev->list, &wdev->event_list); in cfg80211_port_authorized()
1123 list_add_tail(&ev->list, &wdev->event_list); in cfg80211_disconnected()

123