Home
last modified time | relevance | path

Searched refs:vmbus_connection (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/drivers/hv/
Dconnection.c38 struct vmbus_connection vmbus_connection = { variable
83 msg->interrupt_page = virt_to_phys(vmbus_connection.int_page); in vmbus_negotiate_version()
84 msg->monitor_page1 = virt_to_phys(vmbus_connection.monitor_pages[0]); in vmbus_negotiate_version()
85 msg->monitor_page2 = virt_to_phys(vmbus_connection.monitor_pages[1]); in vmbus_negotiate_version()
95 spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags); in vmbus_negotiate_version()
97 &vmbus_connection.chn_msg_list); in vmbus_negotiate_version()
99 spin_unlock_irqrestore(&vmbus_connection.channelmsg_lock, flags); in vmbus_negotiate_version()
104 spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags); in vmbus_negotiate_version()
106 spin_unlock_irqrestore(&vmbus_connection.channelmsg_lock, in vmbus_negotiate_version()
114 spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags); in vmbus_negotiate_version()
[all …]
Dchannel_mgmt.c204 spin_lock_irqsave(&vmbus_connection.channel_lock, flags); in hv_process_channel_removal()
206 spin_unlock_irqrestore(&vmbus_connection.channel_lock, flags); in hv_process_channel_removal()
231 list_for_each_entry_safe(channel, tmp, &vmbus_connection.chn_list, in vmbus_free_channels()
253 spin_lock_irqsave(&vmbus_connection.channel_lock, flags); in vmbus_process_offer()
255 list_for_each_entry(channel, &vmbus_connection.chn_list, listentry) { in vmbus_process_offer()
267 &vmbus_connection.chn_list); in vmbus_process_offer()
269 spin_unlock_irqrestore(&vmbus_connection.channel_lock, flags); in vmbus_process_offer()
339 spin_lock_irqsave(&vmbus_connection.channel_lock, flags); in vmbus_process_offer()
341 spin_unlock_irqrestore(&vmbus_connection.channel_lock, flags); in vmbus_process_offer()
500 complete(&vmbus_connection.unload_event); in vmbus_unload_response()
[all …]
Dchannel.c48 (unsigned long *) vmbus_connection.send_int_page + in vmbus_setevent()
52 monitorpage = vmbus_connection.monitor_pages[1]; in vmbus_setevent()
172 spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags); in vmbus_open()
174 &vmbus_connection.chn_msg_list); in vmbus_open()
175 spin_unlock_irqrestore(&vmbus_connection.channelmsg_lock, flags); in vmbus_open()
191 spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags); in vmbus_open()
193 spin_unlock_irqrestore(&vmbus_connection.channelmsg_lock, flags); in vmbus_open()
205 spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags); in vmbus_open()
207 spin_unlock_irqrestore(&vmbus_connection.channelmsg_lock, flags); in vmbus_open()
385 (atomic_inc_return(&vmbus_connection.next_gpadl_handle) - 1); in vmbus_establish_gpadl()
[all …]
Dvmbus_drv.c235 vmbus_connection.monitor_pages[1])); in server_monitor_pending_show()
249 vmbus_connection.monitor_pages[1])); in client_monitor_pending_show()
263 vmbus_connection.monitor_pages[0])); in server_monitor_latency_show()
277 vmbus_connection.monitor_pages[1])); in client_monitor_latency_show()
291 vmbus_connection.monitor_pages[0])); in server_monitor_conn_id_show()
305 vmbus_connection.monitor_pages[1])); in client_monitor_conn_id_show()
682 if (vmbus_connection.conn_state == DISCONNECTED) in vmbus_onmessage_work()
750 queue_work(vmbus_connection.work_queue, &ctx->work); in vmbus_on_msg_dpc()
1317 vmbus_connection.conn_state = DISCONNECTED; in vmbus_exit()
Dhyperv_vmbus.h654 struct vmbus_connection { struct
696 extern struct vmbus_connection vmbus_connection; argument