Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dpage_reporting.c14 static struct page_reporting_dev_info __rcu *pr_dev_info __read_mostly;
60 prdev = rcu_dereference(pr_dev_info); in __page_reporting_notify()
322 if (rcu_access_pointer(pr_dev_info)) { in page_reporting_register()
335 rcu_assign_pointer(pr_dev_info, prdev); in page_reporting_register()
353 if (rcu_access_pointer(pr_dev_info) == prdev) { in page_reporting_unregister()
355 RCU_INIT_POINTER(pr_dev_info, NULL); in page_reporting_unregister()
/Linux-v5.10/drivers/virtio/
Dvirtio_balloon.c128 struct page_reporting_dev_info pr_dev_info; member
168 static int virtballoon_free_page_report(struct page_reporting_dev_info *pr_dev_info, in virtballoon_free_page_report() argument
172 container_of(pr_dev_info, struct virtio_balloon, pr_dev_info); in virtballoon_free_page_report()
986 vb->pr_dev_info.report = virtballoon_free_page_report; in virtballoon_probe()
996 err = page_reporting_register(&vb->pr_dev_info); in virtballoon_probe()
1052 page_reporting_unregister(&vb->pr_dev_info); in virtballoon_remove()