b_dev_info        356 drivers/misc/vmw_balloon.c 	struct balloon_dev_info b_dev_info;
b_dev_info       1009 drivers/misc/vmw_balloon.c 		balloon_page_list_enqueue(&b->b_dev_info, pages);
b_dev_info       1015 drivers/misc/vmw_balloon.c 		spin_lock_irqsave(&b->b_dev_info.pages_lock, flags);
b_dev_info       1024 drivers/misc/vmw_balloon.c 		spin_unlock_irqrestore(&b->b_dev_info.pages_lock, flags);
b_dev_info       1055 drivers/misc/vmw_balloon.c 		*n_pages = balloon_page_list_dequeue(&b->b_dev_info, pages,
b_dev_info       1061 drivers/misc/vmw_balloon.c 	spin_lock_irqsave(&b->b_dev_info.pages_lock, flags);
b_dev_info       1072 drivers/misc/vmw_balloon.c 	spin_unlock_irqrestore(&b->b_dev_info.pages_lock, flags);
b_dev_info       1765 drivers/misc/vmw_balloon.c static int vmballoon_migratepage(struct balloon_dev_info *b_dev_info,
b_dev_info       1773 drivers/misc/vmw_balloon.c 	b = container_of(b_dev_info, struct vmballoon, b_dev_info);
b_dev_info       1845 drivers/misc/vmw_balloon.c 	spin_lock_irqsave(&b->b_dev_info.pages_lock, flags);
b_dev_info       1853 drivers/misc/vmw_balloon.c 		balloon_page_insert(&b->b_dev_info, newpage);
b_dev_info       1861 drivers/misc/vmw_balloon.c 	b->b_dev_info.isolated_pages--;
b_dev_info       1862 drivers/misc/vmw_balloon.c 	spin_unlock_irqrestore(&b->b_dev_info.pages_lock, flags);
b_dev_info       1876 drivers/misc/vmw_balloon.c 	if (!IS_ERR(b->b_dev_info.inode))
b_dev_info       1877 drivers/misc/vmw_balloon.c 		iput(b->b_dev_info.inode);
b_dev_info       1879 drivers/misc/vmw_balloon.c 	b->b_dev_info.inode = NULL;
b_dev_info       1901 drivers/misc/vmw_balloon.c 	b->b_dev_info.migratepage = vmballoon_migratepage;
b_dev_info       1902 drivers/misc/vmw_balloon.c 	b->b_dev_info.inode = alloc_anon_inode(vmballoon_mnt->mnt_sb);
b_dev_info       1904 drivers/misc/vmw_balloon.c 	if (IS_ERR(b->b_dev_info.inode))
b_dev_info       1905 drivers/misc/vmw_balloon.c 		return PTR_ERR(b->b_dev_info.inode);
b_dev_info       1907 drivers/misc/vmw_balloon.c 	b->b_dev_info.inode->i_mapping->a_ops = &balloon_aops;
b_dev_info       1945 drivers/misc/vmw_balloon.c 	balloon_devinfo_init(&balloon.b_dev_info);
b_dev_info         64 include/linux/balloon_compaction.h extern void balloon_page_enqueue(struct balloon_dev_info *b_dev_info,
b_dev_info         66 include/linux/balloon_compaction.h extern struct page *balloon_page_dequeue(struct balloon_dev_info *b_dev_info);
b_dev_info         67 include/linux/balloon_compaction.h extern size_t balloon_page_list_enqueue(struct balloon_dev_info *b_dev_info,
b_dev_info         69 include/linux/balloon_compaction.h extern size_t balloon_page_list_dequeue(struct balloon_dev_info *b_dev_info,
b_dev_info         14 mm/balloon_compaction.c static void balloon_page_enqueue_one(struct balloon_dev_info *b_dev_info,
b_dev_info         24 mm/balloon_compaction.c 	balloon_page_insert(b_dev_info, page);
b_dev_info         40 mm/balloon_compaction.c size_t balloon_page_list_enqueue(struct balloon_dev_info *b_dev_info,
b_dev_info         47 mm/balloon_compaction.c 	spin_lock_irqsave(&b_dev_info->pages_lock, flags);
b_dev_info         50 mm/balloon_compaction.c 		balloon_page_enqueue_one(b_dev_info, page);
b_dev_info         53 mm/balloon_compaction.c 	spin_unlock_irqrestore(&b_dev_info->pages_lock, flags);
b_dev_info         76 mm/balloon_compaction.c size_t balloon_page_list_dequeue(struct balloon_dev_info *b_dev_info,
b_dev_info         83 mm/balloon_compaction.c 	spin_lock_irqsave(&b_dev_info->pages_lock, flags);
b_dev_info         84 mm/balloon_compaction.c 	list_for_each_entry_safe(page, tmp, &b_dev_info->pages, lru) {
b_dev_info        108 mm/balloon_compaction.c 	spin_unlock_irqrestore(&b_dev_info->pages_lock, flags);
b_dev_info        146 mm/balloon_compaction.c void balloon_page_enqueue(struct balloon_dev_info *b_dev_info,
b_dev_info        151 mm/balloon_compaction.c 	spin_lock_irqsave(&b_dev_info->pages_lock, flags);
b_dev_info        152 mm/balloon_compaction.c 	balloon_page_enqueue_one(b_dev_info, page);
b_dev_info        153 mm/balloon_compaction.c 	spin_unlock_irqrestore(&b_dev_info->pages_lock, flags);
b_dev_info        177 mm/balloon_compaction.c struct page *balloon_page_dequeue(struct balloon_dev_info *b_dev_info)
b_dev_info        183 mm/balloon_compaction.c 	n_pages = balloon_page_list_dequeue(b_dev_info, &pages, 1);
b_dev_info        193 mm/balloon_compaction.c 		spin_lock_irqsave(&b_dev_info->pages_lock, flags);
b_dev_info        194 mm/balloon_compaction.c 		if (unlikely(list_empty(&b_dev_info->pages) &&
b_dev_info        195 mm/balloon_compaction.c 			     !b_dev_info->isolated_pages))
b_dev_info        197 mm/balloon_compaction.c 		spin_unlock_irqrestore(&b_dev_info->pages_lock, flags);
b_dev_info        209 mm/balloon_compaction.c 	struct balloon_dev_info *b_dev_info = balloon_page_device(page);
b_dev_info        212 mm/balloon_compaction.c 	spin_lock_irqsave(&b_dev_info->pages_lock, flags);
b_dev_info        214 mm/balloon_compaction.c 	b_dev_info->isolated_pages++;
b_dev_info        215 mm/balloon_compaction.c 	spin_unlock_irqrestore(&b_dev_info->pages_lock, flags);
b_dev_info        222 mm/balloon_compaction.c 	struct balloon_dev_info *b_dev_info = balloon_page_device(page);
b_dev_info        225 mm/balloon_compaction.c 	spin_lock_irqsave(&b_dev_info->pages_lock, flags);
b_dev_info        226 mm/balloon_compaction.c 	list_add(&page->lru, &b_dev_info->pages);
b_dev_info        227 mm/balloon_compaction.c 	b_dev_info->isolated_pages--;
b_dev_info        228 mm/balloon_compaction.c 	spin_unlock_irqrestore(&b_dev_info->pages_lock, flags);