Home
last modified time | relevance | path

Searched refs:hv_context (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/hv/
H A Dhv.c24 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 in hv_synic_free()
[all...]
H A Dhyperv_vmbus.h138 struct hv_context { struct
153 extern struct hv_context hv_context;
430 cpumask_set_cpu(cpu, &hv_context.hv_numa_map[cpu_to_node(cpu)]); in hv_set_alloced_cpu()
437 cpumask_clear_cpu(cpu, &hv_context.hv_numa_map[cpu_to_node(cpu)]); in hv_clear_alloced_cpu()
H A Dchannel_mgmt.c712 alloced_mask = &hv_context.hv_numa_map[numa_node]; in init_vp_index()
770 = per_cpu_ptr(hv_context.cpu_context, cpu); in vmbus_wait_for_unload()
819 = per_cpu_ptr(hv_context.cpu_context, cpu); in vmbus_wait_for_unload()
H A Dvmbus_drv.c1306 = this_cpu_ptr(hv_context.cpu_context); in vmbus_isr()
2673 = per_cpu_ptr(hv_context.cpu_context, cpu); in vmbus_exit()
/kernel/linux/linux-6.6/drivers/hv/
H A Dhv.c27 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 == NULL) { in hv_synic_alloc()
120 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_alloc()
213 = per_cpu_ptr(hv_context in hv_synic_free()
[all...]
H A Dhyperv_vmbus.h145 struct hv_context { struct
160 extern struct hv_context hv_context;
444 cpumask_set_cpu(cpu, &hv_context.hv_numa_map[cpu_to_node(cpu)]); in hv_set_allocated_cpu()
451 cpumask_clear_cpu(cpu, &hv_context.hv_numa_map[cpu_to_node(cpu)]); in hv_clear_allocated_cpu()
H A Dchannel_mgmt.c769 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()
883 = per_cpu_ptr(hv_context.cpu_context, cpu); in vmbus_wait_for_unload()
H A Dvmbus_drv.c1292 = this_cpu_ptr(hv_context.cpu_context); in vmbus_isr()
2370 hv_context.cpu_context, VMBUS_CONNECT_CPU); in vmbus_bus_suspend()
2692 = per_cpu_ptr(hv_context.cpu_context, cpu); in vmbus_exit()

Completed in 15 milliseconds