Home
last modified time | relevance | path

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

/linux/drivers/hv/
H A Dhv_balloon.c575 static struct hv_dynmem_device dm_device; variable
615 list_for_each_entry(has, &dm_device.ha_region_list, list) { in hv_page_offline_check()
647 complete(&dm_device.ol_waitevent); in hv_memory_notifier()
651 scoped_guard(spinlock_irqsave, &dm_device.ha_lock) { in hv_memory_notifier()
654 if (pfn_count <= dm_device.num_pages_onlined) { in hv_memory_notifier()
655 dm_device.num_pages_onlined -= pfn_count; in hv_memory_notifier()
664 dm_device.num_pages_onlined = 0; in hv_memory_notifier()
694 lockdep_assert_held(&dm_device.ha_lock); in hv_page_online_one()
695 dm_device.num_pages_onlined++; in hv_page_online_one()
721 scoped_guard(spinlock_irqsave, &dm_device.ha_lock) { in hv_mem_hot_add()
[all …]