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.c1200 struct hv_per_cpu_context *hv_cpu = (void *)data; in vmbus_on_msg_dpc() local
1202 __vmbus_on_msg_dpc(hv_cpu->hyp_synic_message_page); in vmbus_on_msg_dpc()
1203 __vmbus_on_msg_dpc(hv_cpu->para_synic_message_page); in vmbus_on_msg_dpc()
1327 static void vmbus_message_sched(struct hv_per_cpu_context *hv_cpu, void *message_page_addr) in vmbus_message_sched() argument
1341 tasklet_schedule(&hv_cpu->msg_dpc); in vmbus_message_sched()
1348 struct hv_per_cpu_context *hv_cpu in __vmbus_isr() local
1351 vmbus_chan_sched(hv_cpu->hyp_synic_event_page); in __vmbus_isr()
1352 vmbus_chan_sched(hv_cpu->para_synic_event_page); in __vmbus_isr()
1354 vmbus_message_sched(hv_cpu, hv_cpu->hyp_synic_message_page); in __vmbus_isr()
1355 vmbus_message_sched(hv_cpu, hv_cpu->para_synic_message_page); in __vmbus_isr()
[all …]
H A Dchannel_mgmt.c851 struct hv_per_cpu_context *hv_cpu in vmbus_wait_for_unload() local
862 page_addr = hv_cpu->hyp_synic_message_page; in vmbus_wait_for_unload()
900 struct hv_per_cpu_context *hv_cpu in vmbus_wait_for_unload() local
903 page_addr = hv_cpu->hyp_synic_message_page; in vmbus_wait_for_unload()