Home
last modified time | relevance | path

Searched refs:VIRTIO_BALLOON_PAGES_PER_PAGE (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/virtio/
Dvirtio_balloon.c27 #define VIRTIO_BALLOON_PAGES_PER_PAGE (unsigned int)(PAGE_SIZE >> VIRTIO_BALLOON_PFN_SHIFT) macro
143 return pfn * VIRTIO_BALLOON_PAGES_PER_PAGE; in page_to_balloon_pfn()
231 BUILD_BUG_ON(VIRTIO_BALLOON_PAGES_PER_PAGE > VIRTIO_BALLOON_ARRAY_PFNS_MAX); in set_page_pfns()
237 for (i = 0; i < VIRTIO_BALLOON_PAGES_PER_PAGE; i++) in set_page_pfns()
253 num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE) { in fill_balloon()
259 VIRTIO_BALLOON_PAGES_PER_PAGE); in fill_balloon()
276 vb->num_pages += VIRTIO_BALLOON_PAGES_PER_PAGE; in fill_balloon()
280 vb->num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE; in fill_balloon()
320 vb->num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE) { in leak_balloon()
326 vb->num_pages -= VIRTIO_BALLOON_PAGES_PER_PAGE; in leak_balloon()
[all …]