Lines Matching refs:vmbus_connection
256 vmbus_connection.monitor_pages[0])); in server_monitor_pending_show()
270 vmbus_connection.monitor_pages[1])); in client_monitor_pending_show()
284 vmbus_connection.monitor_pages[0])); in server_monitor_latency_show()
298 vmbus_connection.monitor_pages[1])); in client_monitor_latency_show()
312 vmbus_connection.monitor_pages[0])); in server_monitor_conn_id_show()
326 vmbus_connection.monitor_pages[1])); in client_monitor_conn_id_show()
528 mutex_lock(&vmbus_connection.channel_mutex); in channel_vp_mapping_show()
546 mutex_unlock(&vmbus_connection.channel_mutex); in channel_vp_mapping_show()
1009 mutex_lock(&vmbus_connection.channel_mutex); in vmbus_device_release()
1011 mutex_unlock(&vmbus_connection.channel_mutex); in vmbus_device_release()
1061 if (vmbus_connection.conn_state == DISCONNECTED) in vmbus_onmessage_work()
1191 atomic_inc(&vmbus_connection.offer_in_progress); in vmbus_on_msg_dpc()
1195 queue_work(vmbus_connection.work_queue, &ctx->work); in vmbus_on_msg_dpc()
1237 queue_work(vmbus_connection.work_queue, &ctx->work); in vmbus_force_channel_rescinded()
1251 recv_int_page = vmbus_connection.recv_int_page; in vmbus_chan_sched()
1836 mutex_lock(&vmbus_connection.channel_mutex); in target_cpu_store()
1885 mutex_unlock(&vmbus_connection.channel_mutex); in target_cpu_store()
1896 vmbus_connection.monitor_pages[1])); in channel_pending_show()
1905 vmbus_connection.monitor_pages[1])); in channel_latency_show()
2458 while (atomic_read(&vmbus_connection.offer_in_progress) != 0) { in vmbus_bus_suspend()
2466 mutex_lock(&vmbus_connection.channel_mutex); in vmbus_bus_suspend()
2467 list_for_each_entry(channel, &vmbus_connection.chn_list, listentry) { in vmbus_bus_suspend()
2473 mutex_unlock(&vmbus_connection.channel_mutex); in vmbus_bus_suspend()
2489 if (atomic_read(&vmbus_connection.nr_chan_close_on_suspend) > 0) in vmbus_bus_suspend()
2490 wait_for_completion(&vmbus_connection.ready_for_suspend_event); in vmbus_bus_suspend()
2492 if (atomic_read(&vmbus_connection.nr_chan_fixup_on_resume) != 0) { in vmbus_bus_suspend()
2497 mutex_lock(&vmbus_connection.channel_mutex); in vmbus_bus_suspend()
2499 list_for_each_entry(channel, &vmbus_connection.chn_list, listentry) { in vmbus_bus_suspend()
2522 atomic_inc(&vmbus_connection.nr_chan_fixup_on_resume); in vmbus_bus_suspend()
2525 mutex_unlock(&vmbus_connection.channel_mutex); in vmbus_bus_suspend()
2530 reinit_completion(&vmbus_connection.ready_for_resume_event); in vmbus_bus_suspend()
2565 WARN_ON(atomic_read(&vmbus_connection.nr_chan_fixup_on_resume) == 0); in vmbus_bus_resume()
2570 &vmbus_connection.ready_for_resume_event, 10 * HZ) == 0) in vmbus_bus_resume()
2574 reinit_completion(&vmbus_connection.ready_for_suspend_event); in vmbus_bus_resume()
2753 vmbus_connection.conn_state = DISCONNECTED; in vmbus_exit()
2771 kfree(vmbus_connection.channels); in vmbus_exit()