Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/hv/
Dhv.c100 struct hv_per_cpu_context *hv_cpu; in hv_synic_alloc() local
108 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 …]
Dvmbus_drv.c1030 struct hv_per_cpu_context *hv_cpu = (void *)data; in vmbus_on_msg_dpc() local
1031 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() argument
1215 void *page_addr = hv_cpu->synic_event_page; in vmbus_chan_sched()
1291 struct hv_per_cpu_context *hv_cpu in vmbus_isr() local
1296 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()
2369 struct hv_per_cpu_context *hv_cpu = per_cpu_ptr( in vmbus_bus_suspend() local
2373 tasklet_disable(&hv_cpu->msg_dpc); in vmbus_bus_suspend()
[all …]
Dchannel_mgmt.c833 struct hv_per_cpu_context *hv_cpu in vmbus_wait_for_unload() local
844 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() local
885 page_addr = hv_cpu->synic_message_page; in vmbus_wait_for_unload()