Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/hv/
Dhv.c37 struct hv_context hv_context = { variable
98 void *hypercall_page = hv_context.hypercall_page; in do_hypercall()
140 struct ms_hyperv_tsc_page *tsc_pg = hv_context.tsc_page; in read_hv_clock_tsc()
199 memset(hv_context.synic_event_page, 0, sizeof(void *) * NR_CPUS); in hv_init()
200 memset(hv_context.synic_message_page, 0, in hv_init()
202 memset(hv_context.post_msg_page, 0, in hv_init()
204 memset(hv_context.vp_index, 0, in hv_init()
206 memset(hv_context.event_dpc, 0, in hv_init()
208 memset(hv_context.clk_evt, 0, in hv_init()
216 hv_context.guestid = generate_guest_id(0, LINUX_VERSION_CODE, 0); in hv_init()
[all …]
Dconnection.c87 msg->target_vcpu = hv_context.vp_index[get_cpu()]; in vmbus_negotiate_version()
265 struct list_head *pcpu_head = &hv_context.percpu_list[cpu]; in pcpu_relid2channel()
392 page_addr = hv_context.synic_event_page[cpu]; in vmbus_on_event()
Dhyperv_vmbus.h508 struct hv_context { struct
557 extern struct hv_context hv_context; argument
Dchannel_mgmt.c169 list_add_tail(&channel->percpu_list, &hv_context.percpu_list[cpu]); in percpu_channel_enq()
424 channel->target_vp = hv_context.vp_index[0]; in init_vp_index()
447 alloced_mask = &hv_context.hv_numa_map[primary->numa_node]; in init_vp_index()
488 channel->target_vp = hv_context.vp_index[cur_cpu]; in init_vp_index()
902 cur_cpu = hv_context.vp_index[get_cpu()]; in vmbus_get_outgoing_channel()
Dvmbus_drv.c693 struct clock_event_device *dev = hv_context.clk_evt[cpu]; in hv_process_timer_expiration()
722 void *page_addr = hv_context.synic_message_page[cpu]; in vmbus_on_msg_dpc()
785 page_addr = hv_context.synic_event_page[cpu]; in vmbus_isr()
816 tasklet_schedule(hv_context.event_dpc[cpu]); in vmbus_isr()
819 page_addr = hv_context.synic_message_page[cpu]; in vmbus_isr()
1331 tasklet_kill(hv_context.event_dpc[cpu]); in vmbus_exit()