Home
last modified time | relevance | path

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

/linux-6.6.21/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);
102 vmbus_connection.msg_conn_id = VMBUS_MESSAGE_CONNECTION_ID_4; in vmbus_negotiate_version()
104 msg->interrupt_page = virt_to_phys(vmbus_connection.int_page); in vmbus_negotiate_version()
105 vmbus_connection.msg_conn_id = VMBUS_MESSAGE_CONNECTION_ID; in vmbus_negotiate_version()
112 msg->monitor_page1 = virt_to_phys(vmbus_connection.monitor_pages[0]) | in vmbus_negotiate_version()
114 msg->monitor_page2 = virt_to_phys(vmbus_connection.monitor_pages[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.c217 vmbus_connection.monitor_pages[0])); in server_monitor_pending_show()
231 vmbus_connection.monitor_pages[1])); in client_monitor_pending_show()
245 vmbus_connection.monitor_pages[0])); in server_monitor_latency_show()
259 vmbus_connection.monitor_pages[1])); in client_monitor_latency_show()
273 vmbus_connection.monitor_pages[0])); in server_monitor_conn_id_show()
287 vmbus_connection.monitor_pages[1])); in client_monitor_conn_id_show()
489 mutex_lock(&vmbus_connection.channel_mutex); in channel_vp_mapping_show()
507 mutex_unlock(&vmbus_connection.channel_mutex); in channel_vp_mapping_show()
965 mutex_lock(&vmbus_connection.channel_mutex); in vmbus_device_release()
967 mutex_unlock(&vmbus_connection.channel_mutex); in vmbus_device_release()
[all …]
Dhyperv_vmbus.h225 struct vmbus_connection { struct
314 extern struct vmbus_connection vmbus_connection; argument
320 sync_set_bit(relid, vmbus_connection.send_int_page); in vmbus_send_interrupt()
424 lockdep_assert_held(&vmbus_connection.channel_mutex); in hv_is_allocated_cpu()
429 list_for_each_entry(channel, &vmbus_connection.chn_list, listentry) { in hv_is_allocated_cpu()
Dhv.c449 if (vmbus_connection.conn_state != CONNECTED) in hv_synic_cleanup()
469 mutex_lock(&vmbus_connection.channel_mutex); in hv_synic_cleanup()
470 list_for_each_entry(channel, &vmbus_connection.chn_list, listentry) { in hv_synic_cleanup()
484 mutex_unlock(&vmbus_connection.channel_mutex); in hv_synic_cleanup()
/linux-6.6.21/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()