/Linux-v4.19/include/trace/events/ |
D | workqueue.h | 3 #define TRACE_SYSTEM workqueue 50 __field( void *, workqueue) 58 __entry->workqueue = pwq->wq; 64 __entry->work, __entry->function, __entry->workqueue,
|
/Linux-v4.19/net/mac802154/ |
D | main.c | 156 local->workqueue = in ieee802154_register_hw() 158 if (!local->workqueue) { in ieee802154_register_hw() 209 destroy_workqueue(local->workqueue); in ieee802154_register_hw() 220 flush_workqueue(local->workqueue); in ieee802154_unregister_hw() 228 destroy_workqueue(local->workqueue); in ieee802154_unregister_hw()
|
/Linux-v4.19/drivers/misc/ |
D | tifm_core.c | 21 static struct workqueue_struct *workqueue; variable 227 flush_workqueue(workqueue); in tifm_remove_adapter() 314 queue_work(workqueue, work); in tifm_queue_work() 336 workqueue = create_freezable_workqueue("tifm"); in tifm_init() 337 if (!workqueue) in tifm_init() 352 destroy_workqueue(workqueue); in tifm_init() 361 destroy_workqueue(workqueue); in tifm_exit()
|
/Linux-v4.19/drivers/usb/host/whci/ |
D | int.c | 16 queue_work(whc->workqueue, &whc->async_work); in transfer_done() 17 queue_work(whc->workqueue, &whc->periodic_work); in transfer_done() 44 queue_work(whc->workqueue, &whc->dn_work); in whc_int_handler()
|
D | init.c | 57 whc->workqueue = alloc_ordered_workqueue(dev_name(&whc->umc->dev), 0); in whc_init() 58 if (whc->workqueue == NULL) { in whc_init() 175 if (whc->workqueue) in whc_clean_up() 176 destroy_workqueue(whc->workqueue); in whc_clean_up()
|
D | asl.c | 234 queue_work(whc->workqueue, &whc->async_work); in scan_async_work() 280 queue_work(whc->workqueue, &whc->async_work); in asl_urb_enqueue() 323 queue_work(whc->workqueue, &wurb->dequeue_work); in asl_urb_dequeue() 338 queue_work(whc->workqueue, &whc->async_work); in asl_qset_delete()
|
D | pzl.c | 262 queue_work(whc->workqueue, &whc->periodic_work); in scan_periodic_work() 308 queue_work(whc->workqueue, &whc->periodic_work); in pzl_urb_enqueue() 352 queue_work(whc->workqueue, &wurb->dequeue_work); in pzl_urb_dequeue() 367 queue_work(whc->workqueue, &whc->periodic_work); in pzl_qset_delete()
|
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/ |
D | shm_ipc.c | 76 queue_work(ipc->workqueue, &ipc->irq_work); in qtnf_shm_ipc_irq_inbound_handler() 97 struct workqueue_struct *workqueue, in qtnf_shm_ipc_init() argument 111 ipc->workqueue = workqueue; in qtnf_shm_ipc_init()
|
D | shm_ipc.h | 61 struct workqueue_struct *workqueue; member 69 struct workqueue_struct *workqueue,
|
D | core.c | 178 queue_work(bus->workqueue, &vif->reset_work); in qtnf_netdev_tx_timeout() 590 bus->workqueue = alloc_ordered_workqueue("QTNF_BUS", 0); in qtnf_core_attach() 591 if (!bus->workqueue) { in qtnf_core_attach() 659 if (bus->workqueue) { in qtnf_core_detach() 660 flush_workqueue(bus->workqueue); in qtnf_core_detach() 661 destroy_workqueue(bus->workqueue); in qtnf_core_detach()
|
/Linux-v4.19/drivers/remoteproc/ |
D | keystone_remoteproc.c | 74 struct work_struct workqueue; member 152 container_of(work, struct keystone_rproc, workqueue); in handle_event() 165 schedule_work(&ksproc->workqueue); in keystone_rproc_vring_interrupt() 182 INIT_WORK(&ksproc->workqueue, handle_event); in keystone_rproc_start() 210 flush_work(&ksproc->workqueue); in keystone_rproc_start() 228 flush_work(&ksproc->workqueue); in keystone_rproc_stop()
|
/Linux-v4.19/drivers/net/wireless/st/cw1200/ |
D | scan.c | 43 queue_delayed_work(priv->workqueue, &priv->scan.timeout, in cw1200_scan_start() 127 queue_work(priv->workqueue, &priv->scan.work); in cw1200_hw_scan() 268 queue_work(priv->workqueue, &priv->scan.work); in cw1200_scan_work() 282 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_scan_restart_delayed() 293 queue_delayed_work(priv->workqueue, &priv->clear_recent_scan_work, HZ); in cw1200_scan_complete() 313 queue_delayed_work(priv->workqueue, &priv->scan.timeout, 0); in cw1200_scan_failed_cb() 327 queue_delayed_work(priv->workqueue, &priv->scan.timeout, 0); in cw1200_scan_complete_cb() 393 queue_delayed_work(priv->workqueue, &priv->scan.probe_work, in cw1200_probe_work()
|
D | txrx.c | 675 if (queue_work(priv->workqueue, in cw1200_tx_h_rate_policy() 694 queue_work(priv->workqueue, in cw1200_tx_h_pm_state() 894 queue_work(priv->workqueue, in cw1200_tx_confirm_cb() 1182 queue_work(priv->workqueue, in cw1200_rx_cb() 1192 queue_work(priv->workqueue, in cw1200_rx_cb() 1284 flush_workqueue(priv->workqueue); in cw1200_link_id_reset() 1293 if (queue_work(priv->workqueue, in cw1200_link_id_reset() 1305 if (queue_work(priv->workqueue, &priv->link_id_work) <= 0) in cw1200_link_id_reset() 1307 flush_workqueue(priv->workqueue); in cw1200_link_id_reset() 1356 if (queue_work(priv->workqueue, &priv->link_id_work) <= 0) in cw1200_alloc_link_id() [all …]
|
D | sta.c | 118 flush_workqueue(priv->workqueue); in cw1200_stop() 170 queue_delayed_work(priv->workqueue, in __cw1200_cqm_bssloss_sm() 181 queue_work(priv->workqueue, &priv->bss_params_work); in __cw1200_cqm_bssloss_sm() 267 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_remove_interface() 994 queue_delayed_work(priv->workqueue, in cw1200_event_handler() 1044 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_bss_loss_work() 1202 queue_work(priv->workqueue, &priv->join_complete_work); in cw1200_join_complete_cb() 1328 queue_delayed_work(priv->workqueue, in cw1200_do_join() 1345 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_do_join() 1375 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_join_timeout() [all …]
|
/Linux-v4.19/drivers/mfd/ |
D | ezx-pcap.c | 49 struct workqueue_struct *workqueue; member 152 queue_work(pcap->workqueue, &pcap->msr_work); in pcap_mask_irq() 160 queue_work(pcap->workqueue, &pcap->msr_work); in pcap_unmask_irq() 213 queue_work(pcap->workqueue, &pcap->isr_work); in pcap_irq_handler() 411 destroy_workqueue(pcap->workqueue); in ezx_pcap_remove() 450 pcap->workqueue = create_singlethread_workqueue("pcapd"); in ezx_pcap_probe() 451 if (!pcap->workqueue) { in ezx_pcap_probe() 506 destroy_workqueue(pcap->workqueue); in ezx_pcap_probe()
|
/Linux-v4.19/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-v4.19/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-v4.19/drivers/memstick/core/ |
D | memstick.c | 27 static struct workqueue_struct *workqueue; variable 212 queue_work(workqueue, &host->media_checker); in memstick_detect_change() 549 flush_workqueue(workqueue); in memstick_remove_host() 624 workqueue = create_freezable_workqueue("kmemstick"); in memstick_init() 625 if (!workqueue) in memstick_init() 636 destroy_workqueue(workqueue); in memstick_init() 645 destroy_workqueue(workqueue); in memstick_exit()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | en_main.c | 203 queue_work(mdev->workqueue, &priv->linkstate_task); in mlx4_en_event() 235 flush_workqueue(mdev->workqueue); in mlx4_en_remove() 236 destroy_workqueue(mdev->workqueue); in mlx4_en_remove() 323 mdev->workqueue = create_singlethread_workqueue("mlx4_en"); in mlx4_en_add() 324 if (!mdev->workqueue) in mlx4_en_add()
|
/Linux-v4.19/drivers/input/rmi4/ |
D | rmi_f54.c | 110 struct workqueue_struct *workqueue; member 206 queue_delayed_work(f54->workqueue, &f54->work, 0); in rmi_f54_request_report() 603 queue_delayed_work(f54->workqueue, &f54->work, in rmi_f54_work() 690 f54->workqueue = create_singlethread_workqueue("rmi4-poller"); in rmi_f54_probe() 691 if (!f54->workqueue) in rmi_f54_probe() 734 flush_workqueue(f54->workqueue); in rmi_f54_probe() 735 destroy_workqueue(f54->workqueue); in rmi_f54_probe()
|
/Linux-v4.19/drivers/char/tpm/ |
D | tpm_vtpm_proxy.c | 58 static struct workqueue_struct *workqueue; variable 489 queue_work(workqueue, &proxy_dev->work); in vtpm_proxy_work_start() 724 workqueue = create_workqueue("tpm-vtpm"); in vtpm_module_init() 725 if (!workqueue) { in vtpm_module_init() 741 destroy_workqueue(workqueue); in vtpm_module_exit()
|
/Linux-v4.19/Documentation/driver-api/ |
D | basics.rst | 61 .. kernel-doc:: include/linux/workqueue.h 64 .. kernel-doc:: kernel/workqueue.c
|
/Linux-v4.19/Documentation/fb/ |
D | deferred_io.txt | 15 - schedule a workqueue task to be run after a delay 18 - the workqueue task comes in and mkcleans the pages on the list, then 68 from a workqueue.
|
/Linux-v4.19/drivers/net/wireless/marvell/libertas/ |
D | if_spi.c | 62 struct workqueue_struct *workqueue; member 991 queue_work(card->workqueue, &card->packet_work); in if_spi_host_to_card() 1006 queue_work(card->workqueue, &card->packet_work); in if_spi_host_interrupt() 1163 card->workqueue = alloc_workqueue("libertas_spi", WQ_MEM_RECLAIM, 0); in if_spi_probe() 1164 if (!card->workqueue) { in if_spi_probe() 1195 destroy_workqueue(card->workqueue); in if_spi_probe() 1220 destroy_workqueue(card->workqueue); in libertas_spi_remove() 1235 flush_workqueue(card->workqueue); in if_spi_suspend()
|
/Linux-v4.19/drivers/bluetooth/ |
D | hci_qca.c | 102 struct workqueue_struct *workqueue; member 388 queue_work(qca->workqueue, &qca->ws_tx_vote_off); in hci_ibs_tx_idle_timeout() 460 qca->workqueue = alloc_ordered_workqueue("qca_wq", 0); in qca_open() 461 if (!qca->workqueue) { in qca_open() 512 destroy_workqueue(qca->workqueue); in qca_open() 606 destroy_workqueue(qca->workqueue); in qca_close() 646 queue_work(qca->workqueue, &qca->ws_awake_rx); in device_want_to_wakeup() 692 queue_work(qca->workqueue, &qca->ws_rx_vote_off); in device_want_to_sleep() 796 queue_work(qca->workqueue, &qca->ws_awake_device); in qca_enqueue()
|