Lines Matching refs:hv_context
24 struct hv_context hv_context; variable
33 hv_context.cpu_context = alloc_percpu(struct hv_per_cpu_context); in hv_init()
34 if (!hv_context.cpu_context) in hv_init()
55 hv_cpu = get_cpu_ptr(hv_context.cpu_context); in hv_post_message()
85 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_alloc()
89 hv_context.hv_numa_map = kcalloc(nr_node_ids, sizeof(struct cpumask), in hv_synic_alloc()
91 if (hv_context.hv_numa_map == NULL) { in hv_synic_alloc()
97 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_alloc()
138 = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_free()
145 kfree(hv_context.hv_numa_map); in hv_synic_free()
158 = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_enable_regs()