Lines Matching refs:vb_dev_info

108 	struct balloon_dev_info vb_dev_info;  member
242 balloon_page_enqueue(&vb->vb_dev_info, page); in fill_balloon()
279 struct balloon_dev_info *vb_dev_info = &vb->vb_dev_info; in leak_balloon() local
290 page = balloon_page_dequeue(vb_dev_info); in leak_balloon()
753 static int virtballoon_migratepage(struct balloon_dev_info *vb_dev_info, in virtballoon_migratepage() argument
756 struct virtio_balloon *vb = container_of(vb_dev_info, in virtballoon_migratepage()
757 struct virtio_balloon, vb_dev_info); in virtballoon_migratepage()
785 spin_lock_irqsave(&vb_dev_info->pages_lock, flags); in virtballoon_migratepage()
786 balloon_page_insert(vb_dev_info, newpage); in virtballoon_migratepage()
787 vb_dev_info->isolated_pages--; in virtballoon_migratepage()
789 spin_unlock_irqrestore(&vb_dev_info->pages_lock, flags); in virtballoon_migratepage()
795 spin_lock_irqsave(&vb_dev_info->pages_lock, flags); in virtballoon_migratepage()
797 spin_unlock_irqrestore(&vb_dev_info->pages_lock, flags); in virtballoon_migratepage()
905 balloon_devinfo_init(&vb->vb_dev_info); in virtballoon_probe()
918 vb->vb_dev_info.migratepage = virtballoon_migratepage; in virtballoon_probe()
919 vb->vb_dev_info.inode = alloc_anon_inode(balloon_mnt->mnt_sb); in virtballoon_probe()
920 if (IS_ERR(vb->vb_dev_info.inode)) { in virtballoon_probe()
921 err = PTR_ERR(vb->vb_dev_info.inode); in virtballoon_probe()
924 vb->vb_dev_info.inode->i_mapping->a_ops = &balloon_aops; in virtballoon_probe()
1018 iput(vb->vb_dev_info.inode); in virtballoon_probe()
1070 if (vb->vb_dev_info.inode) in virtballoon_remove()
1071 iput(vb->vb_dev_info.inode); in virtballoon_remove()