Home
last modified time | relevance | path

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

12345678

/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/
A Dworkqueue.rst4 :Original: Documentation/core-api/workqueue.rst
30 列被称为workqueue,线程被称为工作者(worker,即执行这一队列的线程)。
73 向该函数的工作项,并在工作队列中排队等待该工作项。(就是挂到workqueue
88 ``workqueue API`` 函数创建和排队工作项。他们可以通过在工作队列上
116 workqueue将自动创建与属性相匹配的后备工作者池。调节并发水平的责任在
130 ``alloc_workqueue()`` 分配了一个wq。原来的 ``create_*workqueue()``
316 $ echo workqueue:workqueue_queue_work > /sys/kernel/tracing/set_event
350 include/linux/workqueue.h
352 kernel/workqueue.c
/linux-6.3-rc2/net/vmw_vsock/
A Dvsock_loopback.c16 struct workqueue_struct *workqueue; member
39 queue_work(vsock->workqueue, &vsock->pkt_work); in vsock_loopback_send_pkt()
131 vsock->workqueue = alloc_workqueue("vsock-loopback", 0, 0); in vsock_loopback_init()
132 if (!vsock->workqueue) in vsock_loopback_init()
147 destroy_workqueue(vsock->workqueue); in vsock_loopback_init()
163 destroy_workqueue(vsock->workqueue); in vsock_loopback_exit()
/linux-6.3-rc2/include/trace/events/
A Dworkqueue.h3 #define TRACE_SYSTEM workqueue
33 __string( workqueue, pwq->wq->name)
41 __assign_str(workqueue, pwq->wq->name);
47 __entry->work, __entry->function, __get_str(workqueue),
/linux-6.3-rc2/drivers/misc/
A Dtifm_core.c17 static struct workqueue_struct *workqueue; variable
221 flush_workqueue(workqueue); in tifm_remove_adapter()
309 queue_work(workqueue, work); in tifm_queue_work()
331 workqueue = create_freezable_workqueue("tifm"); in tifm_init()
332 if (!workqueue) in tifm_init()
347 destroy_workqueue(workqueue); in tifm_init()
356 destroy_workqueue(workqueue); in tifm_exit()
/linux-6.3-rc2/drivers/net/wireless/quantenna/qtnfmac/
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()
A Dshm_ipc.h46 struct workqueue_struct *workqueue; member
54 struct workqueue_struct *workqueue,
/linux-6.3-rc2/net/mac802154/
A Dmain.c196 local->workqueue = in ieee802154_register_hw()
198 if (!local->workqueue) { in ieee802154_register_hw()
261 destroy_workqueue(local->workqueue); in ieee802154_register_hw()
272 flush_workqueue(local->workqueue); in ieee802154_unregister_hw()
281 destroy_workqueue(local->workqueue); in ieee802154_unregister_hw()
/linux-6.3-rc2/Documentation/core-api/
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.
133 Unbound workqueue can be assigned custom attributes using
356 workqueue users.
397 2. No one queues the work item to another workqueue.
411 .. kernel-doc:: include/linux/workqueue.h
[all …]
/linux-6.3-rc2/drivers/remoteproc/
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()
/linux-6.3-rc2/drivers/mfd/
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()
210 queue_work(pcap->workqueue, &pcap->isr_work); in pcap_irq_handler()
412 destroy_workqueue(pcap->workqueue); in ezx_pcap_remove()
449 pcap->workqueue = create_singlethread_workqueue("pcapd"); in ezx_pcap_probe()
450 if (!pcap->workqueue) { in ezx_pcap_probe()
505 destroy_workqueue(pcap->workqueue); in ezx_pcap_probe()
/linux-6.3-rc2/drivers/net/wireless/st/cw1200/
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()
A Dmain.c345 priv->workqueue = create_singlethread_workqueue("cw1200_wq"); in cw1200_init_common()
346 if (!priv->workqueue) { in cw1200_init_common()
385 destroy_workqueue(priv->workqueue); in cw1200_init_common()
397 destroy_workqueue(priv->workqueue); in cw1200_init_common()
466 destroy_workqueue(priv->workqueue); in cw1200_unregister_common()
467 priv->workqueue = NULL; in cw1200_unregister_common()
/linux-6.3-rc2/drivers/net/wireless/quantenna/qtnfmac/pcie/
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 destroy_workqueue(pcie_priv->workqueue); in qtnf_pcie_probe()
418 destroy_workqueue(priv->workqueue); in qtnf_pcie_remove()
/linux-6.3-rc2/drivers/media/platform/amphion/
A Dvpu_msgs.c268 if (!inst->workqueue) in vpu_inst_handle_msg()
275 queue_work(inst->workqueue, &inst->msg_work); in vpu_inst_handle_msg()
348 queue_delayed_work(core->workqueue, &core->msg_delayed_work, delay); in vpu_msg_run_work()
373 if (inst->workqueue && kfifo_len(&inst->msg_fifo) >= bytes) in vpu_msg_delayed_work()
374 queue_work(inst->workqueue, &inst->msg_work); in vpu_msg_delayed_work()
397 queue_work(core->workqueue, &core->msg_work); in vpu_isr()
A Dvpu_core.c257 core->workqueue = alloc_workqueue("vpu", WQ_UNBOUND | WQ_MEM_RECLAIM, 1); in vpu_core_register()
258 if (!core->workqueue) { in vpu_core_register()
286 if (core->workqueue) { in vpu_core_register()
287 destroy_workqueue(core->workqueue); in vpu_core_register()
288 core->workqueue = NULL; in vpu_core_register()
311 if (core->workqueue) { in vpu_core_unregister()
314 destroy_workqueue(core->workqueue); in vpu_core_unregister()
315 core->workqueue = NULL; in vpu_core_unregister()
768 queue_work(core->workqueue, &core->msg_work); in vpu_core_resume_work()
769 queue_delayed_work(core->workqueue, &core->msg_delayed_work, delay); in vpu_core_resume_work()
[all …]
/linux-6.3-rc2/drivers/tty/serial/
A Dmax3100.c120 struct workqueue_struct *workqueue; member
178 queue_work(s->workqueue, &s->work); in max3100_dowork()
554 if (s->workqueue) { in max3100_shutdown()
555 destroy_workqueue(s->workqueue); in max3100_shutdown()
556 s->workqueue = NULL; in max3100_shutdown()
593 s->workqueue = create_freezable_workqueue(b); in max3100_startup()
594 if (!s->workqueue) { in max3100_startup()
604 destroy_workqueue(s->workqueue); in max3100_startup()
605 s->workqueue = NULL; in max3100_startup()
875 if (s->workqueue) in max3100_resume()
/linux-6.3-rc2/drivers/memstick/core/
A Dmemstick.c24 static struct workqueue_struct *workqueue; variable
208 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()
641 destroy_workqueue(workqueue); in memstick_init()
650 destroy_workqueue(workqueue); in memstick_exit()
/linux-6.3-rc2/drivers/input/rmi4/
A Drmi_f54.c113 struct workqueue_struct *workqueue; member
210 queue_delayed_work(f54->workqueue, &f54->work, 0); in rmi_f54_request_report()
604 queue_delayed_work(f54->workqueue, &f54->work, in rmi_f54_work()
691 f54->workqueue = create_singlethread_workqueue("rmi4-poller"); in rmi_f54_probe()
692 if (!f54->workqueue) in rmi_f54_probe()
736 destroy_workqueue(f54->workqueue); in rmi_f54_probe()
746 destroy_workqueue(f54->workqueue); in rmi_f54_remove()
/linux-6.3-rc2/drivers/char/tpm/
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()
/linux-6.3-rc2/Documentation/devicetree/bindings/media/
A Dmediatek,vcodec-subdev-decoder.yaml25 || lat || | core workqueue <parent>
38 There are two workqueues in parent device: lat workqueue and core workqueue. They are used
39 to lat and core hardware deocder. Lat workqueue need to get input bitstream and lat buffer,
41 done. Core workqueue need to get lat buffer and output buffer, then enable core to decode,
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Den_main.c208 queue_work(mdev->workqueue, &priv->linkstate_task); in mlx4_en_event()
240 destroy_workqueue(mdev->workqueue); in mlx4_en_remove()
327 mdev->workqueue = create_singlethread_workqueue("mlx4_en"); in mlx4_en_add()
328 if (!mdev->workqueue) in mlx4_en_add()
/linux-6.3-rc2/Documentation/fb/
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.
/linux-6.3-rc2/drivers/net/wireless/marvell/libertas/
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()
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()
1224 flush_workqueue(card->workqueue); in if_spi_suspend()
/linux-6.3-rc2/net/qrtr/
A Dns.c25 struct workqueue_struct *workqueue; member
761 queue_work(qrtr_ns.workqueue, &qrtr_ns.work); in qrtr_ns_data_ready()
783 qrtr_ns.workqueue = alloc_workqueue("qrtr_ns_handler", WQ_UNBOUND, 1); in qrtr_ns_init()
784 if (!qrtr_ns.workqueue) { in qrtr_ns_init()
811 destroy_workqueue(qrtr_ns.workqueue); in qrtr_ns_init()
821 destroy_workqueue(qrtr_ns.workqueue); in qrtr_ns_remove()

Completed in 49 milliseconds

12345678