Home
last modified time | relevance | path

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

/linux-6.1.9/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()
554 mutex_lock(&vmbus_connection.channel_mutex); in vmbus_add_channel_work()
570 mutex_unlock(&vmbus_connection.channel_mutex); in vmbus_add_channel_work()
612 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 …]
Dvmbus_drv.c257 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()
[all …]
Dhyperv_vmbus.h218 struct vmbus_connection { struct
309 extern struct vmbus_connection vmbus_connection; argument
315 sync_set_bit(relid, vmbus_connection.send_int_page); in vmbus_send_interrupt()
419 lockdep_assert_held(&vmbus_connection.channel_mutex); in hv_is_allocated_cpu()
424 list_for_each_entry(channel, &vmbus_connection.chn_list, listentry) { in hv_is_allocated_cpu()
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-6.1.9/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()