Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_std_types.c136 void ib_uverbs_free_event_queue(struct ib_uverbs_event_queue *event_queue) in ib_uverbs_free_event_queue() argument
140 spin_lock_irq(&event_queue->lock); in ib_uverbs_free_event_queue()
145 event_queue->is_closed = 1; in ib_uverbs_free_event_queue()
146 spin_unlock_irq(&event_queue->lock); in ib_uverbs_free_event_queue()
147 wake_up_interruptible(&event_queue->poll_wait); in ib_uverbs_free_event_queue()
148 kill_fasync(&event_queue->async_queue, SIGIO, POLL_IN); in ib_uverbs_free_event_queue()
150 spin_lock_irq(&event_queue->lock); in ib_uverbs_free_event_queue()
151 list_for_each_entry_safe(entry, tmp, &event_queue->event_list, list) { in ib_uverbs_free_event_queue()
157 spin_unlock_irq(&event_queue->lock); in ib_uverbs_free_event_queue()
Duverbs.h221 void ib_uverbs_free_event_queue(struct ib_uverbs_event_queue *event_queue);
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dtrans.c116 if (likely(skb_queue_len(&trans->event_queue) < in qtnf_trans_event_enqueue()
118 skb_queue_tail(&trans->event_queue, skb); in qtnf_trans_event_enqueue()
143 skb_queue_head_init(&trans->event_queue); in qtnf_trans_init()
149 struct sk_buff_head *event_queue = &bus->trans.event_queue; in qtnf_trans_free_events() local
150 struct sk_buff *current_event_skb = skb_dequeue(event_queue); in qtnf_trans_free_events()
154 current_event_skb = skb_dequeue(event_queue); in qtnf_trans_free_events()
Dtrans.h31 struct sk_buff_head event_queue; member
Devent.c787 struct sk_buff_head *event_queue = &bus->trans.event_queue; in qtnf_event_work_handler() local
788 struct sk_buff *current_event_skb = skb_dequeue(event_queue); in qtnf_event_work_handler()
793 current_event_skb = skb_dequeue(event_queue); in qtnf_event_work_handler()
/kernel/linux/linux-5.10/drivers/net/wireless/rsi/
Drsi_common.h30 init_waitqueue_head(&pevent->event_queue); in rsi_init_event()
39 status = wait_event_interruptible(event->event_queue, in rsi_wait_event()
42 status = wait_event_interruptible_timeout(event->event_queue, in rsi_wait_event()
51 wake_up_interruptible(&event->event_queue); in rsi_set_event()
Drsi_main.h199 wait_queue_head_t event_queue; member
/kernel/linux/linux-5.10/drivers/s390/net/
Dsmsgiucv_app.c99 LIST_HEAD(event_queue); in smsg_event_work_fn()
108 list_splice_init(&smsg_event_queue, &event_queue); in smsg_event_work_fn()
111 list_for_each_entry_safe(p, n, &event_queue, list) { in smsg_event_work_fn()
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/
Dsmc.h58 struct event_queue { struct
74 struct event_queue ev_queue[MAX_EVENT]; argument
75 struct event_queue *ev_put ;
76 struct event_queue *ev_get ;
/kernel/linux/linux-5.10/drivers/scsi/
D3w-9xxx.c382 event = tw_dev->event_queue[tw_dev->error_index]; in twa_aen_queue_event()
761 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
762 tw_dev->event_queue[event_index]->retrieved = TW_AEN_RETRIEVED; in twa_chrdev_ioctl()
780 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
781 tw_dev->event_queue[event_index]->retrieved = TW_AEN_RETRIEVED; in twa_chrdev_ioctl()
801 …event_index = (start_index + sequence_id - tw_dev->event_queue[start_index]->sequence_id + 1) % TW… in twa_chrdev_ioctl()
803 if (!(tw_dev->event_queue[event_index]->sequence_id > sequence_id)) { in twa_chrdev_ioctl()
809 memcpy(tw_ioctl->data_buffer, tw_dev->event_queue[event_index], sizeof(TW_Event)); in twa_chrdev_ioctl()
810 tw_dev->event_queue[event_index]->retrieved = TW_AEN_RETRIEVED; in twa_chrdev_ioctl()
830 …event_index = (start_index + sequence_id - tw_dev->event_queue[start_index]->sequence_id - 1) % TW… in twa_chrdev_ioctl()
[all …]
D3w-sas.c112 …ret = memory_read_from_buffer(outbuf, count, &offset, tw_dev->event_queue[0], sizeof(TW_Event) * T… in twl_sysfs_aen_read()
232 event = tw_dev->event_queue[tw_dev->error_index]; in twl_aen_queue_event()
923 kfree(tw_dev->event_queue[0]); in twl_free_device_extension()
1057 tw_dev->event_queue[0] = kcalloc(TW_Q_LENGTH, sizeof(TW_Event), GFP_KERNEL); in twl_initialize_device_extension()
1058 if (!tw_dev->event_queue[0]) { in twl_initialize_device_extension()
1064 …tw_dev->event_queue[i] = (TW_Event *)((unsigned char *)tw_dev->event_queue[0] + (i * sizeof(TW_Eve… in twl_initialize_device_extension()
D3w-sas.h378 TW_Event *event_queue[TW_Q_LENGTH]; member
D3w-9xxx.h664 TW_Event *event_queue[TW_Q_LENGTH]; member
/kernel/linux/linux-5.10/net/rxrpc/
Dlocal_object.c88 skb_queue_head_init(&local->event_queue); in rxrpc_alloc_local()
414 rxrpc_purge_queue(&local->event_queue); in rxrpc_local_destroyer()
442 if (!skb_queue_empty(&local->event_queue)) { in rxrpc_local_processor()
Dlocal_event.c89 skb = skb_dequeue(&local->event_queue); in rxrpc_process_local_events()
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dcpqphp_ctrl.c78 taskInfo = &(ctrl->event_queue[ctrl->next_event]); in handle_switch_change()
154 taskInfo = &(ctrl->event_queue[ctrl->next_event]); in handle_presence_change()
245 taskInfo = &(ctrl->event_queue[ctrl->next_event]); in handle_power_fault()
1781 if (ctrl->event_queue[loop].event_type != 0) { in interrupt_event_handler()
1782 hp_slot = ctrl->event_queue[loop].hp_slot; in interrupt_event_handler()
1795 if (ctrl->event_queue[loop].event_type == INT_BUTTON_PRESS) { in interrupt_event_handler()
1797 } else if (ctrl->event_queue[loop].event_type == in interrupt_event_handler()
1828 else if (ctrl->event_queue[loop].event_type == INT_BUTTON_RELEASE) { in interrupt_event_handler()
1865 else if (ctrl->event_queue[loop].event_type == INT_POWER_FAULT) { in interrupt_event_handler()
1869 ctrl->event_queue[loop].event_type = 0; in interrupt_event_handler()
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/
Dqueue.c71 struct event_queue *ev ; /* pointer into queue */ in ev_dispatcher()
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/
Dsmartpqi_init.c3296 struct pqi_event_queue *event_queue; in pqi_process_event_intr() local
3301 event_queue = &ctrl_info->event_queue; in pqi_process_event_intr()
3303 oq_ci = event_queue->oq_ci_copy; in pqi_process_event_intr()
3306 oq_pi = readl(event_queue->oq_pi); in pqi_process_event_intr()
3319 response = event_queue->oq_element_array + (oq_ci * PQI_EVENT_OQ_ELEMENT_LENGTH); in pqi_process_event_intr()
3338 event_queue->oq_ci_copy = oq_ci; in pqi_process_event_intr()
3339 writel(oq_ci, event_queue->oq_ci); in pqi_process_event_intr()
3634 ctrl_info->event_queue.oq_element_array = element_array; in pqi_alloc_operational_queues()
3635 ctrl_info->event_queue.oq_element_array_bus_addr = in pqi_alloc_operational_queues()
3672 ctrl_info->event_queue.oq_pi = next_queue_index; in pqi_alloc_operational_queues()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.h246 struct workqueue_struct *event_queue; member
Dps3_gelic_wireless.c2249 queue_delayed_work(wl->event_queue, &wl->event_work, 0); in gelic_wl_interrupt()
2319 wl->event_queue = create_singlethread_workqueue("gelic_event"); in gelic_wl_alloc()
2320 if (!wl->event_queue) in gelic_wl_alloc()
2370 destroy_workqueue(wl->event_queue); in gelic_wl_free()
2643 flush_workqueue(wl->event_queue); in gelic_wl_driver_remove()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Ddevice.c981 hl_eq_reset(hdev, &hdev->event_queue); in hl_device_reset()
1231 rc = hl_eq_init(hdev, &hdev->event_queue); in hl_device_init()
1366 hl_eq_fini(hdev, &hdev->event_queue); in hl_device_init()
1491 hl_eq_fini(hdev, &hdev->event_queue); in hl_device_fini()
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/
Dcw1200.h261 struct list_head event_queue; member
Dmain.c362 INIT_LIST_HEAD(&priv->event_queue); in cw1200_init_common()
Dsta.c122 list_splice_init(&priv->event_queue, &list); in cw1200_stop()
957 list_splice_init(&priv->event_queue, &list); in cw1200_free_event_queue()
971 list_splice_init(&priv->event_queue, &list); in cw1200_event_handler()
/kernel/linux/linux-5.10/drivers/visorbus/
Dcontrolvmchannel.h551 struct signal_queue_header event_queue; member

12