Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/unisys/visorbus/
Dperiodic_work.c34 struct workqueue_struct *workqueue; member
47 struct workqueue_struct *workqueue, in visor_periodic_work_create() argument
60 pw->workqueue = workqueue; in visor_periodic_work_create()
89 } else if (!queue_delayed_work(pw->workqueue, &pw->work, in visor_periodic_work_nextperiod()
120 if (!queue_delayed_work(pw->workqueue, &pw->work, in visor_periodic_work_start()
/linux-4.4.14/include/trace/events/
Dworkqueue.h2 #define TRACE_SYSTEM workqueue
47 __field( void *, workqueue)
55 __entry->workqueue = pwq->wq;
61 __entry->work, __entry->function, __entry->workqueue,
/linux-4.4.14/Documentation/DocBook/
Dtracepoint.xml.db27 API-trace-workqueue-queue-work
28 API-trace-workqueue-activate-work
29 API-trace-workqueue-execute-start
30 API-trace-workqueue-execute-end
D.tracepoint.xml.cmd2 …s/irq.h include/trace/events/signal.h include/trace/events/block.h include/trace/events/workqueue.h
D.device-drivers.xml.cmd2 …h include/linux/hrtimer.h kernel/time/hrtimer.c include/linux/workqueue.h kernel/workqueue.c kerne…
Ddevice-drivers.xml.db124 API-alloc-workqueue
125 API-alloc-ordered-workqueue
138 API-flush-workqueue
139 API-drain-workqueue
146 API-destroy-workqueue
147 API-workqueue-set-max-active
148 API-workqueue-congested
/linux-4.4.14/net/mac802154/
Dmain.c156 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()
221 destroy_workqueue(local->workqueue); in ieee802154_unregister_hw()
Dutil.c99 flush_workqueue(local->workqueue); in ieee802154_stop_device()
Dtx.c95 queue_work(local->workqueue, &local->tx_work); in ieee802154_tx()
Dieee802154_i.h54 struct workqueue_struct *workqueue; member
/linux-4.4.14/drivers/misc/
Dtifm_core.c21 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-4.4.14/drivers/usb/host/whci/
Dint.c27 queue_work(whc->workqueue, &whc->async_work); in transfer_done()
28 queue_work(whc->workqueue, &whc->periodic_work); in transfer_done()
55 queue_work(whc->workqueue, &whc->dn_work); in whc_int_handler()
Dinit.c68 whc->workqueue = create_singlethread_workqueue(dev_name(&whc->umc->dev)); in whc_init()
69 if (whc->workqueue == NULL) { in whc_init()
186 if (whc->workqueue) in whc_clean_up()
187 destroy_workqueue(whc->workqueue); in whc_clean_up()
Dasl.c247 queue_work(whc->workqueue, &whc->async_work); in scan_async_work()
293 queue_work(whc->workqueue, &whc->async_work); in asl_urb_enqueue()
336 queue_work(whc->workqueue, &wurb->dequeue_work); in asl_urb_dequeue()
351 queue_work(whc->workqueue, &whc->async_work); in asl_qset_delete()
Dpzl.c275 queue_work(whc->workqueue, &whc->periodic_work); in scan_periodic_work()
321 queue_work(whc->workqueue, &whc->periodic_work); in pzl_urb_enqueue()
365 queue_work(whc->workqueue, &wurb->dequeue_work); in pzl_urb_dequeue()
380 queue_work(whc->workqueue, &whc->periodic_work); in pzl_qset_delete()
Dhcd.c207 queue_work(whc->workqueue, &whc->async_work); in whc_endpoint_reset()
209 queue_work(whc->workqueue, &whc->periodic_work); in whc_endpoint_reset()
Dwhcd.h60 struct workqueue_struct *workqueue; member
/linux-4.4.14/drivers/spi/
Dspi-txx9.c75 struct workqueue_struct *workqueue; member
318 queue_work(c->workqueue, &c->work); in txx9spi_transfer()
377 c->workqueue = create_singlethread_workqueue( in txx9spi_probe()
379 if (!c->workqueue) in txx9spi_probe()
403 if (c->workqueue) in txx9spi_probe()
404 destroy_workqueue(c->workqueue); in txx9spi_probe()
415 destroy_workqueue(c->workqueue); in txx9spi_remove()
Dspi-mpc52xx-psc.c45 struct workqueue_struct *workqueue; member
302 queue_work(mps->workqueue, &mps->work); in mpc52xx_psc_spi_transfer()
428 mps->workqueue = create_singlethread_workqueue( in mpc52xx_psc_spi_do_probe()
430 if (mps->workqueue == NULL) { in mpc52xx_psc_spi_do_probe()
442 destroy_workqueue(mps->workqueue); in mpc52xx_psc_spi_do_probe()
487 flush_workqueue(mps->workqueue); in mpc52xx_psc_spi_of_remove()
488 destroy_workqueue(mps->workqueue); in mpc52xx_psc_spi_of_remove()
Dspi-sh.c85 struct workqueue_struct *workqueue; member
383 queue_work(ss->workqueue, &ss->ws); in spi_sh_transfer()
428 destroy_workqueue(ss->workqueue); in spi_sh_remove()
487 ss->workqueue = create_singlethread_workqueue( in spi_sh_probe()
489 if (ss->workqueue == NULL) { in spi_sh_probe()
518 destroy_workqueue(ss->workqueue); in spi_sh_probe()
Dspi-bfin-sport.c68 struct workqueue_struct *workqueue; member
303 queue_work(drv_data->workqueue, &drv_data->pump_messages); in bfin_sport_spi_giveback()
559 queue_work(drv_data->workqueue, &drv_data->pump_messages); in bfin_sport_spi_transfer()
671 drv_data->workqueue = in bfin_sport_spi_init_queue()
673 if (drv_data->workqueue == NULL) in bfin_sport_spi_init_queue()
697 queue_work(drv_data->workqueue, &drv_data->pump_messages); in bfin_sport_spi_start_queue()
741 destroy_workqueue(drv_data->workqueue); in bfin_sport_spi_destroy_queue()
Dspi-bfin5xx.c71 struct workqueue_struct *workqueue; member
362 queue_work(drv_data->workqueue, &drv_data->pump_messages); in bfin_spi_giveback()
949 queue_work(drv_data->workqueue, &drv_data->pump_messages); in bfin_spi_transfer()
1182 drv_data->workqueue = create_singlethread_workqueue( in bfin_spi_init_queue()
1184 if (drv_data->workqueue == NULL) in bfin_spi_init_queue()
1207 queue_work(drv_data->workqueue, &drv_data->pump_messages); in bfin_spi_start_queue()
1249 destroy_workqueue(drv_data->workqueue); in bfin_spi_destroy_queue()
/linux-4.4.14/drivers/net/wireless/cw1200/
Dscan.c43 queue_delayed_work(priv->workqueue, &priv->scan.timeout, in cw1200_scan_start()
127 queue_work(priv->workqueue, &priv->scan.work); in cw1200_hw_scan()
264 queue_work(priv->workqueue, &priv->scan.work); in cw1200_scan_work()
278 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_scan_restart_delayed()
289 queue_delayed_work(priv->workqueue, &priv->clear_recent_scan_work, HZ); in cw1200_scan_complete()
309 queue_delayed_work(priv->workqueue, &priv->scan.timeout, 0); in cw1200_scan_failed_cb()
323 queue_delayed_work(priv->workqueue, &priv->scan.timeout, 0); in cw1200_scan_complete_cb()
389 queue_delayed_work(priv->workqueue, &priv->scan.probe_work, in cw1200_probe_work()
Dtxrx.c675 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 …]
Dsta.c118 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()
1000 queue_delayed_work(priv->workqueue, in cw1200_event_handler()
1050 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_bss_loss_work()
1208 queue_work(priv->workqueue, &priv->join_complete_work); in cw1200_join_complete_cb()
1334 queue_delayed_work(priv->workqueue, in cw1200_do_join()
1351 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_do_join()
1381 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_join_timeout()
[all …]
Dmain.c347 priv->workqueue = create_singlethread_workqueue("cw1200_wq"); in cw1200_init_common()
462 destroy_workqueue(priv->workqueue); in cw1200_unregister_common()
463 priv->workqueue = NULL; in cw1200_unregister_common()
Dwsm.c905 if (queue_work(priv->workqueue, in wsm_receive_indication()
946 queue_work(priv->workqueue, &priv->event_handler); in wsm_event_indication()
1396 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in wsm_handle_rx()
1533 if (queue_work(priv->workqueue, in wsm_handle_tx_data()
1554 if (queue_delayed_work(priv->workqueue, in wsm_handle_tx_data()
1569 if (queue_work(priv->workqueue, &priv->wep_key_work) <= 0) in wsm_handle_tx_data()
1706 queue_work(priv->workqueue, in wsm_get_tx()
Dcw1200.h130 struct workqueue_struct *workqueue; member
Dpm.c148 return queue_delayed_work(priv->workqueue, work, tmo); in cw1200_resume_work()
/linux-4.4.14/drivers/mfd/
Dezx-pcap.c49 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-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_main.c203 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()
326 mdev->workqueue = create_singlethread_workqueue("mlx4_en"); in mlx4_en_add()
327 if (!mdev->workqueue) in mlx4_en_add()
Den_netdev.c349 queue_work(priv->mdev->workqueue, &filter->work); in mlx4_en_filter_rfs()
801 queue_work(priv->mdev->workqueue, &priv->rx_mode_task); in mlx4_en_set_rx_mode()
1313 queue_work(mdev->workqueue, &priv->watchdog_task); in mlx4_en_tx_timeout()
1454 queue_delayed_work(mdev->workqueue, &priv->stats_task, STATS_DELAY); in mlx4_en_do_get_stats()
1479 queue_delayed_work(mdev->workqueue, &priv->service_task, in mlx4_en_service_task()
1712 queue_work(mdev->workqueue, &priv->rx_mode_task); in mlx4_en_start_port()
2073 flush_workqueue(mdev->workqueue); in mlx4_en_destroy_netdev()
2119 queue_work(mdev->workqueue, &priv->watchdog_task); in mlx4_en_change_mtu()
2423 queue_work(priv->mdev->workqueue, &priv->vxlan_add_task); in mlx4_en_add_vxlan_port()
2444 queue_work(priv->mdev->workqueue, &priv->vxlan_del_task); in mlx4_en_del_vxlan_port()
[all …]
Dmlx4_en.h399 struct workqueue_struct *workqueue; member
/linux-4.4.14/drivers/tty/serial/
Dmax3100.c125 struct workqueue_struct *workqueue; member
183 queue_work(s->workqueue, &s->work); in max3100_dowork()
566 if (s->workqueue) { in max3100_shutdown()
567 flush_workqueue(s->workqueue); in max3100_shutdown()
568 destroy_workqueue(s->workqueue); in max3100_shutdown()
569 s->workqueue = NULL; in max3100_shutdown()
606 s->workqueue = create_freezable_workqueue(b); in max3100_startup()
607 if (!s->workqueue) { in max3100_startup()
617 destroy_workqueue(s->workqueue); in max3100_startup()
618 s->workqueue = NULL; in max3100_startup()
[all …]
/linux-4.4.14/Documentation/
Dworkqueue.txt21 is needed and the workqueue (wq) API is the most commonly used
27 queue is called workqueue and the thread is called worker.
29 While there are work items on the workqueue the worker executes the
31 there is no work item left on the workqueue the worker becomes idle.
64 * Maintain compatibility with the original workqueue API.
83 workqueue.
100 workqueue API functions as they see fit. They can influence some
102 workqueue they are putting the work item on. These flags include
107 When a work item is queued to a workqueue, the target worker-pool is
108 determined according to the queue parameters and workqueue attributes
[all …]
Dpadata.txt23 The workqueue wq is where the work will actually be done; it should be
129 fact that the workqueue is used to make these calls, parallel() is run with
148 done through the workqueue, but with local software interrupts disabled.
160 down the workqueue, if necessary, should be done separately.
Dkernel-per-CPU-kthreads.txt161 Purpose: Execute workqueue requests
165 2. A given workqueue can be made visible in the sysfs filesystem
166 by passing the WQ_SYSFS to that workqueue's alloc_workqueue().
167 Such a workqueue can be confined to a given subset of the
168 CPUs using the /sys/devices/virtual/workqueue/*/cpumask sysfs
170 "ls sys/devices/virtual/workqueue". That said, the workqueues
208 e. Boot with "elevator=noop" to avoid workqueue use by
D00-INDEX476 workqueue.txt
Dkprobes.txt227 optimizing list, and kicks the kprobe-optimizer workqueue to optimize
Dkernel-parameters.txt4119 workqueue.disable_numa
4125 that this also can be controlled per-workqueue for
4126 workqueues visible under /sys/bus/workqueue/.
4128 workqueue.power_efficient
/linux-4.4.14/drivers/media/usb/hdpvr/
Dhdpvr-core.c311 dev->workqueue = create_singlethread_workqueue("hdpvr_buffer"); in hdpvr_probe()
312 if (!dev->workqueue) in hdpvr_probe()
406 if (dev->workqueue) in hdpvr_probe()
407 destroy_workqueue(dev->workqueue); in hdpvr_probe()
428 flush_workqueue(dev->workqueue); in hdpvr_disconnect()
Dhdpvr.h110 struct workqueue_struct *workqueue; member
Dhdpvr-video.c319 queue_work(dev->workqueue, &dev->worker); in hdpvr_start_streaming()
353 flush_workqueue(dev->workqueue); in hdpvr_stop_streaming()
1128 destroy_workqueue(dev->workqueue); in hdpvr_device_release()
/linux-4.4.14/drivers/memstick/core/
Dmemstick.c27 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-4.4.14/drivers/bluetooth/
Dhci_qca.c89 struct workqueue_struct *workqueue; member
330 queue_work(qca->workqueue, &qca->ws_tx_vote_off); in hci_ibs_tx_idle_timeout()
400 qca->workqueue = create_singlethread_workqueue("qca_wq"); in qca_open()
401 if (!qca->workqueue) { in qca_open()
529 destroy_workqueue(qca->workqueue); in qca_close()
559 queue_work(qca->workqueue, &qca->ws_awake_rx); in device_want_to_wakeup()
605 queue_work(qca->workqueue, &qca->ws_rx_vote_off); in device_want_to_sleep()
709 queue_work(qca->workqueue, &qca->ws_awake_device); in qca_enqueue()
/linux-4.4.14/drivers/net/wireless/libertas/
Dif_spi.c62 struct workqueue_struct *workqueue; member
1005 queue_work(card->workqueue, &card->packet_work); in if_spi_host_to_card()
1021 queue_work(card->workqueue, &card->packet_work); in if_spi_host_interrupt()
1183 card->workqueue = create_workqueue("libertas_spi"); in if_spi_probe()
1211 flush_workqueue(card->workqueue); in if_spi_probe()
1212 destroy_workqueue(card->workqueue); in if_spi_probe()
1238 flush_workqueue(card->workqueue); in libertas_spi_remove()
1239 destroy_workqueue(card->workqueue); in libertas_spi_remove()
1254 flush_workqueue(card->workqueue); in if_spi_suspend()
Dif_sdio.c128 struct workqueue_struct *workqueue; member
1011 queue_work(card->workqueue, &card->packet_worker); in if_sdio_host_to_card()
1109 flush_workqueue(card->workqueue); in if_sdio_power_save()
1231 card->workqueue = create_workqueue("libertas_sdio"); in if_sdio_probe()
1281 flush_workqueue(card->workqueue); in if_sdio_probe()
1284 destroy_workqueue(card->workqueue); in if_sdio_probe()
1329 flush_workqueue(card->workqueue); in if_sdio_remove()
1330 destroy_workqueue(card->workqueue); in if_sdio_remove()
/linux-4.4.14/drivers/staging/unisys/include/
Dperiodic_work.h31 struct workqueue_struct *workqueue,
/linux-4.4.14/Documentation/fb/
Ddeferred_io.txt15 - 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-4.4.14/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c91 struct workqueue_struct *workqueue; member
1090 queue_work(ctrl->workqueue, &ctrl->on_work); in msm_edp_ctrl_power()
1092 queue_work(ctrl->workqueue, &ctrl->off_work); in msm_edp_ctrl_power()
1153 ctrl->workqueue = alloc_ordered_workqueue("edp_drm_work", 0); in msm_edp_ctrl_init()
1170 if (ctrl->workqueue) { in msm_edp_ctrl_destroy()
1171 flush_workqueue(ctrl->workqueue); in msm_edp_ctrl_destroy()
1172 destroy_workqueue(ctrl->workqueue); in msm_edp_ctrl_destroy()
1173 ctrl->workqueue = NULL; in msm_edp_ctrl_destroy()
/linux-4.4.14/drivers/scsi/
Dvmw_pvscsi.c80 struct workqueue_struct *workqueue; member
866 flush_workqueue(adapter->workqueue); in pvscsi_host_reset()
1089 adapter->workqueue = create_singlethread_workqueue(name); in pvscsi_setup_msg_workqueue()
1090 if (!adapter->workqueue) { in pvscsi_setup_msg_workqueue()
1148 queue_work(adapter->workqueue, &adapter->work); in pvscsi_isr()
1199 if (adapter->workqueue) in pvscsi_release_resources()
1200 destroy_workqueue(adapter->workqueue); in pvscsi_release_resources()
1543 if (adapter->workqueue) in __pvscsi_shutdown()
1544 flush_workqueue(adapter->workqueue); in __pvscsi_shutdown()
/linux-4.4.14/drivers/staging/unisys/
DTODO10 - upgrade/remove deprecated workqueue operations
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Dscan.c208 queue_work(priv->workqueue, &priv->abort_scan); in iwl_scan_cancel()
328 queue_work(priv->workqueue, &priv->scan_completed); in iwl_rx_scan_complete_notif()
348 queue_work(priv->workqueue, in iwl_rx_scan_complete_notif()
977 queue_delayed_work(priv->workqueue, &priv->scan_check, in iwl_scan_initiate()
990 queue_work(priv->workqueue, &priv->start_internal_scan); in iwl_internal_short_hw_scan()
Dtt.c564 queue_work(priv->workqueue, &priv->ct_enter); in iwl_tt_enter_ct_kill()
573 queue_work(priv->workqueue, &priv->ct_exit); in iwl_tt_exit_ct_kill()
596 queue_work(priv->workqueue, &priv->tt_work); in iwl_tt_handler()
Dmain.c986 priv->workqueue = create_singlethread_workqueue(DRV_NAME); in iwl_setup_deferred_work()
1401 destroy_workqueue(priv->workqueue); in iwl_op_mode_dvm_start()
1402 priv->workqueue = NULL; in iwl_op_mode_dvm_start()
1429 flush_workqueue(priv->workqueue); in iwl_op_mode_dvm_stop()
1434 destroy_workqueue(priv->workqueue); in iwl_op_mode_dvm_stop()
1435 priv->workqueue = NULL; in iwl_op_mode_dvm_stop()
1855 queue_work(priv->workqueue, &priv->restart); in iwlagn_fw_error()
Dmac80211.c335 flush_workqueue(priv->workqueue); in iwlagn_mac_stop()
1164 queue_work(priv->workqueue, &priv->bt_runtime_config); in iwlagn_mac_event_callback()
1178 queue_work(priv->workqueue, &priv->beacon_update); in iwlagn_mac_set_tim()
Dlib.c701 queue_work(priv->workqueue, in iwlagn_bt_coex_profile_notif()
710 queue_work(priv->workqueue, &priv->bt_runtime_config); in iwlagn_bt_coex_profile_notif()
Ddev.h676 struct workqueue_struct *workqueue; member
Drx.c533 queue_work(priv->workqueue, &priv->run_time_calib_work); in iwlagn_rx_statistics()
Dtx.c1127 queue_work(priv->workqueue, &priv->tx_flush); in iwl_check_abort_status()
Drs.c884 queue_work(priv->workqueue, &priv->bt_full_concurrency); in rs_bt_update_lq()
/linux-4.4.14/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.h37 struct workqueue_struct *workqueue; member
Dtcm_usb_gadget.c1149 ret = queue_work(tpg->workqueue, &cmd->work); in usbg_submit_command()
1246 ret = queue_work(tpg->workqueue, &cmd->work); in bot_submit_command()
1403 tpg->workqueue = alloc_workqueue("tcm_usb_gadget", 0, 1); in usbg_make_tpg()
1404 if (!tpg->workqueue) { in usbg_make_tpg()
1418 destroy_workqueue(tpg->workqueue); in usbg_make_tpg()
1432 destroy_workqueue(tpg->workqueue); in usbg_drop_tpg()
/linux-4.4.14/drivers/target/tcm_fc/
Dtcm_fc.h101 struct workqueue_struct *workqueue; member
Dtfc_conf.c279 tpg->workqueue = wq; in ft_add_tpg()
296 destroy_workqueue(tpg->workqueue); in ft_del_tpg()
Dtfc_io.c332 queue_work(cmd->sess->tport->tpg->workqueue, &cmd->work); in ft_recv_write_data()
Dtfc_cmd.c461 queue_work(sess->tport->tpg->workqueue, &cmd->work); in ft_recv_cmd()
/linux-4.4.14/drivers/input/misc/
Dtwl6040-vibra.c48 struct workqueue_struct *workqueue; member
216 ret = queue_work(info->workqueue, &info->play_work); in vibra_play()
/linux-4.4.14/drivers/video/fbdev/omap2/displays-new/
Dpanel-dsi-cm.c79 struct workqueue_struct *workqueue; member
236 queue_delayed_work(ddata->workqueue, &ddata->ulps_work, in dsicm_queue_ulps_work()
1287 ddata->workqueue = create_singlethread_workqueue("dsicm_wq"); in dsicm_probe()
1288 if (ddata->workqueue == NULL) { in dsicm_probe()
1329 destroy_workqueue(ddata->workqueue); in dsicm_probe()
1359 destroy_workqueue(ddata->workqueue); in dsicm_remove()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dmain.c150 queue_work(adapter->workqueue, &adapter->main_work); in mwifiex_queue_main_work()
482 flush_workqueue(adapter->workqueue); in mwifiex_terminate_workqueue()
483 destroy_workqueue(adapter->workqueue); in mwifiex_terminate_workqueue()
484 adapter->workqueue = NULL; in mwifiex_terminate_workqueue()
1346 adapter->workqueue = in mwifiex_add_card()
1349 if (!adapter->workqueue) in mwifiex_add_card()
Dcmdevt.c171 queue_work(adapter->workqueue, &adapter->main_work); in mwifiex_dnld_cmd_to_fw()
608 queue_work(adapter->workqueue, &adapter->main_work); in mwifiex_send_cmd()
Dmain.h846 struct workqueue_struct *workqueue; member
Dscan.c1514 queue_work(adapter->workqueue, &adapter->main_work); in mwifiex_scan_networks()
Dcfg80211.c789 flush_workqueue(adapter->workqueue); in mwifiex_deinit_priv_params()
/linux-4.4.14/net/mac80211/
Dmain.c250 flush_workqueue(local->workqueue); in ieee80211_restart_work()
1021 local->workqueue = in ieee80211_register_hw()
1023 if (!local->workqueue) { in ieee80211_register_hw()
1115 destroy_workqueue(local->workqueue); in ieee80211_register_hw()
1166 destroy_workqueue(local->workqueue); in ieee80211_unregister_hw()
Dpm.c62 flush_workqueue(local->workqueue); in __ieee80211_suspend()
Dutil.c748 queue_work(local->workqueue, work); in ieee80211_queue_work()
761 queue_delayed_work(local->workqueue, dwork, delay); in ieee80211_queue_delayed_work()
1640 flush_workqueue(local->workqueue); in ieee80211_stop_device()
Dieee80211_i.h1107 struct workqueue_struct *workqueue; member
/linux-4.4.14/drivers/net/wireless/iwlegacy/
D3945-mac.c769 queue_delayed_work(il->workqueue, pwork, msecs_to_jiffies(5)); in il3945_hdl_alive()
981 queue_work(il->workqueue, &il->rx_replenish); in il3945_rx_queue_restock()
2149 queue_work(il->workqueue, &il->restart); in il3945_init_alive_start()
2242 queue_work(il->workqueue, &il->restart); in il3945_alive_start()
2522 queue_delayed_work(il->workqueue, &il->_3945.rfkill_poll, in il3945_rfkill_poll()
2868 flush_workqueue(il->workqueue); in il3945_mac_stop()
2871 queue_delayed_work(il->workqueue, &il->_3945.rfkill_poll, in il3945_mac_stop()
3418 il->workqueue = create_singlethread_workqueue(DRV_NAME); in il3945_setup_deferred_work()
3785 queue_delayed_work(il->workqueue, &il->_3945.rfkill_poll, 2 * HZ); in il3945_pci_probe()
3790 destroy_workqueue(il->workqueue); in il3945_pci_probe()
[all …]
D4965-mac.c87 queue_work(il->workqueue, &il->tx_flush); in il4965_check_abort_status()
294 queue_work(il->workqueue, &il->rx_replenish); in il4965_rx_queue_restock()
1405 queue_work(il->workqueue, &il->run_time_calib_work); in il4965_hdl_stats()
4059 queue_delayed_work(il->workqueue, pwork, msecs_to_jiffies(5)); in il4965_hdl_alive()
5368 queue_work(il->workqueue, &il->restart); in il4965_alive_start()
5865 flush_workqueue(il->workqueue); in il4965_mac_stop()
6238 il->workqueue = create_singlethread_workqueue(DRV_NAME); in il4965_setup_deferred_work()
6685 destroy_workqueue(il->workqueue); in il4965_pci_probe()
6686 il->workqueue = NULL; in il4965_pci_probe()
6763 flush_workqueue(il->workqueue); in il4965_pci_remove()
[all …]
Dcommon.c1369 queue_work(il->workqueue, &il->abort_scan); in il_scan_cancel()
1465 queue_work(il->workqueue, &il->scan_completed); in il_hdl_scan_complete()
1567 queue_delayed_work(il->workqueue, &il->scan_check, in il_scan_initiate()
3162 queue_work(il->workqueue, &il->restart); in il_enqueue_hcmd()
3271 queue_work(il->workqueue, &il->restart); in il_hcmd_queue_reclaim()
4190 queue_work(il->workqueue, &il->restart); in il_irq_handle_error()
4714 queue_work(il->workqueue, &il->restart); in il_force_reset()
D4965.c493 queue_work(il->workqueue, &il->restart); in il4965_init_alive_start()
1701 queue_work(il->workqueue, &il->txpower_work); in il4965_temperature_calib()
D3945.c1873 queue_delayed_work(il->workqueue, &il->_3945.thermal_periodic, in il3945_reg_txpower_periodic()
Dcommon.h1388 struct workqueue_struct *workqueue; member
/linux-4.4.14/drivers/net/wireless/
Drndis_wlan.c431 struct workqueue_struct *workqueue; member
1975 queue_delayed_work(priv->workqueue, &priv->scan_work, delay); in rndis_scan()
2753 queue_work(priv->workqueue, &priv->work); in rndis_wlan_do_link_up_work()
2895 queue_work(priv->workqueue, &priv->work); in rndis_wlan_set_multicast_list()
3087 queue_work(priv->workqueue, &priv->work); in rndis_wlan_indication()
3095 queue_work(priv->workqueue, &priv->work); in rndis_wlan_indication()
3277 queue_delayed_work(priv->workqueue, &priv->dev_poller_work, in rndis_device_poller()
3427 priv->workqueue = create_singlethread_workqueue("rndis_wlan"); in rndis_wlan_bind()
3513 flush_workqueue(priv->workqueue); in rndis_wlan_bind()
3514 destroy_workqueue(priv->workqueue); in rndis_wlan_bind()
[all …]
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00dev.c634 queue_work(rt2x00dev->workqueue, &rt2x00dev->sleep_work); in rt2x00lib_rxdone_check_ps()
1326 rt2x00dev->workqueue = in rt2x00lib_probe_dev()
1328 if (!rt2x00dev->workqueue) { in rt2x00lib_probe_dev()
1430 if (rt2x00dev->workqueue) in rt2x00lib_remove_dev()
1431 destroy_workqueue(rt2x00dev->workqueue); in rt2x00lib_remove_dev()
Drt2x00usb.c279 queue_work(rt2x00dev->workqueue, &rt2x00dev->txdone_work); in rt2x00usb_interrupt_txdone()
384 queue_work(rt2x00dev->workqueue, &rt2x00dev->rxdone_work); in rt2x00usb_interrupt_rxdone()
504 queue_work(queue->rt2x00dev->workqueue, completion); in rt2x00usb_flush_queue()
Drt2x00config.c270 queue_delayed_work(rt2x00dev->workqueue, in rt2x00lib_config()
Drt2800usb.c167 queue_work(rt2x00dev->workqueue, &rt2x00dev->txdone_work); in rt2800usb_tx_sta_fifo_read_completed()
175 queue_work(rt2x00dev->workqueue, &rt2x00dev->txdone_work); in rt2800usb_tx_sta_fifo_read_completed()
Drt2x00.h931 struct workqueue_struct *workqueue; member
/linux-4.4.14/net/bluetooth/
Dhci_core.c1691 drain_workqueue(hdev->workqueue); in hci_dev_do_close()
1802 drain_workqueue(hdev->workqueue); in hci_dev_do_reset()
2628 queue_work(hdev->workqueue, &hdev->cmd_work); in hci_cmd_timeout()
3170 queue_delayed_work(hdev->workqueue, in le_scan_restart_work_complete()
3358 hdev->workqueue = alloc_workqueue("%s", WQ_HIGHPRI | WQ_UNBOUND | in hci_register_dev()
3360 if (!hdev->workqueue) { in hci_register_dev()
3368 destroy_workqueue(hdev->workqueue); in hci_register_dev()
3423 destroy_workqueue(hdev->workqueue); in hci_register_dev()
3474 destroy_workqueue(hdev->workqueue); in hci_unregister_dev()
3554 queue_work(hdev->workqueue, &hdev->rx_work); in hci_recv_frame()
[all …]
Dhci_request.c66 queue_work(hdev->workqueue, &hdev->cmd_work); in req_run()
365 queue_delayed_work(hdev->workqueue, &hdev->rpa_expired, to); in hci_update_random_address()
Dhci_sock.c1231 queue_work(hdev->workqueue, &hdev->tx_work); in hci_sock_sendmsg()
1247 queue_work(hdev->workqueue, &hdev->tx_work); in hci_sock_sendmsg()
1255 queue_work(hdev->workqueue, &hdev->cmd_work); in hci_sock_sendmsg()
1270 queue_work(hdev->workqueue, &hdev->tx_work); in hci_sock_sendmsg()
Dhci_event.c1069 queue_delayed_work(hdev->workqueue, in hci_cc_le_set_adv_enable()
1942 queue_delayed_work(conn->hdev->workqueue, in hci_cs_le_create_conn()
3043 queue_work(hdev->workqueue, &hdev->cmd_work); in hci_cmd_complete_evt()
3146 queue_work(hdev->workqueue, &hdev->cmd_work); in hci_cmd_status_evt()
3243 queue_work(hdev->workqueue, &hdev->tx_work); in hci_num_comp_pkts_evt()
3314 queue_work(hdev->workqueue, &hdev->tx_work); in hci_num_comp_blocks_evt()
4110 queue_delayed_work(conn->hdev->workqueue, in hci_user_confirm_request_evt()
Dmgmt.c1521 queue_delayed_work(hdev->workqueue, in schedule_adv_instance()
1837 queue_delayed_work(hdev->workqueue, &hdev->discov_off, in set_discoverable_complete()
1952 queue_delayed_work(hdev->workqueue, &hdev->discov_off, in set_discoverable()
2757 queue_delayed_work(hdev->workqueue, &hdev->service_cache, in enable_service_cache()
4370 queue_delayed_work(hdev->workqueue, in start_discovery_complete()
8459 queue_delayed_work(hdev->workqueue, &hdev->le_scan_restart, in restart_le_scan()
Dhci_conn.c1350 queue_delayed_work(hdev->workqueue, &conn->idle_work, in hci_conn_enter_active_mode()
Dsmp.c1073 queue_work(hdev->workqueue, &conn->id_addr_update_work); in smp_notify_keys()
Dl2cap_core.c1546 queue_work(hcon->hdev->workqueue, &conn->pending_rx_work); in l2cap_conn_ready()
/linux-4.4.14/drivers/gpu/drm/msm/dsi/
Ddsi_host.c120 struct workqueue_struct *workqueue; member
1233 queue_work(msm_host->workqueue, &msm_host->err_work); in dsi_error()
1454 msm_host->workqueue = alloc_ordered_workqueue("dsi_drm_work", 0); in msm_dsi_host_init()
1473 if (msm_host->workqueue) { in msm_dsi_host_destroy()
1474 flush_workqueue(msm_host->workqueue); in msm_dsi_host_destroy()
1475 destroy_workqueue(msm_host->workqueue); in msm_dsi_host_destroy()
1476 msm_host->workqueue = NULL; in msm_dsi_host_destroy()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dcore.c1905 queue_work(ar->workqueue, &ar->register_work); in ath10k_core_register()
1991 ar->workqueue = create_singlethread_workqueue("ath10k_wq"); in ath10k_core_create()
1992 if (!ar->workqueue) in ath10k_core_create()
2026 destroy_workqueue(ar->workqueue); in ath10k_core_create()
2037 flush_workqueue(ar->workqueue); in ath10k_core_destroy()
2038 destroy_workqueue(ar->workqueue); in ath10k_core_destroy()
Dcore.h756 struct workqueue_struct *workqueue; member
Ddebug.c609 queue_work(ar->workqueue, &ar->restart_work); in ath10k_write_simulate_fw_crash()
1040 queue_delayed_work(ar->workqueue, &ar->debug.htt_stats_dwork, in ath10k_debug_htt_stats_req()
Dpci.c1392 queue_work(ar->workqueue, &ar->restart_work); in ath10k_pci_fw_crashed_dump()
/linux-4.4.14/drivers/mmc/core/
Dcore.c58 static struct workqueue_struct *workqueue; variable
75 return queue_delayed_work(workqueue, work, delay); in mmc_schedule_delayed_work()
83 flush_workqueue(workqueue); in mmc_flush_scheduled_work()
2839 workqueue = alloc_ordered_workqueue("kmmcd", 0); in mmc_init()
2840 if (!workqueue) in mmc_init()
2862 destroy_workqueue(workqueue); in mmc_init()
2872 destroy_workqueue(workqueue); in mmc_exit()
/linux-4.4.14/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw-internal.h173 struct workqueue_struct *workqueue; member
Dpvrusb2-hdw.c2627 hdw->workqueue = create_singlethread_workqueue(hdw->name); in pvr2_hdw_create()
2654 if (hdw->workqueue) { in pvr2_hdw_create()
2655 flush_workqueue(hdw->workqueue); in pvr2_hdw_create()
2656 destroy_workqueue(hdw->workqueue); in pvr2_hdw_create()
2657 hdw->workqueue = NULL; in pvr2_hdw_create()
2715 if (hdw->workqueue) { in pvr2_hdw_destroy()
2716 flush_workqueue(hdw->workqueue); in pvr2_hdw_destroy()
2717 destroy_workqueue(hdw->workqueue); in pvr2_hdw_destroy()
2718 hdw->workqueue = NULL; in pvr2_hdw_destroy()
4443 queue_work(hdw->workqueue,&hdw->workpoll); in pvr2_hdw_quiescent_timeout()
[all …]
/linux-4.4.14/fs/nfs/
Dunlink.c128 .workqueue = nfsiod_workqueue, in nfs_do_call_unlink()
413 .workqueue = nfsiod_workqueue, in nfs_async_rename()
Dpagelist.c632 .workqueue = nfsiod_workqueue, in nfs_initiate_pgio()
Dwrite.c1580 .workqueue = nfsiod_workqueue, in nfs_initiate_commit()
Dnfs4proc.c1938 .workqueue = nfsiod_workqueue, in _nfs4_proc_open_confirm()
2101 .workqueue = nfsiod_workqueue, in nfs4_run_open_task()
2940 .workqueue = nfsiod_workqueue, in nfs4_do_close()
5634 .workqueue = nfsiod_workqueue, in nfs4_do_unlck()
5903 .workqueue = nfsiod_workqueue, in _nfs4_do_setlk()
/linux-4.4.14/include/linux/sunrpc/
Dsched.h106 struct workqueue_struct *workqueue; member
/linux-4.4.14/kernel/
DMakefile8 signal.o sys.o kmod.o workqueue.o pid.o task_work.o \
/linux-4.4.14/kernel/power/
DKconfig285 bool "Enable workqueue power-efficient mode by default"
294 Enabling workqueue.power_efficient kernel parameter makes the
299 This config option determines whether workqueue.power_efficient
/linux-4.4.14/drivers/net/ethernet/sfc/
Defx.c1848 queue_delayed_work(efx->workqueue, &efx->monitor_work, in efx_start_all()
2018 queue_delayed_work(efx->workqueue, &efx->monitor_work, in efx_monitor()
2287 queue_work(efx->workqueue, &efx->mac_work); in efx_set_rx_mode()
2877 efx->workqueue = create_singlethread_workqueue(efx->workqueue_name); in efx_init_struct()
2878 if (!efx->workqueue) in efx_init_struct()
2897 if (efx->workqueue) { in efx_fini_struct()
2898 destroy_workqueue(efx->workqueue); in efx_fini_struct()
2899 efx->workqueue = NULL; in efx_fini_struct()
Dnet_driver.h929 struct workqueue_struct *workqueue; member
/linux-4.4.14/drivers/media/platform/coda/
Dcoda.h92 struct workqueue_struct *workqueue; member
Dcoda-common.c948 queue_work(dev->workqueue, &ctx->pic_run_work); in coda_device_run()
981 queue_work(dev->workqueue, &ctx->seq_end_work); in coda_pic_run_work()
1374 queue_work(dev->workqueue, &ctx->seq_end_work); in coda_stop_streaming()
1797 queue_work(dev->workqueue, &ctx->seq_end_work); in coda_release()
2231 dev->workqueue = alloc_workqueue("coda", WQ_UNBOUND | WQ_MEM_RECLAIM, 1); in coda_probe()
2232 if (!dev->workqueue) { in coda_probe()
2271 destroy_workqueue(dev->workqueue); in coda_remove()
/linux-4.4.14/Documentation/spi/
Dpxa2xx13 The driver is built around a "spi_message" fifo serviced by workqueue and a
14 tasklet. The workqueue, "pump_messages", drives message fifo and the tasklet
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/
Dqlge_mpi.c228 queue_delayed_work(qdev->workqueue, &qdev->mpi_idc_work, 0); in ql_idc_req_aen()
295 queue_delayed_work(qdev->workqueue, in ql_link_up()
1280 queue_delayed_work(qdev->workqueue, in ql_mpi_reset_work()
Dqlge_main.c939 queue_delayed_work(qdev->workqueue, &qdev->mpi_port_cfg_work, 0); in ql_8000_port_initialize()
2151 queue_delayed_work(qdev->workqueue, &qdev->mpi_reset_work, 0); in ql_queue_fw_error()
2167 queue_delayed_work(qdev->workqueue, &qdev->asic_reset_work, 0); in ql_queue_asic_error()
2550 qdev->workqueue, &qdev->mpi_work, 0); in qlge_isr()
4280 queue_delayed_work(qdev->workqueue, in qlge_change_mtu()
4567 if (qdev->workqueue) { in ql_release_all()
4568 destroy_workqueue(qdev->workqueue); in ql_release_all()
4569 qdev->workqueue = NULL; in ql_release_all()
4690 qdev->workqueue = create_singlethread_workqueue(ndev->name); in ql_init_device()
Dqlge.h2139 struct workqueue_struct *workqueue; member
/linux-4.4.14/Documentation/device-mapper/
Ddm-crypt.txt68 The default is to use an unbound workqueue so that encryption work
/linux-4.4.14/drivers/usb/host/
Du132-hcd.c92 static struct workqueue_struct *workqueue; variable
313 if (queue_delayed_work(workqueue, &ring->scheduler, delta)) in u132_ring_requeue_work()
315 } else if (queue_delayed_work(workqueue, &ring->scheduler, 0)) in u132_ring_requeue_work()
392 if (queue_delayed_work(workqueue, &endp->scheduler, delta)) in u132_endp_queue_work()
409 if (queue_delayed_work(workqueue, &u132->monitor, delta)) in u132_monitor_queue_work()
415 if (!queue_delayed_work(workqueue, &u132->monitor, delta)) in u132_monitor_requeue_work()
3215 workqueue = create_singlethread_workqueue("u132"); in u132_hcd_init()
3235 flush_workqueue(workqueue); in u132_hcd_exit()
3236 destroy_workqueue(workqueue); in u132_hcd_exit()
/linux-4.4.14/drivers/net/ethernet/qlogic/
Dqla3xxx.c2244 queue_delayed_work(qdev->workqueue, &qdev->reset_work, 0); in ql3xxx_isr()
3615 queue_delayed_work(qdev->workqueue, &qdev->tx_timeout_work, 0); in ql3xxx_tx_timeout()
3751 queue_delayed_work(qdev->workqueue, &qdev->link_state_work, 0); in ql3xxx_timer()
3886 qdev->workqueue = create_singlethread_workqueue(ndev->name); in ql3xxx_probe()
3927 if (qdev->workqueue) { in ql3xxx_remove()
3930 destroy_workqueue(qdev->workqueue); in ql3xxx_remove()
3931 qdev->workqueue = NULL; in ql3xxx_remove()
Dqla3xxx.h1180 struct workqueue_struct *workqueue; member
/linux-4.4.14/Documentation/networking/
Doperstates.txt108 Whenever the driver CHANGES one of these flags, a workqueue event is
/linux-4.4.14/Documentation/usb/
Dhotplug.txt61 hub workqueue [hub_wq], or else as part of root hub initialization
Dpower-management.txt387 use a workqueue to do the resume or suspend part of their
/linux-4.4.14/include/net/bluetooth/
Dhci_core.h312 struct workqueue_struct *workqueue; member
966 queue_delayed_work(conn->hdev->workqueue, in hci_conn_drop()
/linux-4.4.14/net/sunrpc/
Dsched.c910 task->tk_workqueue = task_setup_data->workqueue; in rpc_init_task()
/linux-4.4.14/Documentation/filesystems/
Dgfs2-glocks.txt13 workqueue) when it releases it in order to ensure any pending tasks
/linux-4.4.14/Documentation/filesystems/caching/
Dobject.txt131 the slow work facility. This was used in preference to the workqueue facility
/linux-4.4.14/Documentation/networking/dsa/
Ddsa.txt422 single call. Executes from workqueue context.
/linux-4.4.14/Documentation/power/
Druntime_pm.txt12 * The power management workqueue pm_wq in which bus types and device drivers can
Dpci.txt1025 by work items put into the power management workqueue, pm_wq. Although there
/linux-4.4.14/drivers/rtc/
DKconfig67 one can sleep when setting time, because it runs in the workqueue
/linux-4.4.14/
DMAINTAINERS11715 F: include/linux/workqueue.h
11716 F: kernel/workqueue.c
11717 F: Documentation/workqueue.txt