Lines Matching refs:VIRTIO_BALLOON_PAGES_PER_PAGE
27 #define VIRTIO_BALLOON_PAGES_PER_PAGE (unsigned int)(PAGE_SIZE >> VIRTIO_BALLOON_PFN_SHIFT) macro
135 return pfn * VIRTIO_BALLOON_PAGES_PER_PAGE; in page_to_balloon_pfn()
193 BUILD_BUG_ON(VIRTIO_BALLOON_PAGES_PER_PAGE > VIRTIO_BALLOON_ARRAY_PFNS_MAX); in set_page_pfns()
199 for (i = 0; i < VIRTIO_BALLOON_PAGES_PER_PAGE; i++) in set_page_pfns()
215 num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE) { in fill_balloon()
221 VIRTIO_BALLOON_PAGES_PER_PAGE); in fill_balloon()
238 vb->num_pages += VIRTIO_BALLOON_PAGES_PER_PAGE; in fill_balloon()
242 vb->num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE; in fill_balloon()
282 vb->num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE) { in leak_balloon()
288 vb->num_pages -= VIRTIO_BALLOON_PAGES_PER_PAGE; in leak_balloon()
402 target = ALIGN(num_pages, VIRTIO_BALLOON_PAGES_PER_PAGE); in towards_target()
787 vb->num_pfns = VIRTIO_BALLOON_PAGES_PER_PAGE; in virtballoon_migratepage()
795 vb->num_pfns = VIRTIO_BALLOON_PAGES_PER_PAGE; in virtballoon_migratepage()
846 VIRTIO_BALLOON_PAGES_PER_PAGE; in virtio_balloon_oom_notify()