Searched refs:pr_dev_info (Results 1 – 3 of 3) sorted by relevance
19 static struct page_reporting_dev_info __rcu *pr_dev_info __read_mostly;65 prdev = rcu_dereference(pr_dev_info); in __page_reporting_notify()327 if (rcu_access_pointer(pr_dev_info)) { in page_reporting_register()346 rcu_assign_pointer(pr_dev_info, prdev); in page_reporting_register()364 if (rcu_access_pointer(pr_dev_info) == prdev) { in page_reporting_unregister()366 RCU_INIT_POINTER(pr_dev_info, NULL); in page_reporting_unregister()
121 struct page_reporting_dev_info pr_dev_info; member161 static int virtballoon_free_page_report(struct page_reporting_dev_info *pr_dev_info, in virtballoon_free_page_report() argument165 container_of(pr_dev_info, struct virtio_balloon, pr_dev_info); in virtballoon_free_page_report()955 vb->pr_dev_info.report = virtballoon_free_page_report; in virtballoon_probe()979 vb->pr_dev_info.order = 5; in virtballoon_probe()982 err = page_reporting_register(&vb->pr_dev_info); in virtballoon_probe()1032 page_reporting_unregister(&vb->pr_dev_info); in virtballoon_remove()
570 struct page_reporting_dev_info pr_dev_info; member1599 static int hv_free_page_report(struct page_reporting_dev_info *pr_dev_info, in hv_free_page_report() argument1661 dm_device.pr_dev_info.report = hv_free_page_report; in enable_page_reporting()1662 ret = page_reporting_register(&dm_device.pr_dev_info); in enable_page_reporting()1664 dm_device.pr_dev_info.report = NULL; in enable_page_reporting()1673 if (dm_device.pr_dev_info.report) { in disable_page_reporting()1674 page_reporting_unregister(&dm_device.pr_dev_info); in disable_page_reporting()1675 dm_device.pr_dev_info.report = NULL; in disable_page_reporting()