Lines Matching refs:hv_cpu
49 struct hv_per_cpu_context *hv_cpu;
55 hv_cpu = get_cpu_ptr(hv_context.cpu_context);
56 aligned_msg = hv_cpu->post_msg_page;
69 put_cpu_ptr(hv_cpu);
77 struct hv_per_cpu_context *hv_cpu;
85 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu);
86 memset(hv_cpu, 0, sizeof(*hv_cpu));
97 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu);
99 tasklet_init(&hv_cpu->msg_dpc,
100 vmbus_on_msg_dpc, (unsigned long) hv_cpu);
102 hv_cpu->synic_message_page =
104 if (hv_cpu->synic_message_page == NULL) {
109 hv_cpu->synic_event_page = (void *)get_zeroed_page(GFP_ATOMIC);
110 if (hv_cpu->synic_event_page == NULL) {
115 hv_cpu->post_msg_page = (void *)get_zeroed_page(GFP_ATOMIC);
116 if (hv_cpu->post_msg_page == NULL) {
137 struct hv_per_cpu_context *hv_cpu
140 free_page((unsigned long)hv_cpu->synic_event_page);
141 free_page((unsigned long)hv_cpu->synic_message_page);
142 free_page((unsigned long)hv_cpu->post_msg_page);
157 struct hv_per_cpu_context *hv_cpu
167 simp.base_simp_gpa = virt_to_phys(hv_cpu->synic_message_page)
175 siefp.base_siefp_gpa = virt_to_phys(hv_cpu->synic_event_page)