Lines Matching refs:hv_context
27 struct hv_context hv_context; variable
36 hv_context.cpu_context = alloc_percpu(struct hv_per_cpu_context); in hv_init()
37 if (!hv_context.cpu_context) in hv_init()
67 aligned_msg = this_cpu_ptr(hv_context.cpu_context)->post_msg_page; in hv_post_message()
108 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_alloc()
112 hv_context.hv_numa_map = kcalloc(nr_node_ids, sizeof(struct cpumask), in hv_synic_alloc()
114 if (!hv_context.hv_numa_map) { in hv_synic_alloc()
120 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_alloc()
212 per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_free()
252 kfree(hv_context.hv_numa_map); in hv_synic_free()
265 per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_enable_regs()
348 per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_disable_regs()
412 struct hv_per_cpu_context *hv_cpu = this_cpu_ptr(hv_context.cpu_context); in hv_synic_event_pending()