Searched refs:b_dev_info (Results 1 – 4 of 4) sorted by relevance
/linux/mm/ |
A D | balloon_compaction.c | 24 balloon_page_insert(b_dev_info, page); in balloon_page_enqueue_one() 47 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in balloon_page_list_enqueue() 50 balloon_page_enqueue_one(b_dev_info, page); in balloon_page_list_enqueue() 83 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in balloon_page_list_dequeue() 151 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in balloon_page_enqueue() 152 balloon_page_enqueue_one(b_dev_info, page); in balloon_page_enqueue() 194 if (unlikely(list_empty(&b_dev_info->pages) && in balloon_page_dequeue() 195 !b_dev_info->isolated_pages)) in balloon_page_dequeue() 214 b_dev_info->isolated_pages++; in balloon_page_isolate() 226 list_add(&page->lru, &b_dev_info->pages); in balloon_page_putback() [all …]
|
/linux/arch/powerpc/platforms/pseries/ |
A D | cmm.c | 91 static struct balloon_dev_info b_dev_info; variable 169 balloon_page_enqueue(&b_dev_info, page); in cmm_alloc_pages() 192 page = balloon_page_dequeue(&b_dev_info); in cmm_free_pages() 554 b_dev_info->isolated_pages--; in cmm_migratepage() 573 balloon_devinfo_init(&b_dev_info); in cmm_balloon_compaction_init() 584 if (IS_ERR(b_dev_info.inode)) { in cmm_balloon_compaction_init() 585 rc = PTR_ERR(b_dev_info.inode); in cmm_balloon_compaction_init() 586 b_dev_info.inode = NULL; in cmm_balloon_compaction_init() 597 if (b_dev_info.inode) in cmm_balloon_compaction_deinit() 598 iput(b_dev_info.inode); in cmm_balloon_compaction_deinit() [all …]
|
/linux/drivers/misc/ |
A D | vmw_balloon.c | 352 struct balloon_dev_info b_dev_info; member 1005 balloon_page_list_enqueue(&b->b_dev_info, pages); in vmballoon_enqueue_page_list() 1769 b = container_of(b_dev_info, struct vmballoon, b_dev_info); in vmballoon_migratepage() 1849 balloon_page_insert(&b->b_dev_info, newpage); in vmballoon_migratepage() 1857 b->b_dev_info.isolated_pages--; in vmballoon_migratepage() 1872 if (!IS_ERR(b->b_dev_info.inode)) in vmballoon_compaction_deinit() 1873 iput(b->b_dev_info.inode); in vmballoon_compaction_deinit() 1875 b->b_dev_info.inode = NULL; in vmballoon_compaction_deinit() 1900 if (IS_ERR(b->b_dev_info.inode)) in vmballoon_compaction_init() 1901 return PTR_ERR(b->b_dev_info.inode); in vmballoon_compaction_init() [all …]
|
/linux/include/linux/ |
A D | balloon_compaction.h | 64 extern void balloon_page_enqueue(struct balloon_dev_info *b_dev_info, 66 extern struct page *balloon_page_dequeue(struct balloon_dev_info *b_dev_info); 67 extern size_t balloon_page_list_enqueue(struct balloon_dev_info *b_dev_info, 69 extern size_t balloon_page_list_dequeue(struct balloon_dev_info *b_dev_info,
|
Completed in 19 milliseconds