Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/virtio/
Dvirtio_balloon.c30 #define VIRTIO_BALLOON_PAGES_PER_PAGE (unsigned)(PAGE_SIZE >> VIRTIO_BALLOON_PFN_SHIFT) macro
142 return pfn * VIRTIO_BALLOON_PAGES_PER_PAGE; in page_to_balloon_pfn()
200 BUILD_BUG_ON(VIRTIO_BALLOON_PAGES_PER_PAGE > VIRTIO_BALLOON_ARRAY_PFNS_MAX); in set_page_pfns()
206 for (i = 0; i < VIRTIO_BALLOON_PAGES_PER_PAGE; i++) in set_page_pfns()
222 num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE) { in fill_balloon()
228 VIRTIO_BALLOON_PAGES_PER_PAGE); in fill_balloon()
245 vb->num_pages += VIRTIO_BALLOON_PAGES_PER_PAGE; in fill_balloon()
249 vb->num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE; in fill_balloon()
289 vb->num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE) { in leak_balloon()
295 vb->num_pages -= VIRTIO_BALLOON_PAGES_PER_PAGE; in leak_balloon()
[all …]