Home
last modified time | relevance | path

Searched refs:work_queue (Results 1 – 24 of 24) sorted by relevance

/drivers/hv/
Dconnection.c151 vmbus_connection.work_queue = create_workqueue("hv_vmbus_con"); in vmbus_connect()
152 if (!vmbus_connection.work_queue) { in vmbus_connect()
250 if (vmbus_connection.work_queue) { in vmbus_disconnect()
251 drain_workqueue(vmbus_connection.work_queue); in vmbus_disconnect()
252 destroy_workqueue(vmbus_connection.work_queue); in vmbus_disconnect()
Dhyperv_vmbus.h596 struct workqueue_struct *work_queue; member
Dvmbus_drv.c750 queue_work(vmbus_connection.work_queue, &ctx->work); in vmbus_on_msg_dpc()
/drivers/net/wimax/i2400m/
Ddriver.c305 i2400m->work_queue = create_singlethread_workqueue(wimax_dev->name); in __i2400m_dev_start()
306 if (i2400m->work_queue == NULL) { in __i2400m_dev_start()
319 queue_work(i2400m->work_queue, &i2400m->rx_report_ws); in __i2400m_dev_start()
351 flush_workqueue(i2400m->work_queue); in __i2400m_dev_start()
355 destroy_workqueue(i2400m->work_queue); in __i2400m_dev_start()
419 flush_workqueue(i2400m->work_queue); in __i2400m_dev_stop()
423 destroy_workqueue(i2400m->work_queue); in __i2400m_dev_stop()
Di2400m.h626 struct workqueue_struct *work_queue; member
Drx.c261 queue_work(i2400m->work_queue, &i2400m->rx_report_ws); in i2400m_report_hook_queue()
/drivers/s390/scsi/
Dzfcp_aux.c313 adapter->work_queue = alloc_ordered_workqueue(name, WQ_MEM_RECLAIM); in zfcp_setup_adapter_work_queue()
315 if (adapter->work_queue) in zfcp_setup_adapter_work_queue()
322 if (adapter->work_queue) in zfcp_destroy_adapter_work_queue()
323 destroy_workqueue(adapter->work_queue); in zfcp_destroy_adapter_work_queue()
324 adapter->work_queue = NULL; in zfcp_destroy_adapter_work_queue()
Dzfcp_fc.c74 queue_delayed_work(adapter->work_queue, &adapter->scan_work, delay); in zfcp_fc_port_scan()
142 queue_work(adapter->work_queue, &adapter->events.work); in zfcp_fc_enqueue_event()
449 if (!queue_work(port->adapter->work_queue, &port->gid_pn_work)) in zfcp_fc_trigger_did_lookup()
592 if (!queue_work(port->adapter->work_queue, &port->test_link_work)) in zfcp_fc_test_link()
Dzfcp_def.h192 struct workqueue_struct *work_queue; member
Dzfcp_scsi.c656 if (!queue_work(port->adapter->work_queue, &port->rport_work)) in zfcp_scsi_schedule_rport_register()
665 if (port->rport && queue_work(port->adapter->work_queue, in zfcp_scsi_schedule_rport_block()
Dzfcp_sysfs.c229 queue_delayed_work(adapter->work_queue, &adapter->scan_work, 0); in zfcp_sysfs_port_rescan_store()
Dzfcp_erp.c1298 queue_work(adapter->work_queue, &adapter->ns_up_work); in zfcp_erp_action_cleanup()
Dzfcp_fsf.c269 queue_work(adapter->work_queue, &adapter->stat_work); in zfcp_fsf_status_read_handler()
/drivers/staging/greybus/
Dtimesync.c76 struct workqueue_struct *work_queue; member
149 queue_delayed_work(timesync_svc->work_queue, in gb_timesync_schedule_svc_timeout()
172 queue_delayed_work(timesync_svc->work_queue, in gb_timesync_set_state()
185 queue_delayed_work(timesync_svc->work_queue, in gb_timesync_set_state()
192 queue_delayed_work(timesync_svc->work_queue, in gb_timesync_set_state()
1018 timesync_svc->work_queue = in gb_timesync_svc_add()
1021 if (!timesync_svc->work_queue) { in gb_timesync_svc_add()
1053 destroy_workqueue(timesync_svc->work_queue); in gb_timesync_svc_add()
1096 destroy_workqueue(timesync_svc->work_queue); in gb_timesync_svc_remove()
/drivers/media/i2c/
Dadv7511.c130 struct workqueue_struct *work_queue; member
1519 queue_delayed_work(state->work_queue, &state->edid_handler, EDID_DELAY); in adv7511_edid_handler()
1610 queue_delayed_work(state->work_queue, &state->edid_handler, EDID_DELAY); in adv7511_check_monitor_present_status()
1615 queue_delayed_work(state->work_queue, &state->edid_handler, EDID_DELAY); in adv7511_check_monitor_present_status()
1709 queue_delayed_work(state->work_queue, &state->edid_handler, EDID_DELAY); in adv7511_check_edid_status()
1916 state->work_queue = create_singlethread_workqueue(sd->name); in adv7511_probe()
1917 if (state->work_queue == NULL) { in adv7511_probe()
1934 destroy_workqueue(state->work_queue); in adv7511_probe()
1979 destroy_workqueue(state->work_queue); in adv7511_remove()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dmsgbuf.c267 struct list_head work_queue; member
558 if (!list_empty(&msgbuf->work_queue)) { in brcmf_msgbuf_dequeue_work()
559 work = list_first_entry(&msgbuf->work_queue, in brcmf_msgbuf_dequeue_work()
676 list_add_tail(&create->queue, &msgbuf->work_queue); in brcmf_msgbuf_flowring_create()
1526 INIT_LIST_HEAD(&msgbuf->work_queue); in brcmf_proto_msgbuf_attach()
1558 while (!list_empty(&msgbuf->work_queue)) { in brcmf_proto_msgbuf_detach()
1559 work = list_first_entry(&msgbuf->work_queue, in brcmf_proto_msgbuf_detach()
/drivers/media/platform/sti/bdisp/
Dbdisp.h198 struct workqueue_struct *work_queue; member
Dbdisp-v4l2.c353 queue_delayed_work(bdisp->work_queue, &bdisp->timeout_work, in bdisp_device_run()
1311 bdisp->work_queue = create_workqueue(BDISP_NAME); in bdisp_probe()
/drivers/media/platform/sti/hva/
Dhva-v4l2.c829 queue_work(hva->work_queue, &ctx->run_work); in hva_device_run()
1340 hva->work_queue = create_workqueue(HVA_NAME); in hva_probe()
1341 if (!hva->work_queue) { in hva_probe()
1359 destroy_workqueue(hva->work_queue); in hva_probe()
1375 destroy_workqueue(hva->work_queue); in hva_remove()
Dhva.h271 struct workqueue_struct *work_queue; member
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c1448 flush_workqueue(esw->work_queue); in esw_disable_vport()
1609 esw->work_queue = create_singlethread_workqueue("mlx5_esw_wq"); in mlx5_eswitch_init()
1610 if (!esw->work_queue) { in mlx5_eswitch_init()
1649 if (esw->work_queue) in mlx5_eswitch_init()
1650 destroy_workqueue(esw->work_queue); in mlx5_eswitch_init()
1667 destroy_workqueue(esw->work_queue); in mlx5_eswitch_cleanup()
1689 queue_work(esw->work_queue, &vport->vport_change_handler); in mlx5_eswitch_vport_event()
Deswitch.h203 struct workqueue_struct *work_queue; member
/drivers/block/drbd/
Ddrbd_main.c2503 void drbd_flush_workqueue(struct drbd_work_queue *work_queue) in drbd_flush_workqueue() argument
2509 drbd_queue_work(work_queue, &completion_work.w); in drbd_flush_workqueue()
Ddrbd_int.h1976 extern void drbd_flush_workqueue(struct drbd_work_queue *work_queue);