Lines Matching refs:vmbus_connection

257 				       vmbus_connection.monitor_pages[0]));  in server_monitor_pending_show()
271 vmbus_connection.monitor_pages[1])); in client_monitor_pending_show()
285 vmbus_connection.monitor_pages[0])); in server_monitor_latency_show()
299 vmbus_connection.monitor_pages[1])); in client_monitor_latency_show()
313 vmbus_connection.monitor_pages[0])); in server_monitor_conn_id_show()
327 vmbus_connection.monitor_pages[1])); in client_monitor_conn_id_show()
529 mutex_lock(&vmbus_connection.channel_mutex); in channel_vp_mapping_show()
547 mutex_unlock(&vmbus_connection.channel_mutex); in channel_vp_mapping_show()
1005 mutex_lock(&vmbus_connection.channel_mutex); in vmbus_device_release()
1007 mutex_unlock(&vmbus_connection.channel_mutex); in vmbus_device_release()
1058 if (vmbus_connection.conn_state == DISCONNECTED) in vmbus_onmessage_work()
1163 if (vmbus_connection.ignore_any_offer_msg) in vmbus_on_msg_dpc()
1165 queue_work(vmbus_connection.rescind_work_queue, &ctx->work); in vmbus_on_msg_dpc()
1191 if (vmbus_connection.ignore_any_offer_msg) in vmbus_on_msg_dpc()
1193 atomic_inc(&vmbus_connection.offer_in_progress); in vmbus_on_msg_dpc()
1197 queue_work(vmbus_connection.work_queue, &ctx->work); in vmbus_on_msg_dpc()
1239 queue_work(vmbus_connection.work_queue, &ctx->work); in vmbus_force_channel_rescinded()
1811 mutex_lock(&vmbus_connection.channel_mutex); in target_cpu_store()
1860 mutex_unlock(&vmbus_connection.channel_mutex); in target_cpu_store()
1871 vmbus_connection.monitor_pages[1])); in channel_pending_show()
1880 vmbus_connection.monitor_pages[1])); in channel_latency_show()
2484 vmbus_connection.ignore_any_offer_msg = true; in vmbus_bus_suspend()
2489 drain_workqueue(vmbus_connection.rescind_work_queue); in vmbus_bus_suspend()
2490 drain_workqueue(vmbus_connection.work_queue); in vmbus_bus_suspend()
2491 drain_workqueue(vmbus_connection.handle_primary_chan_wq); in vmbus_bus_suspend()
2492 drain_workqueue(vmbus_connection.handle_sub_chan_wq); in vmbus_bus_suspend()
2494 mutex_lock(&vmbus_connection.channel_mutex); in vmbus_bus_suspend()
2495 list_for_each_entry(channel, &vmbus_connection.chn_list, listentry) { in vmbus_bus_suspend()
2501 mutex_unlock(&vmbus_connection.channel_mutex); in vmbus_bus_suspend()
2517 if (atomic_read(&vmbus_connection.nr_chan_close_on_suspend) > 0) in vmbus_bus_suspend()
2518 wait_for_completion(&vmbus_connection.ready_for_suspend_event); in vmbus_bus_suspend()
2520 if (atomic_read(&vmbus_connection.nr_chan_fixup_on_resume) != 0) { in vmbus_bus_suspend()
2525 mutex_lock(&vmbus_connection.channel_mutex); in vmbus_bus_suspend()
2527 list_for_each_entry(channel, &vmbus_connection.chn_list, listentry) { in vmbus_bus_suspend()
2550 atomic_inc(&vmbus_connection.nr_chan_fixup_on_resume); in vmbus_bus_suspend()
2553 mutex_unlock(&vmbus_connection.channel_mutex); in vmbus_bus_suspend()
2558 reinit_completion(&vmbus_connection.ready_for_resume_event); in vmbus_bus_suspend()
2569 vmbus_connection.ignore_any_offer_msg = false; in vmbus_bus_resume()
2595 WARN_ON(atomic_read(&vmbus_connection.nr_chan_fixup_on_resume) == 0); in vmbus_bus_resume()
2600 &vmbus_connection.ready_for_resume_event, 10 * HZ) == 0) in vmbus_bus_resume()
2604 reinit_completion(&vmbus_connection.ready_for_suspend_event); in vmbus_bus_resume()
2781 vmbus_connection.conn_state = DISCONNECTED; in vmbus_exit()
2799 kfree(vmbus_connection.channels); in vmbus_exit()