Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/hv/
Dconnection.c29 struct vmbus_connection vmbus_connection = { variable
32 vmbus_connection.unload_event),
36 vmbus_connection.ready_for_suspend_event),
38 vmbus_connection.ready_for_resume_event),
40 EXPORT_SYMBOL_GPL(vmbus_connection);
101 vmbus_connection.msg_conn_id = VMBUS_MESSAGE_CONNECTION_ID_4; in vmbus_negotiate_version()
103 msg->interrupt_page = virt_to_phys(vmbus_connection.int_page); in vmbus_negotiate_version()
104 vmbus_connection.msg_conn_id = VMBUS_MESSAGE_CONNECTION_ID; in vmbus_negotiate_version()
107 msg->monitor_page1 = vmbus_connection.monitor_pages_pa[0]; in vmbus_negotiate_version()
108 msg->monitor_page2 = vmbus_connection.monitor_pages_pa[1]; in vmbus_negotiate_version()
[all …]
Dchannel_mgmt.c169 spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags); in vmbus_rescind_cleanup()
171 list_for_each_entry(msginfo, &vmbus_connection.chn_msg_list, in vmbus_rescind_cleanup()
179 spin_unlock_irqrestore(&vmbus_connection.channelmsg_lock, flags); in vmbus_rescind_cleanup()
405 vmbus_connection.channels[channel->offermsg.child_relid], in vmbus_channel_map_relid()
414 vmbus_connection.channels[channel->offermsg.child_relid], in vmbus_channel_unmap_relid()
434 lockdep_assert_held(&vmbus_connection.channel_mutex); in hv_process_channel_removal()
483 list_for_each_entry_safe(channel, tmp, &vmbus_connection.chn_list, in vmbus_free_channels()
550 mutex_lock(&vmbus_connection.channel_mutex); in vmbus_add_channel_work()
566 mutex_unlock(&vmbus_connection.channel_mutex); in vmbus_add_channel_work()
608 mutex_lock(&vmbus_connection.channel_mutex); in vmbus_process_offer()
[all …]
Dchannel.c137 monitorpage = vmbus_connection.monitor_pages[1]; in vmbus_setevent()
250 spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags); in send_modifychannel_with_ack()
251 list_add_tail(&info->msglistentry, &vmbus_connection.chn_msg_list); in send_modifychannel_with_ack()
252 spin_unlock_irqrestore(&vmbus_connection.channelmsg_lock, flags); in send_modifychannel_with_ack()
257 spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags); in send_modifychannel_with_ack()
259 spin_unlock_irqrestore(&vmbus_connection.channelmsg_lock, flags); in send_modifychannel_with_ack()
270 mutex_unlock(&vmbus_connection.channel_mutex); in send_modifychannel_with_ack()
272 mutex_lock(&vmbus_connection.channel_mutex); in send_modifychannel_with_ack()
274 spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags); in send_modifychannel_with_ack()
276 spin_unlock_irqrestore(&vmbus_connection.channelmsg_lock, flags); in send_modifychannel_with_ack()
[all …]
Dhyperv_vmbus.h218 struct vmbus_connection { struct
302 extern struct vmbus_connection vmbus_connection; argument
308 sync_set_bit(relid, vmbus_connection.send_int_page); in vmbus_send_interrupt()
412 lockdep_assert_held(&vmbus_connection.channel_mutex); in hv_is_allocated_cpu()
417 list_for_each_entry(channel, &vmbus_connection.chn_list, listentry) { in hv_is_allocated_cpu()
Dvmbus_drv.c258 vmbus_connection.monitor_pages[0])); in server_monitor_pending_show()
272 vmbus_connection.monitor_pages[1])); in client_monitor_pending_show()
286 vmbus_connection.monitor_pages[0])); in server_monitor_latency_show()
300 vmbus_connection.monitor_pages[1])); in client_monitor_latency_show()
314 vmbus_connection.monitor_pages[0])); in server_monitor_conn_id_show()
328 vmbus_connection.monitor_pages[1])); in client_monitor_conn_id_show()
530 mutex_lock(&vmbus_connection.channel_mutex); in channel_vp_mapping_show()
548 mutex_unlock(&vmbus_connection.channel_mutex); in channel_vp_mapping_show()
1006 mutex_lock(&vmbus_connection.channel_mutex); in vmbus_device_release()
1008 mutex_unlock(&vmbus_connection.channel_mutex); in vmbus_device_release()
[all …]
Dhv.c385 if (vmbus_connection.conn_state != CONNECTED) in hv_synic_cleanup()
405 mutex_lock(&vmbus_connection.channel_mutex); in hv_synic_cleanup()
406 list_for_each_entry(channel, &vmbus_connection.chn_list, listentry) { in hv_synic_cleanup()
420 mutex_unlock(&vmbus_connection.channel_mutex); in hv_synic_cleanup()
/linux-5.19.10/drivers/uio/
Duio_hv_generic.c279 = (uintptr_t)vmbus_connection.int_page; in hv_uio_probe()
285 = (uintptr_t)vmbus_connection.monitor_pages[1]; in hv_uio_probe()