Home
last modified time | relevance | path

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

123456789

/OK3568_Linux_fs/kernel/net/vmw_vsock/
H A Dvsock_loopback.c16 struct workqueue_struct *workqueue; member
39 queue_work(vsock->workqueue, &vsock->pkt_work); in vsock_loopback_send_pkt()
134 vsock->workqueue = alloc_workqueue("vsock-loopback", 0, 0); in vsock_loopback_init()
135 if (!vsock->workqueue) in vsock_loopback_init()
150 destroy_workqueue(vsock->workqueue); in vsock_loopback_init()
172 destroy_workqueue(vsock->workqueue); in vsock_loopback_exit()
/OK3568_Linux_fs/kernel/lib/
H A Dtest_kasan_module.c101 struct workqueue_struct *workqueue; in kasan_workqueue_uaf() local
104 workqueue = create_workqueue("kasan_wq_test"); in kasan_workqueue_uaf()
105 if (!workqueue) { in kasan_workqueue_uaf()
116 queue_work(workqueue, work); in kasan_workqueue_uaf()
117 destroy_workqueue(workqueue); in kasan_workqueue_uaf()
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dworkqueue.h3 #define TRACE_SYSTEM workqueue
33 __field( void *, workqueue)
41 __entry->workqueue = pwq->wq;
47 __entry->work, __entry->function, __entry->workqueue,
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_self_test.c29 struct workqueue_struct *workqueue; member
130 queue_work(self_test->workqueue, &self_test->commit_work); in rockchip_drm_self_test_commit()
237 slef_test->workqueue = wq; in rockchip_drm_self_test_create_worker()
247 if (slef_test->workqueue) in rockchip_drm_self_test_destory_worker()
248 destroy_workqueue(slef_test->workqueue); in rockchip_drm_self_test_destory_worker()
257 queue_work(rockchip_drm_st.workqueue, &rockchip_drm_st.commit_work); in rockchip_drm_self_test_main()
/OK3568_Linux_fs/kernel/drivers/misc/
H A Dtifm_core.c17 static struct workqueue_struct *workqueue; variable
223 flush_workqueue(workqueue); in tifm_remove_adapter()
310 queue_work(workqueue, work); in tifm_queue_work()
332 workqueue = create_freezable_workqueue("tifm"); in tifm_init()
333 if (!workqueue) in tifm_init()
348 destroy_workqueue(workqueue); in tifm_init()
357 destroy_workqueue(workqueue); in tifm_exit()
/OK3568_Linux_fs/kernel/drivers/net/wireless/quantenna/qtnfmac/pcie/
H A Dpcie.c267 ipc_tx_reg, priv->workqueue, in qtnf_pcie_init_shm_ipc()
270 ipc_rx_reg, priv->workqueue, in qtnf_pcie_init_shm_ipc()
361 pcie_priv->workqueue = create_singlethread_workqueue("QTNF_PCIE"); in qtnf_pcie_probe()
362 if (!pcie_priv->workqueue) { in qtnf_pcie_probe()
390 flush_workqueue(pcie_priv->workqueue); in qtnf_pcie_probe()
391 destroy_workqueue(pcie_priv->workqueue); in qtnf_pcie_probe()
419 flush_workqueue(priv->workqueue); in qtnf_pcie_remove()
420 destroy_workqueue(priv->workqueue); in qtnf_pcie_remove()
/OK3568_Linux_fs/kernel/net/mac802154/
H A Dmain.c148 local->workqueue = in ieee802154_register_hw()
150 if (!local->workqueue) { in ieee802154_register_hw()
201 destroy_workqueue(local->workqueue); in ieee802154_register_hw()
212 flush_workqueue(local->workqueue); in ieee802154_unregister_hw()
220 destroy_workqueue(local->workqueue); in ieee802154_unregister_hw()
/OK3568_Linux_fs/kernel/drivers/net/wireless/quantenna/qtnfmac/
H A Dshm_ipc.c62 queue_work(ipc->workqueue, &ipc->irq_work); in qtnf_shm_ipc_irq_inbound_handler()
83 struct workqueue_struct *workqueue, in qtnf_shm_ipc_init() argument
97 ipc->workqueue = workqueue; in qtnf_shm_ipc_init()
H A Dshm_ipc.h46 struct workqueue_struct *workqueue; member
54 struct workqueue_struct *workqueue,
H A Dcore.c173 queue_work(bus->workqueue, &vif->reset_work); in qtnf_netdev_tx_timeout()
729 bus->workqueue = alloc_ordered_workqueue("QTNF_BUS", 0); in qtnf_core_attach()
730 if (!bus->workqueue) { in qtnf_core_attach()
818 if (bus->workqueue) { in qtnf_core_detach()
819 flush_workqueue(bus->workqueue); in qtnf_core_detach()
820 destroy_workqueue(bus->workqueue); in qtnf_core_detach()
821 bus->workqueue = NULL; in qtnf_core_detach()
/OK3568_Linux_fs/kernel/Documentation/core-api/
H A Dworkqueue.rst14 is needed and the workqueue (wq) API is the most commonly used
20 queue is called workqueue and the thread is called worker.
22 While there are work items on the workqueue the worker executes the
24 there is no work item left on the workqueue the worker becomes idle.
58 * Maintain compatibility with the original workqueue API.
78 workqueue.
95 workqueue API functions as they see fit. They can influence some
97 workqueue they are putting the work item on. These flags include
102 When a work item is queued to a workqueue, the target worker-pool is
103 determined according to the queue parameters and workqueue attributes
[all …]
/OK3568_Linux_fs/kernel/drivers/remoteproc/
H A Dkeystone_remoteproc.c66 struct work_struct workqueue; member
144 container_of(work, struct keystone_rproc, workqueue); in handle_event()
157 schedule_work(&ksproc->workqueue); in keystone_rproc_vring_interrupt()
174 INIT_WORK(&ksproc->workqueue, handle_event); in keystone_rproc_start()
202 flush_work(&ksproc->workqueue); in keystone_rproc_start()
220 flush_work(&ksproc->workqueue); in keystone_rproc_stop()
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Dezx-pcap.c45 struct workqueue_struct *workqueue; member
151 queue_work(pcap->workqueue, &pcap->msr_work); in pcap_mask_irq()
159 queue_work(pcap->workqueue, &pcap->msr_work); in pcap_unmask_irq()
212 queue_work(pcap->workqueue, &pcap->isr_work); in pcap_irq_handler()
414 destroy_workqueue(pcap->workqueue); in ezx_pcap_remove()
453 pcap->workqueue = create_singlethread_workqueue("pcapd"); in ezx_pcap_probe()
454 if (!pcap->workqueue) { in ezx_pcap_probe()
509 destroy_workqueue(pcap->workqueue); in ezx_pcap_probe()
/OK3568_Linux_fs/kernel/drivers/net/wireless/st/cw1200/
H A Dscan.c40 queue_delayed_work(priv->workqueue, &priv->scan.timeout, in cw1200_scan_start()
122 queue_work(priv->workqueue, &priv->scan.work); in cw1200_hw_scan()
263 queue_work(priv->workqueue, &priv->scan.work); in cw1200_scan_work()
277 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_scan_restart_delayed()
288 queue_delayed_work(priv->workqueue, &priv->clear_recent_scan_work, HZ); in cw1200_scan_complete()
308 queue_delayed_work(priv->workqueue, &priv->scan.timeout, 0); in cw1200_scan_failed_cb()
322 queue_delayed_work(priv->workqueue, &priv->scan.timeout, 0); in cw1200_scan_complete_cb()
388 queue_delayed_work(priv->workqueue, &priv->scan.probe_work, in cw1200_probe_work()
H A Dmain.c344 priv->workqueue = create_singlethread_workqueue("cw1200_wq"); in cw1200_init_common()
345 if (!priv->workqueue) { in cw1200_init_common()
384 destroy_workqueue(priv->workqueue); in cw1200_init_common()
396 destroy_workqueue(priv->workqueue); in cw1200_init_common()
465 destroy_workqueue(priv->workqueue); in cw1200_unregister_common()
466 priv->workqueue = NULL; in cw1200_unregister_common()
H A Dsta.c115 flush_workqueue(priv->workqueue); in cw1200_stop()
167 queue_delayed_work(priv->workqueue, in __cw1200_cqm_bssloss_sm()
178 queue_work(priv->workqueue, &priv->bss_params_work); in __cw1200_cqm_bssloss_sm()
264 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_remove_interface()
991 queue_delayed_work(priv->workqueue, in cw1200_event_handler()
1041 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_bss_loss_work()
1199 queue_work(priv->workqueue, &priv->join_complete_work); in cw1200_join_complete_cb()
1325 queue_delayed_work(priv->workqueue, in cw1200_do_join()
1342 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_do_join()
1372 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_join_timeout()
[all …]
H A Dtxrx.c672 if (queue_work(priv->workqueue, in cw1200_tx_h_rate_policy()
691 queue_work(priv->workqueue, in cw1200_tx_h_pm_state()
891 queue_work(priv->workqueue, in cw1200_tx_confirm_cb()
1179 queue_work(priv->workqueue, in cw1200_rx_cb()
1189 queue_work(priv->workqueue, in cw1200_rx_cb()
1281 flush_workqueue(priv->workqueue); in cw1200_link_id_reset()
1290 if (queue_work(priv->workqueue, in cw1200_link_id_reset()
1302 if (queue_work(priv->workqueue, &priv->link_id_work) <= 0) in cw1200_link_id_reset()
1304 flush_workqueue(priv->workqueue); in cw1200_link_id_reset()
1353 if (queue_work(priv->workqueue, &priv->link_id_work) <= 0) in cw1200_alloc_link_id()
[all …]
/OK3568_Linux_fs/kernel/drivers/tty/serial/
H A Dmax3100.c120 struct workqueue_struct *workqueue; member
178 queue_work(s->workqueue, &s->work); in max3100_dowork()
559 if (s->workqueue) { in max3100_shutdown()
560 flush_workqueue(s->workqueue); in max3100_shutdown()
561 destroy_workqueue(s->workqueue); in max3100_shutdown()
562 s->workqueue = NULL; in max3100_shutdown()
599 s->workqueue = create_freezable_workqueue(b); in max3100_startup()
600 if (!s->workqueue) { in max3100_startup()
610 destroy_workqueue(s->workqueue); in max3100_startup()
611 s->workqueue = NULL; in max3100_startup()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/rmi4/
H A Drmi_f54.c107 struct workqueue_struct *workqueue; member
204 queue_delayed_work(f54->workqueue, &f54->work, 0); in rmi_f54_request_report()
598 queue_delayed_work(f54->workqueue, &f54->work, in rmi_f54_work()
685 f54->workqueue = create_singlethread_workqueue("rmi4-poller"); in rmi_f54_probe()
686 if (!f54->workqueue) in rmi_f54_probe()
730 flush_workqueue(f54->workqueue); in rmi_f54_probe()
731 destroy_workqueue(f54->workqueue); in rmi_f54_probe()
741 destroy_workqueue(f54->workqueue); in rmi_f54_remove()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Den_main.c208 queue_work(mdev->workqueue, &priv->linkstate_task); in mlx4_en_event()
240 flush_workqueue(mdev->workqueue); in mlx4_en_remove()
241 destroy_workqueue(mdev->workqueue); in mlx4_en_remove()
328 mdev->workqueue = create_singlethread_workqueue("mlx4_en"); in mlx4_en_add()
329 if (!mdev->workqueue) in mlx4_en_add()
/OK3568_Linux_fs/kernel/drivers/memstick/core/
H A Dmemstick.c24 static struct workqueue_struct *workqueue; variable
209 queue_work(workqueue, &host->media_checker); in memstick_detect_change()
551 flush_workqueue(workqueue); in memstick_remove_host()
626 workqueue = create_freezable_workqueue("kmemstick"); in memstick_init()
627 if (!workqueue) in memstick_init()
643 destroy_workqueue(workqueue); in memstick_init()
652 destroy_workqueue(workqueue); in memstick_exit()
/OK3568_Linux_fs/kernel/drivers/char/tpm/
H A Dtpm_vtpm_proxy.c53 static struct workqueue_struct *workqueue; variable
481 queue_work(workqueue, &proxy_dev->work); in vtpm_proxy_work_start()
706 workqueue = create_workqueue("tpm-vtpm"); in vtpm_module_init()
707 if (!workqueue) { in vtpm_module_init()
723 destroy_workqueue(workqueue); in vtpm_module_exit()
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/libertas/
H A Dif_sdio.c124 struct workqueue_struct *workqueue; member
974 queue_work(card->workqueue, &card->packet_worker); in if_sdio_host_to_card()
1068 flush_workqueue(card->workqueue); in if_sdio_power_save()
1181 card->workqueue = alloc_workqueue("libertas_sdio", WQ_MEM_RECLAIM, 0); in if_sdio_probe()
1182 if (unlikely(!card->workqueue)) { in if_sdio_probe()
1233 flush_workqueue(card->workqueue); in if_sdio_probe()
1236 destroy_workqueue(card->workqueue); in if_sdio_probe()
1280 destroy_workqueue(card->workqueue); in if_sdio_remove()
H A Dif_spi.c58 struct workqueue_struct *workqueue; member
982 queue_work(card->workqueue, &card->packet_work); in if_spi_host_to_card()
997 queue_work(card->workqueue, &card->packet_work); in if_spi_host_interrupt()
1154 card->workqueue = alloc_workqueue("libertas_spi", WQ_MEM_RECLAIM, 0); in if_spi_probe()
1155 if (!card->workqueue) { in if_spi_probe()
1186 destroy_workqueue(card->workqueue); in if_spi_probe()
1211 destroy_workqueue(card->workqueue); in libertas_spi_remove()
1226 flush_workqueue(card->workqueue); in if_spi_suspend()
/OK3568_Linux_fs/kernel/Documentation/fb/
H A Ddeferred_io.rst16 - schedule a workqueue task to be run after a delay
19 - the workqueue task comes in and mkcleans the pages on the list, then
70 from a workqueue.

123456789