Searched refs:vmbus_connection (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/drivers/hv/ |
D | connection.c | 29 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 …]
|
D | channel_mgmt.c | 169 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 …]
|
D | channel.c | 137 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 …]
|
D | hyperv_vmbus.h | 218 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()
|
D | vmbus_drv.c | 258 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 …]
|
D | hv.c | 385 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/ |
D | uio_hv_generic.c | 279 = (uintptr_t)vmbus_connection.int_page; in hv_uio_probe() 285 = (uintptr_t)vmbus_connection.monitor_pages[1]; in hv_uio_probe()
|