Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/hv/
Dhv_balloon.c568 static struct hv_dynmem_device dm_device; variable
604 list_for_each_entry(has, &dm_device.ha_region_list, list) { in hv_page_offline_check()
636 complete(&dm_device.ol_waitevent); in hv_memory_notifier()
640 spin_lock_irqsave(&dm_device.ha_lock, flags); in hv_memory_notifier()
643 if (pfn_count <= dm_device.num_pages_onlined) { in hv_memory_notifier()
644 dm_device.num_pages_onlined -= pfn_count; in hv_memory_notifier()
652 dm_device.num_pages_onlined = 0; in hv_memory_notifier()
654 spin_unlock_irqrestore(&dm_device.ha_lock, flags); in hv_memory_notifier()
683 lockdep_assert_held(&dm_device.ha_lock); in hv_page_online_one()
684 dm_device.num_pages_onlined++; in hv_page_online_one()
[all …]
/kernel/linux/linux-5.10/drivers/md/
Ddm-init.c32 struct dm_device { struct
61 struct dm_device *dev, *tmp; in dm_setup_cleanup()
106 static char __init *dm_parse_table_entry(struct dm_device *dev, char *str) in dm_parse_table_entry()
157 static int __init dm_parse_table(struct dm_device *dev, char *str) in dm_parse_table()
187 static char __init *dm_parse_device_entry(struct dm_device *dev, char *str) in dm_parse_device_entry()
235 struct dm_device *dev; in dm_parse_devices()
266 struct dm_device *dev; in dm_init_init()