Lines Matching defs:pages
5 * Common interface definitions for making balloon pages movable by compaction.
32 * set of exposed rules are satisfied while we are dealing with balloon pages
50 * procedures to find the proper balloon device holding memory pages they'll
55 unsigned long isolated_pages; /* # of isolated pages for migration */
56 spinlock_t pages_lock; /* Protection to pages list */
57 struct list_head pages; /* Pages enqueued & handled to Host */
67 struct list_head *pages);
69 struct list_head *pages, size_t n_req_pages);
75 INIT_LIST_HEAD(&balloon->pages);
89 * pages list is held before inserting a page into the balloon device.
97 list_add(&page->lru, &balloon->pages);
106 * pages list is held before deleting a page from the balloon device.
141 list_add(&page->lru, &balloon->pages);
164 static inline void balloon_page_push(struct list_head *pages, struct page *page)
166 list_add(&page->lru, pages);
176 static inline struct page *balloon_page_pop(struct list_head *pages)
178 struct page *page = list_first_entry_or_null(pages, struct page, lru);