Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/unisys/visorutil/
Dperiodic_work.c35 struct workqueue_struct *workqueue; member
48 struct workqueue_struct *workqueue, in visor_periodic_work_create() argument
61 pw->workqueue = workqueue; in visor_periodic_work_create()
90 } else if (queue_delayed_work(pw->workqueue, &pw->work, in visor_periodic_work_nextperiod()
121 if (queue_delayed_work(pw->workqueue, &pw->work, in visor_periodic_work_start()
/linux-4.1.27/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.1.27/net/mac802154/
Dmain.c144 local->workqueue = in ieee802154_register_hw()
146 if (!local->workqueue) { in ieee802154_register_hw()
180 destroy_workqueue(local->workqueue); in ieee802154_register_hw()
191 flush_workqueue(local->workqueue); in ieee802154_unregister_hw()
192 destroy_workqueue(local->workqueue); in ieee802154_unregister_hw()
Dtx.c113 queue_work(local->workqueue, &ieee802154_xmit_cb.work); in ieee802154_tx()
Dieee802154_i.h54 struct workqueue_struct *workqueue; member
/linux-4.1.27/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.1.27/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()
187 if (whc->workqueue) in whc_clean_up()
188 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.1.27/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()
562 queue_work(drv_data->workqueue, &drv_data->pump_messages); in bfin_sport_spi_transfer()
674 drv_data->workqueue = in bfin_sport_spi_init_queue()
676 if (drv_data->workqueue == NULL) in bfin_sport_spi_init_queue()
700 queue_work(drv_data->workqueue, &drv_data->pump_messages); in bfin_sport_spi_start_queue()
744 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()
953 queue_work(drv_data->workqueue, &drv_data->pump_messages); in bfin_spi_transfer()
1186 drv_data->workqueue = create_singlethread_workqueue( in bfin_spi_init_queue()
1188 if (drv_data->workqueue == NULL) in bfin_spi_init_queue()
1211 queue_work(drv_data->workqueue, &drv_data->pump_messages); in bfin_spi_start_queue()
1253 destroy_workqueue(drv_data->workqueue); in bfin_spi_destroy_queue()
/linux-4.1.27/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()
511 destroy_workqueue(pcap->workqueue); in ezx_pcap_probe()
/linux-4.1.27/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()
1004 queue_delayed_work(priv->workqueue, in cw1200_event_handler()
1054 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_bss_loss_work()
1212 queue_work(priv->workqueue, &priv->join_complete_work); in cw1200_join_complete_cb()
1338 queue_delayed_work(priv->workqueue, in cw1200_do_join()
1355 if (queue_work(priv->workqueue, &priv->unjoin_work) <= 0) in cw1200_do_join()
1385 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.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_main.c181 queue_work(mdev->workqueue, &priv->linkstate_task); in mlx4_en_event()
216 flush_workqueue(mdev->workqueue); in mlx4_en_remove()
217 destroy_workqueue(mdev->workqueue); in mlx4_en_remove()
291 mdev->workqueue = create_singlethread_workqueue("mlx4_en"); in mlx4_en_add()
292 if (!mdev->workqueue) in mlx4_en_add()
Den_netdev.c349 queue_work(priv->mdev->workqueue, &filter->work); in mlx4_en_filter_rfs()
862 queue_work(priv->mdev->workqueue, &priv->rx_mode_task); in mlx4_en_set_rx_mode()
1305 queue_work(mdev->workqueue, &priv->watchdog_task); in mlx4_en_tx_timeout()
1446 queue_delayed_work(mdev->workqueue, &priv->stats_task, STATS_DELAY); in mlx4_en_do_get_stats()
1471 queue_delayed_work(mdev->workqueue, &priv->service_task, in mlx4_en_service_task()
1696 queue_work(mdev->workqueue, &priv->rx_mode_task); in mlx4_en_start_port()
2057 flush_workqueue(mdev->workqueue); in mlx4_en_destroy_netdev()
2100 queue_work(mdev->workqueue, &priv->watchdog_task); in mlx4_en_change_mtu()
2372 queue_work(priv->mdev->workqueue, &priv->vxlan_add_task); in mlx4_en_add_vxlan_port()
2393 queue_work(priv->mdev->workqueue, &priv->vxlan_del_task); in mlx4_en_del_vxlan_port()
[all …]
Dmlx4_en.h398 struct workqueue_struct *workqueue; member
/linux-4.1.27/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.1.27/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.txt3999 workqueue.disable_numa
4005 that this also can be controlled per-workqueue for
4006 workqueues visible under /sys/bus/workqueue/.
4008 workqueue.power_efficient
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/staging/unisys/include/
Dperiodic_work.h29 struct workqueue_struct *workqueue,
/linux-4.1.27/Documentation/DocBook/
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 …lude/linux/ktime.h include/linux/hrtimer.h kernel/time/hrtimer.c kernel/workqueue.c kernel/exit.c …
/linux-4.1.27/drivers/gpu/drm/msm/edp/
Dedp_ctrl.c91 struct workqueue_struct *workqueue; member
1104 queue_work(ctrl->workqueue, &ctrl->on_work); in msm_edp_ctrl_power()
1106 queue_work(ctrl->workqueue, &ctrl->off_work); in msm_edp_ctrl_power()
1167 ctrl->workqueue = alloc_ordered_workqueue("edp_drm_work", 0); in msm_edp_ctrl_init()
1184 if (ctrl->workqueue) { in msm_edp_ctrl_destroy()
1185 flush_workqueue(ctrl->workqueue); in msm_edp_ctrl_destroy()
1186 destroy_workqueue(ctrl->workqueue); in msm_edp_ctrl_destroy()
1187 ctrl->workqueue = NULL; in msm_edp_ctrl_destroy()
/linux-4.1.27/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.1.27/drivers/net/wireless/iwlwifi/dvm/
Dscan.c208 queue_work(priv->workqueue, &priv->abort_scan); in iwl_scan_cancel()
336 queue_work(priv->workqueue, &priv->scan_completed); in iwl_rx_scan_complete_notif()
356 queue_work(priv->workqueue, in iwl_rx_scan_complete_notif()
986 queue_delayed_work(priv->workqueue, &priv->scan_check, in iwl_scan_initiate()
999 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()
Dlib.c702 queue_work(priv->workqueue, in iwlagn_bt_coex_profile_notif()
711 queue_work(priv->workqueue, &priv->bt_runtime_config); in iwlagn_bt_coex_profile_notif()
Ddev.h674 struct workqueue_struct *workqueue; member
Dmac80211.c322 flush_workqueue(priv->workqueue); in iwlagn_mac_stop()
1167 queue_work(priv->workqueue, &priv->beacon_update); in iwlagn_mac_set_tim()
Drx.c547 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.1.27/drivers/net/wireless/mwifiex/
Dmain.c144 queue_work(adapter->workqueue, &adapter->main_work); in mwifiex_queue_main_work()
428 flush_workqueue(adapter->workqueue); in mwifiex_terminate_workqueue()
429 destroy_workqueue(adapter->workqueue); in mwifiex_terminate_workqueue()
430 adapter->workqueue = NULL; in mwifiex_terminate_workqueue()
1133 adapter->workqueue = in mwifiex_add_card()
1136 if (!adapter->workqueue) in mwifiex_add_card()
Dcmdevt.c170 queue_work(adapter->workqueue, &adapter->main_work); in mwifiex_dnld_cmd_to_fw()
586 queue_work(adapter->workqueue, &adapter->main_work); in mwifiex_send_cmd()
Dmain.h772 struct workqueue_struct *workqueue; member
Dscan.c1477 queue_work(adapter->workqueue, &adapter->main_work); in mwifiex_scan_networks()
Dcfg80211.c738 flush_workqueue(adapter->workqueue); in mwifiex_deinit_priv_params()
/linux-4.1.27/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.h47 struct workqueue_struct *workqueue; member
Dtcm_usb_gadget.c1154 ret = queue_work(tpg->workqueue, &cmd->work); in usbg_submit_command()
1250 ret = queue_work(tpg->workqueue, &cmd->work); in bot_submit_command()
1566 tpg->workqueue = alloc_workqueue("tcm_usb_gadget", 0, 1); in usbg_make_tpg()
1567 if (!tpg->workqueue) { in usbg_make_tpg()
1578 destroy_workqueue(tpg->workqueue); in usbg_make_tpg()
1592 destroy_workqueue(tpg->workqueue); in usbg_drop_tpg()
/linux-4.1.27/drivers/target/tcm_fc/
Dtcm_fc.h101 struct workqueue_struct *workqueue; member
Dtfc_conf.c347 tpg->workqueue = wq; in ft_add_tpg()
364 destroy_workqueue(tpg->workqueue); in ft_del_tpg()
Dtfc_io.c338 queue_work(cmd->sess->tport->tpg->workqueue, &cmd->work); in ft_recv_write_data()
Dtfc_cmd.c476 queue_work(sess->tport->tpg->workqueue, &cmd->work); in ft_recv_cmd()
/linux-4.1.27/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.1.27/drivers/net/wireless/ath/ath10k/
Dcore.c1319 queue_work(ar->workqueue, &ar->register_work); in ath10k_core_register()
1396 ar->workqueue = create_singlethread_workqueue("ath10k_wq"); in ath10k_core_create()
1397 if (!ar->workqueue) in ath10k_core_create()
1425 destroy_workqueue(ar->workqueue); in ath10k_core_create()
1436 flush_workqueue(ar->workqueue); in ath10k_core_destroy()
1437 destroy_workqueue(ar->workqueue); in ath10k_core_destroy()
Dcore.h617 struct workqueue_struct *workqueue; member
Ddebug.c845 queue_work(ar->workqueue, &ar->restart_work); in ath10k_write_simulate_fw_crash()
1276 queue_delayed_work(ar->workqueue, &ar->debug.htt_stats_dwork, in ath10k_debug_htt_stats_req()
Dpci.c1048 queue_work(ar->workqueue, &ar->restart_work); in ath10k_pci_fw_crashed_dump()
/linux-4.1.27/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.1.27/net/mac80211/
Dpm.c50 flush_workqueue(local->workqueue); in __ieee80211_suspend()
Dmain.c255 flush_workqueue(local->workqueue); in ieee80211_restart_work()
1017 local->workqueue = in ieee80211_register_hw()
1019 if (!local->workqueue) { in ieee80211_register_hw()
1121 destroy_workqueue(local->workqueue); in ieee80211_register_hw()
1184 destroy_workqueue(local->workqueue); in ieee80211_unregister_hw()
Dutil.c791 queue_work(local->workqueue, work); in ieee80211_queue_work()
804 queue_delayed_work(local->workqueue, dwork, delay); in ieee80211_queue_delayed_work()
1690 flush_workqueue(local->workqueue); in ieee80211_stop_device()
Dieee80211_i.h1114 struct workqueue_struct *workqueue; member
/linux-4.1.27/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.1.27/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()
3783 queue_delayed_work(il->workqueue, &il->_3945.rfkill_poll, 2 * HZ); in il3945_pci_probe()
3788 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()
5863 flush_workqueue(il->workqueue); in il4965_mac_stop()
6236 il->workqueue = create_singlethread_workqueue(DRV_NAME); in il4965_setup_deferred_work()
6683 destroy_workqueue(il->workqueue); in il4965_pci_probe()
6684 il->workqueue = NULL; in il4965_pci_probe()
6761 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.1.27/net/bluetooth/
Dhci_core.c1601 drain_workqueue(hdev->workqueue); in hci_dev_do_close()
1710 drain_workqueue(hdev->workqueue); in hci_dev_do_reset()
2525 queue_work(hdev->workqueue, &hdev->cmd_work); in hci_cmd_timeout()
2945 queue_delayed_work(hdev->workqueue, in le_scan_restart_work_complete()
3129 hdev->workqueue = alloc_workqueue("%s", WQ_HIGHPRI | WQ_UNBOUND | in hci_register_dev()
3131 if (!hdev->workqueue) { in hci_register_dev()
3139 destroy_workqueue(hdev->workqueue); in hci_register_dev()
3194 destroy_workqueue(hdev->workqueue); in hci_register_dev()
3245 destroy_workqueue(hdev->workqueue); in hci_unregister_dev()
3317 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()
357 queue_delayed_work(hdev->workqueue, &hdev->rpa_expired, to); in hci_update_random_address()
Dhci_sock.c1158 queue_work(hdev->workqueue, &hdev->tx_work); in hci_sock_sendmsg()
1174 queue_work(hdev->workqueue, &hdev->tx_work); in hci_sock_sendmsg()
1182 queue_work(hdev->workqueue, &hdev->cmd_work); in hci_sock_sendmsg()
1191 queue_work(hdev->workqueue, &hdev->tx_work); in hci_sock_sendmsg()
Dhci_event.c1104 queue_delayed_work(hdev->workqueue, in hci_cc_le_set_adv_enable()
2031 queue_delayed_work(conn->hdev->workqueue, in hci_cs_le_create_conn()
3054 queue_work(hdev->workqueue, &hdev->cmd_work); in hci_cmd_complete_evt()
3165 queue_work(hdev->workqueue, &hdev->cmd_work); in hci_cmd_status_evt()
3262 queue_work(hdev->workqueue, &hdev->tx_work); in hci_num_comp_pkts_evt()
3333 queue_work(hdev->workqueue, &hdev->tx_work); in hci_num_comp_blocks_evt()
4121 queue_delayed_work(conn->hdev->workqueue, in hci_user_confirm_request_evt()
Dmgmt.c1731 queue_delayed_work(hdev->workqueue, &hdev->discov_off, in set_discoverable_complete()
1846 queue_delayed_work(hdev->workqueue, &hdev->discov_off, in set_discoverable()
2648 queue_delayed_work(hdev->workqueue, &hdev->service_cache, in enable_service_cache()
4246 queue_delayed_work(hdev->workqueue, in start_discovery_complete()
7005 queue_delayed_work(hdev->workqueue, in add_advertising()
8230 queue_delayed_work(hdev->workqueue, &hdev->le_scan_restart, in restart_le_scan()
Dhci_conn.c1139 queue_delayed_work(hdev->workqueue, &conn->idle_work, in hci_conn_enter_active_mode()
Dsmp.c1045 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.1.27/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.h929 struct workqueue_struct *workqueue; member
/linux-4.1.27/drivers/gpu/drm/msm/dsi/
Ddsi_host.c224 struct workqueue_struct *workqueue; member
1314 queue_work(msm_host->workqueue, &msm_host->err_work); in dsi_error()
1508 msm_host->workqueue = alloc_ordered_workqueue("dsi_drm_work", 0); in msm_dsi_host_init()
1534 if (msm_host->workqueue) { in msm_dsi_host_destroy()
1535 flush_workqueue(msm_host->workqueue); in msm_dsi_host_destroy()
1536 destroy_workqueue(msm_host->workqueue); in msm_dsi_host_destroy()
1537 msm_host->workqueue = NULL; in msm_dsi_host_destroy()
/linux-4.1.27/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()
2716 workqueue = alloc_ordered_workqueue("kmmcd", 0); in mmc_init()
2717 if (!workqueue) in mmc_init()
2739 destroy_workqueue(workqueue); in mmc_init()
2749 destroy_workqueue(workqueue); in mmc_exit()
/linux-4.1.27/include/linux/sunrpc/
Dsched.h106 struct workqueue_struct *workqueue; member
/linux-4.1.27/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw-internal.h173 struct workqueue_struct *workqueue; member
Dpvrusb2-hdw.c2625 hdw->workqueue = create_singlethread_workqueue(hdw->name); in pvr2_hdw_create()
2652 if (hdw->workqueue) { in pvr2_hdw_create()
2653 flush_workqueue(hdw->workqueue); in pvr2_hdw_create()
2654 destroy_workqueue(hdw->workqueue); in pvr2_hdw_create()
2655 hdw->workqueue = NULL; in pvr2_hdw_create()
2713 if (hdw->workqueue) { in pvr2_hdw_destroy()
2714 flush_workqueue(hdw->workqueue); in pvr2_hdw_destroy()
2715 destroy_workqueue(hdw->workqueue); in pvr2_hdw_destroy()
2716 hdw->workqueue = NULL; in pvr2_hdw_destroy()
4434 queue_work(hdw->workqueue,&hdw->workpoll); in pvr2_hdw_quiescent_timeout()
[all …]
/linux-4.1.27/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()
Dnfs4proc.c1821 .workqueue = nfsiod_workqueue, in _nfs4_proc_open_confirm()
1981 .workqueue = nfsiod_workqueue, in nfs4_run_open_task()
2799 .workqueue = nfsiod_workqueue, in nfs4_do_close()
5502 .workqueue = nfsiod_workqueue, in nfs4_do_unlck()
5771 .workqueue = nfsiod_workqueue, in _nfs4_do_setlk()
Dwrite.c1558 .workqueue = nfsiod_workqueue, in nfs_initiate_commit()
/linux-4.1.27/kernel/power/
DKconfig275 bool "Enable workqueue power-efficient mode by default"
284 Enabling workqueue.power_efficient kernel parameter makes the
289 This config option determines whether workqueue.power_efficient
/linux-4.1.27/drivers/net/ethernet/sfc/
Defx.c1761 queue_delayed_work(efx->workqueue, &efx->monitor_work, in efx_start_all()
1928 queue_delayed_work(efx->workqueue, &efx->monitor_work, in efx_monitor()
2187 queue_work(efx->workqueue, &efx->mac_work); in efx_set_rx_mode()
2749 efx->workqueue = create_singlethread_workqueue(efx->workqueue_name); in efx_init_struct()
2750 if (!efx->workqueue) in efx_init_struct()
2769 if (efx->workqueue) { in efx_fini_struct()
2770 destroy_workqueue(efx->workqueue); in efx_fini_struct()
2771 efx->workqueue = NULL; in efx_fini_struct()
Dnet_driver.h943 struct workqueue_struct *workqueue; member
/linux-4.1.27/drivers/media/platform/coda/
Dcoda.h92 struct workqueue_struct *workqueue; member
Dcoda-common.c913 queue_work(dev->workqueue, &ctx->pic_run_work); in coda_device_run()
946 queue_work(dev->workqueue, &ctx->seq_end_work); in coda_pic_run_work()
1373 queue_work(dev->workqueue, &ctx->seq_end_work); in coda_stop_streaming()
1778 queue_work(dev->workqueue, &ctx->seq_end_work); in coda_release()
2214 dev->workqueue = alloc_workqueue("coda", WQ_UNBOUND | WQ_MEM_RECLAIM, 1); in coda_probe()
2215 if (!dev->workqueue) { in coda_probe()
2254 destroy_workqueue(dev->workqueue); in coda_remove()
/linux-4.1.27/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.1.27/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()
2140 queue_delayed_work(qdev->workqueue, &qdev->mpi_reset_work, 0); in ql_queue_fw_error()
2156 queue_delayed_work(qdev->workqueue, &qdev->asic_reset_work, 0); in ql_queue_asic_error()
2539 qdev->workqueue, &qdev->mpi_work, 0); in qlge_isr()
4270 queue_delayed_work(qdev->workqueue, in qlge_change_mtu()
4557 if (qdev->workqueue) { in ql_release_all()
4558 destroy_workqueue(qdev->workqueue); in ql_release_all()
4559 qdev->workqueue = NULL; in ql_release_all()
4680 qdev->workqueue = create_singlethread_workqueue(ndev->name); in ql_init_device()
Dqlge.h2139 struct workqueue_struct *workqueue; member
/linux-4.1.27/Documentation/device-mapper/
Ddm-crypt.txt68 The default is to use an unbound workqueue so that encryption work
/linux-4.1.27/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()
3233 workqueue = create_singlethread_workqueue("u132"); in u132_hcd_init()
3253 flush_workqueue(workqueue); in u132_hcd_exit()
3254 destroy_workqueue(workqueue); in u132_hcd_exit()
/linux-4.1.27/kernel/
DMakefile8 signal.o sys.o kmod.o workqueue.o pid.o task_work.o \
/linux-4.1.27/drivers/net/ethernet/qlogic/
Dqla3xxx.c2246 queue_delayed_work(qdev->workqueue, &qdev->reset_work, 0); in ql3xxx_isr()
3617 queue_delayed_work(qdev->workqueue, &qdev->tx_timeout_work, 0); in ql3xxx_tx_timeout()
3753 queue_delayed_work(qdev->workqueue, &qdev->link_state_work, 0); in ql3xxx_timer()
3888 qdev->workqueue = create_singlethread_workqueue(ndev->name); in ql3xxx_probe()
3929 if (qdev->workqueue) { in ql3xxx_remove()
3932 destroy_workqueue(qdev->workqueue); in ql3xxx_remove()
3933 qdev->workqueue = NULL; in ql3xxx_remove()
Dqla3xxx.h1180 struct workqueue_struct *workqueue; member
/linux-4.1.27/Documentation/networking/
Doperstates.txt108 Whenever the driver CHANGES one of these flags, a workqueue event is
/linux-4.1.27/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.1.27/include/net/bluetooth/
Dhci_core.h306 struct workqueue_struct *workqueue; member
896 queue_delayed_work(conn->hdev->workqueue, in hci_conn_drop()
/linux-4.1.27/net/sunrpc/
Dsched.c910 task->tk_workqueue = task_setup_data->workqueue; in rpc_init_task()
/linux-4.1.27/Documentation/filesystems/caching/
Dobject.txt131 the slow work facility. This was used in preference to the workqueue facility
/linux-4.1.27/Documentation/filesystems/
Dgfs2-glocks.txt13 workqueue) when it releases it in order to ensure any pending tasks
/linux-4.1.27/Documentation/power/
Druntime_pm.txt12 * The power management workqueue pm_wq in which bus types and device drivers can
Dpci.txt1000 by work items put into the power management workqueue, pm_wq. Although there
/linux-4.1.27/
DMAINTAINERS10858 F: include/linux/workqueue.h
10859 F: kernel/workqueue.c
10860 F: Documentation/workqueue.txt