/Linux-v5.10/net/vmw_vsock/ |
D | vsock_loopback.c | 16 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()
|
/Linux-v5.10/include/trace/events/ |
D | workqueue.h | 3 #define TRACE_SYSTEM workqueue 33 __field( void *, workqueue) 41 __entry->workqueue = pwq->wq; 47 __entry->work, __entry->function, __entry->workqueue,
|
/Linux-v5.10/net/mac802154/ |
D | main.c | 148 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()
|
/Linux-v5.10/drivers/misc/ |
D | tifm_core.c | 17 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()
|
/Linux-v5.10/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
D | pcie.c | 267 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()
|
/Linux-v5.10/drivers/net/wireless/quantenna/qtnfmac/ |
D | shm_ipc.c | 62 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()
|
D | shm_ipc.h | 46 struct workqueue_struct *workqueue; member 54 struct workqueue_struct *workqueue,
|
D | core.c | 173 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()
|
/Linux-v5.10/drivers/remoteproc/ |
D | keystone_remoteproc.c | 66 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()
|
D | stm32_rproc.c | 89 struct workqueue_struct *workqueue; member 310 queue_work(ddata->workqueue, &mb->vq_work); in stm32_rproc_mb_callback() 810 ddata->workqueue = create_workqueue(dev_name(dev)); in stm32_rproc_probe() 811 if (!ddata->workqueue) { in stm32_rproc_probe() 832 destroy_workqueue(ddata->workqueue); in stm32_rproc_probe() 855 destroy_workqueue(ddata->workqueue); in stm32_rproc_remove()
|
/Linux-v5.10/Documentation/core-api/ |
D | workqueue.rst | 14 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 …]
|
/Linux-v5.10/drivers/mfd/ |
D | ezx-pcap.c | 45 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()
|
/Linux-v5.10/drivers/net/wireless/st/cw1200/ |
D | scan.c | 40 queue_delayed_work(priv->workqueue, &priv->scan.timeout, in cw1200_scan_start() 125 queue_work(priv->workqueue, &priv->scan.work); in cw1200_hw_scan() 266 queue_work(priv->workqueue, &priv->scan.work); in cw1200_scan_work() 280 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_scan_restart_delayed() 291 queue_delayed_work(priv->workqueue, &priv->clear_recent_scan_work, HZ); in cw1200_scan_complete() 311 queue_delayed_work(priv->workqueue, &priv->scan.timeout, 0); in cw1200_scan_failed_cb() 325 queue_delayed_work(priv->workqueue, &priv->scan.timeout, 0); in cw1200_scan_complete_cb() 391 queue_delayed_work(priv->workqueue, &priv->scan.probe_work, in cw1200_probe_work()
|
D | txrx.c | 672 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 …]
|
D | sta.c | 115 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 …]
|
D | main.c | 344 priv->workqueue = create_singlethread_workqueue("cw1200_wq"); in cw1200_init_common() 345 if (!priv->workqueue) { in cw1200_init_common() 463 destroy_workqueue(priv->workqueue); in cw1200_unregister_common() 464 priv->workqueue = NULL; in cw1200_unregister_common()
|
/Linux-v5.10/drivers/tty/serial/ |
D | max3100.c | 120 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 …]
|
/Linux-v5.10/drivers/input/rmi4/ |
D | rmi_f54.c | 107 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()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_main.c | 208 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()
|
/Linux-v5.10/drivers/memstick/core/ |
D | memstick.c | 24 static struct workqueue_struct *workqueue; variable 209 queue_work(workqueue, &host->media_checker); in memstick_detect_change() 552 flush_workqueue(workqueue); in memstick_remove_host() 627 workqueue = create_freezable_workqueue("kmemstick"); in memstick_init() 628 if (!workqueue) in memstick_init() 644 destroy_workqueue(workqueue); in memstick_init() 653 destroy_workqueue(workqueue); in memstick_exit()
|
/Linux-v5.10/drivers/char/tpm/ |
D | tpm_vtpm_proxy.c | 53 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()
|
/Linux-v5.10/Documentation/fb/ |
D | deferred_io.rst | 16 - 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.
|
/Linux-v5.10/drivers/net/wireless/marvell/libertas/ |
D | if_sdio.c | 124 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()
|
D | if_spi.c | 58 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()
|
/Linux-v5.10/net/qrtr/ |
D | ns.c | 24 struct workqueue_struct *workqueue; member 763 queue_work(qrtr_ns.workqueue, &qrtr_ns.work); in qrtr_ns_data_ready() 785 qrtr_ns.workqueue = alloc_workqueue("qrtr_ns_handler", WQ_UNBOUND, 1); in qrtr_ns_init() 786 if (!qrtr_ns.workqueue) in qrtr_ns_init() 811 destroy_workqueue(qrtr_ns.workqueue); in qrtr_ns_init() 820 destroy_workqueue(qrtr_ns.workqueue); in qrtr_ns_remove()
|