Searched refs:hv_cpu (Results 1 – 3 of 3) sorted by relevance
100 struct hv_per_cpu_context *hv_cpu; in hv_synic_alloc() local108 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_alloc()109 memset(hv_cpu, 0, sizeof(*hv_cpu)); in hv_synic_alloc()120 hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu); in hv_synic_alloc()122 tasklet_init(&hv_cpu->msg_dpc, in hv_synic_alloc()123 vmbus_on_msg_dpc, (unsigned long) hv_cpu); in hv_synic_alloc()126 hv_cpu->post_msg_page = (void *)get_zeroed_page(GFP_ATOMIC); in hv_synic_alloc()127 if (hv_cpu->post_msg_page == NULL) { in hv_synic_alloc()132 ret = set_memory_decrypted((unsigned long)hv_cpu->post_msg_page, 1); in hv_synic_alloc()136 hv_cpu->post_msg_page = NULL; in hv_synic_alloc()[all …]
1030 struct hv_per_cpu_context *hv_cpu = (void *)data; in vmbus_on_msg_dpc() local1031 void *page_addr = hv_cpu->synic_message_page; in vmbus_on_msg_dpc()1206 static void vmbus_chan_sched(struct hv_per_cpu_context *hv_cpu) in vmbus_chan_sched() argument1215 void *page_addr = hv_cpu->synic_event_page; in vmbus_chan_sched()1291 struct hv_per_cpu_context *hv_cpu in vmbus_isr() local1296 vmbus_chan_sched(hv_cpu); in vmbus_isr()1298 page_addr = hv_cpu->synic_message_page; in vmbus_isr()1307 tasklet_schedule(&hv_cpu->msg_dpc); in vmbus_isr()2370 struct hv_per_cpu_context *hv_cpu = per_cpu_ptr( in vmbus_bus_suspend() local2374 tasklet_disable(&hv_cpu->msg_dpc); in vmbus_bus_suspend()[all …]
833 struct hv_per_cpu_context *hv_cpu in vmbus_wait_for_unload() local844 page_addr = hv_cpu->synic_message_page; in vmbus_wait_for_unload()882 struct hv_per_cpu_context *hv_cpu in vmbus_wait_for_unload() local885 page_addr = hv_cpu->synic_message_page; in vmbus_wait_for_unload()