Home
last modified time | relevance | path

Searched refs:hv_cpu (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/hv/
H A Dhv.c173 struct hv_per_cpu_context *hv_cpu; in hv_synic_alloc() local
182 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_alloc()
183 memset(hv_cpu, 0, sizeof(*hv_cpu)); in hv_synic_alloc()
193 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_alloc()
195 tasklet_init(&hv_cpu->msg_dpc, in hv_synic_alloc()
196 vmbus_on_msg_dpc, (unsigned long)hv_cpu); in hv_synic_alloc()
199 ret = hv_alloc_page(&hv_cpu->post_msg_page, in hv_synic_alloc()
211 ret = hv_alloc_page(&hv_cpu->hyp_synic_message_page, in hv_synic_alloc()
215 ret = hv_alloc_page(&hv_cpu->hyp_synic_event_page, in hv_synic_alloc()
222 ret = hv_alloc_page(&hv_cpu->para_synic_message_page, in hv_synic_alloc()
[all …]
H A Dvmbus_drv.c1203 struct hv_per_cpu_context *hv_cpu = (void *)data; in vmbus_on_msg_dpc() local
1205 __vmbus_on_msg_dpc(hv_cpu->hyp_synic_message_page); in vmbus_on_msg_dpc()
1206 __vmbus_on_msg_dpc(hv_cpu->para_synic_message_page); in vmbus_on_msg_dpc()
1335 static void vmbus_message_sched(struct hv_per_cpu_context *hv_cpu, void *message_page_addr) in vmbus_message_sched() argument
1349 tasklet_schedule(&hv_cpu->msg_dpc); in vmbus_message_sched()
1356 struct hv_per_cpu_context *hv_cpu in __vmbus_isr() local
1359 vmbus_chan_sched(hv_cpu->hyp_synic_event_page); in __vmbus_isr()
1360 vmbus_chan_sched(hv_cpu->para_synic_event_page); in __vmbus_isr()
1362 vmbus_message_sched(hv_cpu, hv_cpu->hyp_synic_message_page); in __vmbus_isr()
1363 vmbus_message_sched(hv_cpu, hv_cpu->para_synic_message_page); in __vmbus_isr()
[all …]
H A Dchannel_mgmt.c843 struct hv_per_cpu_context *hv_cpu in vmbus_wait_for_unload() local
854 page_addr = hv_cpu->hyp_synic_message_page; in vmbus_wait_for_unload()
892 struct hv_per_cpu_context *hv_cpu in vmbus_wait_for_unload() local
895 page_addr = hv_cpu->hyp_synic_message_page; in vmbus_wait_for_unload()