Searched refs:hv_context (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/hv/ |
D | hv.c | 26 struct hv_context hv_context; variable 35 hv_context.cpu_context = alloc_percpu(struct hv_per_cpu_context); in hv_init() 36 if (!hv_context.cpu_context) in hv_init() 93 hv_cpu = get_cpu_ptr(hv_context.cpu_context); in hv_post_message() 129 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_alloc() 133 hv_context.hv_numa_map = kcalloc(nr_node_ids, sizeof(struct cpumask), in hv_synic_alloc() 135 if (hv_context.hv_numa_map == NULL) { in hv_synic_alloc() 141 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_alloc() 189 = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_free() 196 kfree(hv_context.hv_numa_map); in hv_synic_free() [all …]
|
D | hyperv_vmbus.h | 138 struct hv_context { struct 153 extern struct hv_context hv_context; argument 439 cpumask_set_cpu(cpu, &hv_context.hv_numa_map[cpu_to_node(cpu)]); in hv_set_allocated_cpu() 446 cpumask_clear_cpu(cpu, &hv_context.hv_numa_map[cpu_to_node(cpu)]); in hv_clear_allocated_cpu()
|
D | channel_mgmt.c | 769 allocated_mask = &hv_context.hv_numa_map[numa_node]; in init_vp_index() 834 = per_cpu_ptr(hv_context.cpu_context, cpu); in vmbus_wait_for_unload() 872 = per_cpu_ptr(hv_context.cpu_context, cpu); in vmbus_wait_for_unload()
|
D | vmbus_drv.c | 1332 = this_cpu_ptr(hv_context.cpu_context); in vmbus_isr() 2480 hv_context.cpu_context, VMBUS_CONNECT_CPU); in vmbus_bus_suspend() 2792 = per_cpu_ptr(hv_context.cpu_context, cpu); in vmbus_exit()
|