Home
last modified time | relevance | path

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

12

/dports/games/uqm/uqm-0.8.0/src/uqm/
H A Dclock.h42 QUEUE event_q; member
64 #define AllocEvent() AllocLink (&GLOBAL (GameClock.event_q))
65 #define PutEvent(h) PutQueue (&GLOBAL (GameClock.event_q), (h))
66 #define InsertEvent(h,i) InsertQueue (&GLOBAL (GameClock.event_q), (h), (i))
67 #define GetHeadEvent() GetHeadLink (&GLOBAL (GameClock.event_q))
68 #define GetTailEvent() GetTailLink (&GLOBAL (GameClock.event_q))
69 #define LockEvent(h,ppe) (*(ppe) = (EVENT*)LockLink (&GLOBAL (GameClock.event_q), h))
70 #define UnlockEvent(h) UnlockLink (&GLOBAL (GameClock.event_q), (h))
71 #define RemoveEvent(h) RemoveQueue (&GLOBAL (GameClock.event_q), (h))
72 #define FreeEvent(h) FreeLink (&GLOBAL (GameClock.event_q), (h))
[all …]
H A Dclock.c116 if (!InitQueue (&GLOBAL (GameClock.event_q), NUM_EVENTS, sizeof (EVENT))) in InitGameClock()
134 UninitQueue (&GLOBAL (GameClock.event_q)); in UninitGameClock()
/dports/devel/p5-Thread-Queue/Thread-Queue-3.13/examples/
H A Dcallback.pl22 my $event_q = Thread::Queue->new();
31 threads->create('EventHandler', $regis_q, $event_q)->detach();
35 $event_q->enqueue('USR1'); # Send to event handler
40 $event_q->enqueue('USR2'); # Send to event handler
45 $event_q->enqueue('HUP'); # Send to event handler
50 $event_q->enqueue('ALRM'); # Send to event handler
74 my ($regis_q, $event_q) = @_;
89 if (my $event = $event_q->dequeue()) {
/dports/games/heretic/glheretic-1.2/graphics/
H A Di_vga.c64 } event_q; typedef
66 event_q event_queue[EVENT_BUFFER];
70 void event_put(event_q *event) in event_put()
72 memcpy(&event_queue[event_head], event, sizeof(event_q)); in event_put()
79 int event_get(event_q *event) in event_get()
95 event_q current; in kb_event_handler()
117 event_q current; in mouse_event_handler()
329 event_q current; in I_GetEvent()
507 memset(event_queue, 0, EVENT_BUFFER * sizeof(event_q)); in I_InitGraphics()
/dports/net-mgmt/seafile-client/seafile-7.0.9/daemon/
H A Dwt-monitor-structs.c43 status->event_q = g_queue_new (); in create_wt_status()
65 if (status->event_q) { in free_wt_status()
66 g_queue_foreach (status->event_q, free_event_cb, NULL); in free_wt_status()
67 g_queue_free (status->event_q); in free_wt_status()
H A Dwt-monitor-structs.h45 GQueue *event_q; member
/dports/databases/percona-toolkit/percona-toolkit-3.3.0/t/lib/
H A DProcesslist.t589 my @event_q;
590 push @event_q, @events;
615 push @event_q, @events;
616 @event_q = sort { $a->{id} <=> $b->{id} } @event_q;
618 \@event_q,
642 ) or print Dumper(\@event_q);
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.c90 list_add_tail(&event->q, &fweh->event_q); in brcmf_fweh_queue_event()
198 if (!list_empty(&fweh->event_q)) { in brcmf_fweh_dequeue_event()
199 event = list_first_entry(&fweh->event_q, in brcmf_fweh_dequeue_event()
295 INIT_LIST_HEAD(&fweh->event_q); in brcmf_fweh_attach()
310 WARN_ON(!list_empty(&fweh->event_q)); in brcmf_fweh_detach()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.c90 list_add_tail(&event->q, &fweh->event_q); in brcmf_fweh_queue_event()
198 if (!list_empty(&fweh->event_q)) { in brcmf_fweh_dequeue_event()
199 event = list_first_entry(&fweh->event_q, in brcmf_fweh_dequeue_event()
295 INIT_LIST_HEAD(&fweh->event_q); in brcmf_fweh_attach()
310 WARN_ON(!list_empty(&fweh->event_q)); in brcmf_fweh_detach()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.c90 list_add_tail(&event->q, &fweh->event_q); in brcmf_fweh_queue_event()
198 if (!list_empty(&fweh->event_q)) { in brcmf_fweh_dequeue_event()
199 event = list_first_entry(&fweh->event_q, in brcmf_fweh_dequeue_event()
295 INIT_LIST_HEAD(&fweh->event_q); in brcmf_fweh_attach()
310 WARN_ON(!list_empty(&fweh->event_q)); in brcmf_fweh_detach()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/libsas/
H A Dsas_event.c26 rc = queue_work(ha->event_q, &sw->work); in sas_queue_work()
55 drain_workqueue(ha->event_q); in __sas_drain_work()
H A Dsas_init.c128 sas_ha->event_q = create_singlethread_workqueue(name); in sas_register_ha()
129 if (!sas_ha->event_q) in sas_register_ha()
143 destroy_workqueue(sas_ha->event_q); in sas_register_ha()
175 destroy_workqueue(sas_ha->event_q); in sas_unregister_ha()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/libsas/
H A Dsas_event.c26 rc = queue_work(ha->event_q, &sw->work); in sas_queue_work()
55 drain_workqueue(ha->event_q); in __sas_drain_work()
H A Dsas_init.c128 sas_ha->event_q = create_singlethread_workqueue(name); in sas_register_ha()
129 if (!sas_ha->event_q) in sas_register_ha()
143 destroy_workqueue(sas_ha->event_q); in sas_register_ha()
175 destroy_workqueue(sas_ha->event_q); in sas_unregister_ha()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/scsi/libsas/
H A Dsas_event.c26 rc = queue_work(ha->event_q, &sw->work); in sas_queue_work()
55 drain_workqueue(ha->event_q); in __sas_drain_work()
H A Dsas_init.c128 sas_ha->event_q = create_singlethread_workqueue(name); in sas_register_ha()
129 if (!sas_ha->event_q) in sas_register_ha()
143 destroy_workqueue(sas_ha->event_q); in sas_register_ha()
175 destroy_workqueue(sas_ha->event_q); in sas_unregister_ha()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/snic/
H A Dsnic_main.c154 queue_work(snic_glob->event_q, &snic->link_work); in snic_handle_link_event()
782 flush_workqueue(snic_glob->event_q); in snic_remove()
901 snic_glob->event_q = create_singlethread_workqueue("snic_event_wq"); in snic_global_data_init()
902 if (!snic_glob->event_q) { in snic_global_data_init()
940 destroy_workqueue(snic_glob->event_q); in snic_global_data_cleanup()
H A Dsnic_disc.c433 queue_work(snic_glob->event_q, &snic->tgt_work); in snic_report_tgt_cmpl_handler()
558 queue_work(snic_glob->event_q, &tgt->del_work); in snic_tgt_del_all()
564 flush_workqueue(snic_glob->event_q); in snic_tgt_del_all()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/snic/
H A Dsnic_main.c154 queue_work(snic_glob->event_q, &snic->link_work); in snic_handle_link_event()
782 flush_workqueue(snic_glob->event_q); in snic_remove()
901 snic_glob->event_q = create_singlethread_workqueue("snic_event_wq"); in snic_global_data_init()
902 if (!snic_glob->event_q) { in snic_global_data_init()
940 destroy_workqueue(snic_glob->event_q); in snic_global_data_cleanup()
H A Dsnic_disc.c433 queue_work(snic_glob->event_q, &snic->tgt_work); in snic_report_tgt_cmpl_handler()
558 queue_work(snic_glob->event_q, &tgt->del_work); in snic_tgt_del_all()
564 flush_workqueue(snic_glob->event_q); in snic_tgt_del_all()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/scsi/snic/
H A Dsnic_main.c154 queue_work(snic_glob->event_q, &snic->link_work); in snic_handle_link_event()
782 flush_workqueue(snic_glob->event_q); in snic_remove()
901 snic_glob->event_q = create_singlethread_workqueue("snic_event_wq"); in snic_global_data_init()
902 if (!snic_glob->event_q) { in snic_global_data_init()
940 destroy_workqueue(snic_glob->event_q); in snic_global_data_cleanup()
H A Dsnic_disc.c433 queue_work(snic_glob->event_q, &snic->tgt_work); in snic_report_tgt_cmpl_handler()
558 queue_work(snic_glob->event_q, &tgt->del_work); in snic_tgt_del_all()
564 flush_workqueue(snic_glob->event_q); in snic_tgt_del_all()
/dports/sysutils/openipmi/OpenIPMI-2.0.29/sample/
H A Dipmi_serial_bmc_emu.c94 struct msg *event_q, *event_q_tail; member
221 mi->event_q = emsg; in queue_event()
908 if (mi->event_q) in handle_msg()
986 if (!mi->event_q) { in handle_msg()
991 m = mi->event_q; in handle_msg()
992 mi->event_q = m->next; in handle_msg()
993 if (!mi->event_q) in handle_msg()
/dports/sysutils/u-boot-utilite/u-boot-2015.07/drivers/usb/host/
H A Dxhci-keystone.c247 u32 val, usb2_pls, usb3_pls, event_q; in keystone_xhci_phy_suspend() local
284 writel((u32)&event_q, &dwc3_reg->g_evnt_buf[0].g_evntadrlo); in keystone_xhci_phy_suspend()
/dports/net/mpich/mpich-3.4.3/modules/ucx/src/uct/cuda/cuda_ipc/
H A Dcuda_ipc_iface.c233 ucs_queue_head_t *event_q) in uct_cuda_ipc_progress_event_q() argument
241 ucs_queue_for_each_safe(cuda_ipc_event, iter, event_q, queue) { in uct_cuda_ipc_progress_event_q()
249 ucs_queue_del_iter(event_q, iter); in uct_cuda_ipc_progress_event_q()

12