Searched refs:hv_context (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/hv/ |
| H A D | hv.c | 28 struct hv_context hv_context; variable 29 EXPORT_SYMBOL_FOR_MODULES(hv_context, "mshv_vtl"); 38 hv_context.cpu_context = alloc_percpu(struct hv_per_cpu_context); in hv_init() 39 if (!hv_context.cpu_context) in hv_init() 69 aligned_msg = this_cpu_ptr(hv_context.cpu_context)->post_msg_page; in hv_post_message() 182 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_alloc() 186 hv_context.hv_numa_map = kzalloc_objs(struct cpumask, nr_node_ids); in hv_synic_alloc() 187 if (!hv_context.hv_numa_map) { in hv_synic_alloc() 193 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_alloc() 250 per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_free() [all …]
|
| H A D | hyperv_vmbus.h | 165 struct hv_context { struct 180 extern struct hv_context hv_context; argument 503 cpumask_set_cpu(cpu, &hv_context.hv_numa_map[cpu_to_node(cpu)]); in hv_set_allocated_cpu() 510 cpumask_clear_cpu(cpu, &hv_context.hv_numa_map[cpu_to_node(cpu)]); in hv_clear_allocated_cpu()
|
| H A D | channel_mgmt.c | 779 allocated_mask = &hv_context.hv_numa_map[numa_node]; in init_vp_index() 844 = per_cpu_ptr(hv_context.cpu_context, cpu); in vmbus_wait_for_unload() 893 = per_cpu_ptr(hv_context.cpu_context, cpu); in vmbus_wait_for_unload()
|
| H A D | mshv_vtl_main.c | 303 per_cpu = this_cpu_ptr(hv_context.cpu_context); in mshv_vtl_vmbus_isr() 637 mshv_cpu = this_cpu_ptr(hv_context.cpu_context); in mshv_vtl_process_intercept() 869 struct hv_per_cpu_context *mshv_cpu = this_cpu_ptr(hv_context.cpu_context); in mshv_vtl_read_remote()
|
| H A D | vmbus_drv.c | 1357 = this_cpu_ptr(hv_context.cpu_context); in __vmbus_isr() 2710 hv_context.cpu_context, VMBUS_CONNECT_CPU); in vmbus_bus_suspend() 3039 = per_cpu_ptr(hv_context.cpu_context, cpu); in vmbus_exit()
|